-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SFR-2077: Language Filter Validation (#519)
* SFR-2077/validate_langiage_filter * SFR-2077-Languag-Filter * adding an extra line for github to stop complainig
- Loading branch information
Showing
3 changed files
with
43 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,37 @@ | ||
Feature: Language Filter | ||
|
||
Scenario: As a user I filter search results by a particular language and the first search result contains that language | ||
Scenario: As a user I filter search results by a Latin language and the first search result contains that language | ||
Given I go to the "home" page | ||
When I fill in the "homepage search box" with "New York" | ||
And I click the "search button" | ||
And I click the "Latin language checkbox" | ||
Then the "first search result language" should be displayed | ||
Then the "first search result Latin language" should be displayed | ||
|
||
|
||
Scenario: As a user I filter search results by a Spanish language and the first search result contains that language | ||
Given I go to the "home" page | ||
When I fill in the "homepage search box" with "New York" | ||
And I click the "search button" | ||
And I click the "Spanish language checkbox" | ||
Then the "first search result Spanish language" should be displayed | ||
|
||
Scenario: As a user I filter search results by a Japanese language and the first search result contains that language | ||
Given I go to the "home" page | ||
When I fill in the "homepage search box" with "New York" | ||
And I click the "search button" | ||
And I click the "Japanese language checkbox" | ||
Then the "first search result Japanese language" should be displayed | ||
|
||
Scenario: As a user I filter search results by a Polish language and the first search result contains that language | ||
Given I go to the "home" page | ||
When I fill in the "homepage search box" with "Poland" | ||
And I click the "search button" | ||
And I click the "Polish language checkbox" | ||
Then the "first search result Polish language" should be displayed | ||
|
||
Scenario: As a user I filter search results by a Portuguese language and the first search result contains that language | ||
Given I go to the "home" page | ||
When I fill in the "homepage search box" with "Lisbon" | ||
And I click the "search button" | ||
And I click the "Portuguese language checkbox" | ||
Then the "first search result Portuguese language" should be displayed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters