Cmcmahon has submitted this change and it was merged.

Change subject: focus on the Login button before clicking it
......................................................................


focus on the Login button before clicking it

Change-Id: I3b44dc80b23d0de076bdb7cace10ddadfa34907b
---
M features/support/pages/login_page.rb
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Cmcmahon: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/features/support/pages/login_page.rb 
b/features/support/pages/login_page.rb
index f3296e3..8a83535 100644
--- a/features/support/pages/login_page.rb
+++ b/features/support/pages/login_page.rb
@@ -30,6 +30,7 @@
   def login_with(username, password)
     self.username_element.when_present.send_keys(username)
     self.password_element.when_present.send_keys(password)
+    login_element.fire_event('onfocus')
     login_element.when_present.click
   end
 end

-- 
To view, visit https://gerrit.wikimedia.org/r/101004
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I3b44dc80b23d0de076bdb7cace10ddadfa34907b
Gerrit-PatchSet: 1
Gerrit-Project: qa/browsertests
Gerrit-Branch: master
Gerrit-Owner: Cmcmahon <[email protected]>
Gerrit-Reviewer: Cmcmahon <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to