-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
76 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
Feature: Within and type | ||
Scenario: key.when.withinElement.withRoleBased and click | ||
Given I visit path "https://e2e-test-quest.github.io/weather-app/?isStarted=true" | ||
And I click on button named "Add new town" | ||
When within the element with selector "#new-town-name" | ||
And I type the sentence "why always me ?" | ||
And I reset context | ||
And I should see a text box named "Town name" and containing "why always me ?" | ||
And within a spin button named "Latitude" | ||
And I enter the value "15" | ||
And I reset context | ||
Then I should see a spin button named "Latitude" and containing "15" | ||
|
||
|
||
Scenario: key.when.withinElement.selector and click | ||
Given I visit path "https://e2e-test-quest.github.io/weather-app/?isStarted=true" | ||
And I click on button named "Add new town" | ||
When within the element with selector "#new-town-name" | ||
And I type the sentence "why always me ?" | ||
And I reset context | ||
And I should see a text box named "Town name" and containing "why always me ?" | ||
And within the element with selector "#new-town-latitude" | ||
And I enter the value "15" | ||
And I reset context | ||
Then I should see a spin button named "Latitude" and containing "15" |
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
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,25 @@ | ||
Feature: Within and type | ||
Scenario: key.when.withinElement.withRoleBased and click | ||
Given I visit path "https://e2e-test-quest.github.io/weather-app/?isStarted=true" | ||
And I click on button named "Add new town" | ||
When within the element with selector "#new-town-name" | ||
And I type the sentence "why always me ?" | ||
And I reset context | ||
And I should see a text box named "Town name" and containing "why always me ?" | ||
And within a spin button named "Latitude" | ||
And I enter the value "15" | ||
And I reset context | ||
Then I should see a spin button named "Latitude" and containing "15" | ||
|
||
|
||
Scenario: key.when.withinElement.selector and click | ||
Given I visit path "https://e2e-test-quest.github.io/weather-app/?isStarted=true" | ||
And I click on button named "Add new town" | ||
When within the element with selector "#new-town-name" | ||
And I type the sentence "why always me ?" | ||
And I reset context | ||
And I should see a text box named "Town name" and containing "why always me ?" | ||
And within the element with selector "#new-town-latitude" | ||
And I enter the value "15" | ||
And I reset context | ||
Then I should see a spin button named "Latitude" and containing "15" |
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
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