Last modified: 2014-04-14 16:35:35 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T65826, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 63826 - login method not honoring when_present timeout value
login method not honoring when_present timeout value
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Quality Assurance (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Željko Filipin
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-11 17:45 UTC by Chris McMahon
Modified: 2014-04-14 16:35 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Chris McMahon 2014-04-11 17:45:45 UTC
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.
Comment 1 Gerrit Notification Bot 2014-04-14 10:20:15 UTC
Change 125700 had a related patch set uploaded by Zfilipin:
Login sometimes takes more than 5 seconds to complete

https://gerrit.wikimedia.org/r/125700
Comment 3 Gerrit Notification Bot 2014-04-14 16:35:35 UTC
Change 125700 merged by Cmcmahon:
Login sometimes takes more than 5 seconds to complete

https://gerrit.wikimedia.org/r/125700

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links