Skip to content

Commit

Permalink
MDL-66979 behat: Remove unnecessary steps which fail
Browse files Browse the repository at this point in the history
These steps were completely pointless and were failing with the W3C
Webdriver becuase focus was never on the Update Profile button in the
first place.

At a minimum we should remove the Focus change step as it not valid, but
the following step is also pointless.
  • Loading branch information
andrewnicols committed Jan 22, 2021
1 parent dd8d8c7 commit 653fb18
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions admin/tool/behat/tests/behat/manipulate_forms.feature
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ Feature: Forms manipulation
Then the field "First name" matches value "Field value"
And the "Select a country" select box should contain "Japan"
And the field "New password" matches value "TestPass"
And I take focus off "Update profile" "button"
And I press "Update profile"

@javascript
Scenario: Expand all fieldsets and advanced elements
Expand Down

0 comments on commit 653fb18

Please sign in to comment.