Skip to content

Commit

Permalink
Add a step definition when I press value by the attribute name #140
Browse files Browse the repository at this point in the history
  • Loading branch information
TasneemNatshah committed Jul 7, 2024
1 parent 4d50b12 commit 31e5756
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ Feature: An example to test if the field contains certain value
Given I am on "/test--then--i-should--not--see-text-in-element.html"
And I fill in "#uname" with "user1"
Then the "#uname" field should contain "user1"
When I press "Reset"
When I press "Reset" by attr
And I fill in "#uname" with "user2"
Then the "#uname" field should not contain "user1"
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Feature: An example to select option from drop down list
Scenario: Check of selecting option from drop down list
Given I am on "/test--when--i-select-option-from-dropdownlist.html"
When I select "Saab" from "cars"
When I press "Check select"
When I press "Check select" by attr
Then I should see "Option ( Saab ) has been selected successfully"


0 comments on commit 31e5756

Please sign in to comment.