-
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
13 changed files
with
135 additions
and
18 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 |
---|---|---|
@@ -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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#language: fr | ||
Fonctionnalité: Within and type | ||
Scénario: key.when.withinElement.withRoleBased and click | ||
Etant donné que je visite l'Url "https://e2e-test-quest.github.io/weather-app/?isStarted=true" | ||
Et je clique sur le bouton nommé "Add new town" | ||
Quand je vais à l'intérieur de l'élément ayant pour sélecteur "#new-town-name" | ||
Et je saisie les mots "why always me ?" | ||
Et je reinitialise le contexte | ||
Et je dois voir une boîte à texte nommée "Town name" et contenant "why always me ?" | ||
Et je vais à l'intérieur du bouton rotatif nommé "Latitude" | ||
Et j'entre la valeur "15" | ||
Et je reinitialise le contexte | ||
Alors je dois voir un bouton rotatif nommé "Latitude" et contenant "15" | ||
|
||
|
||
Scénario: key.when.withinElement.selector and click | ||
Etant donné que je visite l'Url "https://e2e-test-quest.github.io/weather-app/?isStarted=true" | ||
Et je clique sur le bouton nommé "Add new town" | ||
Quand je vais à l'intérieur de l'élément ayant pour sélecteur "#new-town-name" | ||
Et je saisie les mots "why always me ?" | ||
Et je reinitialise le contexte | ||
Et je dois voir une boîte à texte nommée "Town name" et contenant "why always me ?" | ||
Et je vais à l'intérieur de l'élément ayant pour sélecteur "#new-town-latitude" | ||
Et j'entre la valeur "15" | ||
Et je reinitialise le contexte | ||
Alors je dois voir un bouton rotatif nommé "Latitude" et contenant "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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#language: fr | ||
Fonctionnalité: Within and type | ||
Scénario: key.when.withinElement.withRoleBased and click | ||
Etant donné que je visite l'Url "https://e2e-test-quest.github.io/weather-app/?isStarted=true" | ||
Et je clique sur le bouton nommé "Add new town" | ||
Quand je vais à l'intérieur de l'élément ayant pour sélecteur "#new-town-name" | ||
Et je saisie les mots "why always me ?" | ||
Et je reinitialise le contexte | ||
Et je dois voir une boîte à texte nommée "Town name" et contenant "why always me ?" | ||
Et je vais à l'intérieur du bouton rotatif nommé "Latitude" | ||
Et j'entre la valeur "15" | ||
Et je reinitialise le contexte | ||
Alors je dois voir un bouton rotatif nommé "Latitude" et contenant "15" | ||
|
||
|
||
Scénario: key.when.withinElement.selector and click | ||
Etant donné que je visite l'Url "https://e2e-test-quest.github.io/weather-app/?isStarted=true" | ||
Et je clique sur le bouton nommé "Add new town" | ||
Quand je vais à l'intérieur de l'élément ayant pour sélecteur "#new-town-name" | ||
Et je saisie les mots "why always me ?" | ||
Et je reinitialise le contexte | ||
Et je dois voir une boîte à texte nommée "Town name" et contenant "why always me ?" | ||
Et je vais à l'intérieur de l'élément ayant pour sélecteur "#new-town-latitude" | ||
Et j'entre la valeur "15" | ||
Et je reinitialise le contexte | ||
Alors je dois voir un bouton rotatif nommé "Latitude" et contenant "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