-
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.
Change assertion that element exists on the current page by its label #…
- Loading branch information
1 parent
b83d734
commit 7e7c310
Showing
3 changed files
with
13 additions
and
21 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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
Feature: An example to test seeing for a specific element on current page | ||
Feature: An example to test seeing for a specific element on current page by its label | ||
As a user | ||
I want to make sure that when I'm on a particular page, I should see a specific element | ||
I want to make sure that when I'm on a particular page, I should see a specific element by its label | ||
|
||
Scenario: Check to test seeing for a specific element | ||
Given I am on "/about-us.html" | ||
Then I should see a "body" element | ||
And I should see a "#paragraphid" element | ||
Scenario: Check to test seeing for a specific element by its label | ||
Given I am on "/test--then--i-should--see-text-in-element.html" | ||
Then I should see a "Username" element | ||
And I should see a "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
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