-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update the step definition to fill form fields of type input Text wit…
…h the provided table according to their labels #148
- Loading branch information
1 parent
62a8ddd
commit f444651
Showing
2 changed files
with
67 additions
and
0 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
tests/features/test--when--i-fill-in-table-by-attr.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,19 @@ | ||
Feature: An example of filling the input text with value by attribute | ||
As a tester | ||
I want to be able to fill input text with value by attribute | ||
|
||
Scenario: Check fill in table of input fields by different attribute | ||
Given I am on "/test--when--i-fill-in.html" | ||
When I fill in the following: by attr | ||
| uname | John Smith | | ||
| pwordcss | 1234 | | ||
When I press "Login" | ||
Then I should see "You enter Username: John Smith and Password: 1234" | ||
|
||
Scenario: Check fill in table of input fields by specific attribute | ||
Given I am on "/test--when--i-fill-in.html" | ||
When I fill in the following: by its "placeholder" attribute | ||
| Your full name | John Smith | | ||
| Your Password | 1234 | | ||
When I press "Login" | ||
Then I should see "You enter Username: John Smith and Password: 1234" |
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