features/search_features.feature in wally-0.0.33 vs features/search_features.feature in wally-0.0.34
- old
+ new
@@ -13,13 +13,13 @@
When I search for "<query>"
Then I should see a search result link to "<feature name>" with the url "<url>"
Examples:
| query | feature name | url |
- | Sample | Sample Feature |/features/sample-feature |
- | sAmPlE | Sample Feature |/features/sample-feature |
- | @QA | Sample Feature |/features/sample-feature |
+ | Sample | Sample Feature |/projects/project/features/sample-feature |
+ | sAmPlE | Sample Feature |/projects/project/features/sample-feature |
+ | @QA | Sample Feature |/projects/project/features/sample-feature |
Scenario: Search feature narrative
Given a feature file named "sample.feature" with the contents:
"""
Feature: Sample Feature
@@ -27,41 +27,41 @@
As donkey
I want ermm I dunno.
"""
And I am on the search page
When I search for "donkey"
- Then I should see a search result link to "Sample Feature" with the url "/features/sample-feature"
+ Then I should see a search result link to "Sample Feature" with the url "/projects/project/features/sample-feature"
Scenario: Search scenario name
Given a feature file named "sample.feature" with the contents:
"""
Feature: Sample Feature
Scenario: Sample Scenario
"""
And I am on the search page
When I search for "Sample Scenario"
- Then I should see a search result link to "Sample Scenario" with the url "/features/sample-feature/scenario/sample-scenario"
+ Then I should see a search result link to "Sample Scenario" with the url "/projects/project/features/sample-feature/scenario/sample-scenario"
Scenario: Search scenario steps
Given a feature file named "sample.feature" with the contents:
"""
Feature: Sample Feature
Scenario: Sample Scenario
Given I do something
"""
And I am on the search page
When I search for "I do something"
- Then I should see a search result link to "Sample Scenario" with the url "/features/sample-feature/scenario/sample-scenario"
+ Then I should see a search result link to "Sample Scenario" with the url "/projects/project/features/sample-feature/scenario/sample-scenario"
Scenario: Search suggests other searches
Given a feature file named "sample.feature" with the contents:
"""
Feature: Batman
"""
And I am on the search page
When I search for "btman"
Then I should see "Did you mean"
- And I should see a search result link to "Batman" with the url "/search?q=Batman"
+ And I should see a search result link to "Batman" with the url "/projects/project/search?q=Batman"
Scenario: Search displays tags
Given a feature file named "sample.feature" with the contents:
"""
@feature_tag