-
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 assertion that input text contains a specific value to be by i…
…ts label #153
- Loading branch information
1 parent
5b7aee0
commit 14dc2f1
Showing
2 changed files
with
18 additions
and
5 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
tests/features/test--then--i-should--see-text-in-element.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,10 @@ | ||
Feature: An example to test whether an input text contains a certain text by its label | ||
As a tester | ||
I want to be able to check an element contains a certain text or not | ||
|
||
Scenario: Check an element if it contains a specific text | ||
Given I am on "/test--then--i-should--not--see-text-in-element.html" | ||
When I fill in "Username" with "user1" | ||
And I fill in "Password" with "1234" | ||
Then I should see "user1" in the "Username" element | ||
And I should see "1234" in the "Password" element |
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