-
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.
Add a step definition when I click link by the attribute name #141
- Loading branch information
1 parent
29cff3f
commit eeb7070
Showing
2 changed files
with
20 additions
and
4 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
tests/features/test--when--i-click-link-by-attribute.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,16 @@ | ||
Feature: An example to click link by its attribute | ||
|
||
As a tester | ||
I want to be able to click link by its attribute | ||
|
||
Scenario: Check click link by class attribute | ||
Given I am on "/test--when--i-click-link.html" | ||
When I click "aboutUs" by "class" attr | ||
And I wait max of 2 seconds | ||
Then I should see "About Us" | ||
|
||
Scenario: Check click link by its id attribute | ||
Given I am on "/test--when--i-click-link.html" | ||
When I click "aboutUsid" by its "id" attribute | ||
And I wait max of 2 seconds | ||
Then I should see "About Us" |
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