Page MenuHomePhabricator

login method not honoring when_present timeout value
Closed, ResolvedPublic

Description

In the mediawiki_selenium gem login_page.rb line 35 is:

logout_element.when_present(10) if wait_for_logout_element


However, some tests clearly fail to honor the 10 second timeout value

https://wmf.ci.cloudbees.com/job/browsertests-en.wikipedia.beta.wmflabs.org-windows-internet_explorer_10/578/testReport/(root)/Edit/Go_to_edit_page/

for example fails with

timed out after 5 seconds, waiting for {:href=>/Special:UserLogout/, :tag_name=>"a"} to become present (Watir::Wait::TimeoutError)

and the gem login method is clearly being called correctly.


Version: unspecified
Severity: normal

Details

Reference
bz63826