-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
the html layout of search results doesn't change too often (compared to Google)
- Loading branch information
Showing
6 changed files
with
29 additions
and
45 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 |
---|---|---|
|
@@ -4,5 +4,5 @@ | |
import org.junit.runner.RunWith; | ||
|
||
@RunWith(Cucumber.class) | ||
public class GoogleTest { | ||
public class SearchTest { | ||
} |
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
8 changes: 0 additions & 8 deletions
8
src/test/resources/org/selenide/examples/cucumber/google-image-search.feature
This file was deleted.
Oops, something went wrong.
8 changes: 8 additions & 0 deletions
8
src/test/resources/org/selenide/examples/cucumber/image-search.feature
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Feature: Image search | ||
|
||
Scenario: user can search images by keyword | ||
|
||
Given an open browser with duckduckgo.com | ||
When enter a keyword "selenide" in input field | ||
And click "Images" link | ||
Then at least top 10 matching images should be shown |
8 changes: 4 additions & 4 deletions
8
...mples/cucumber/google-text-search.feature → ...ide/examples/cucumber/text-search.feature
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,15 +1,15 @@ | ||
Feature: Google text search | ||
Feature: Text search | ||
|
||
Scenario: user can search any keyword | ||
|
||
Given an open browser with google.com | ||
Given an open browser with duckduckgo.com | ||
When a keyword "selenide" is entered in input field | ||
Then at least top 1 matches should be shown | ||
Then the first one should contain "selenide.org" | ||
|
||
Scenario: user can search any keyword in Russian | ||
|
||
Given an open browser with google.com | ||
Given an open browser with duckduckgo.com | ||
When a keyword "селенид тесты" is entered in input field | ||
Then at least top 1 matches should be shown | ||
Then the first one should contain "selenide.org" | ||
Then the first one should contain "Selenide" |