From 084973f8a2c06c7f0b27fb0c7dceb47173c10283 Mon Sep 17 00:00:00 2001 From: Andrew Nicols Date: Sun, 28 Jun 2020 19:51:35 +0800 Subject: [PATCH] MDL-66979 behat: Remove unnecessary steps which fail 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. --- admin/tool/behat/tests/behat/manipulate_forms.feature | 2 -- 1 file changed, 2 deletions(-) diff --git a/admin/tool/behat/tests/behat/manipulate_forms.feature b/admin/tool/behat/tests/behat/manipulate_forms.feature index 8e4f776fcdf..de3670d8a64 100644 --- a/admin/tool/behat/tests/behat/manipulate_forms.feature +++ b/admin/tool/behat/tests/behat/manipulate_forms.feature @@ -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