https://bugzilla.wikimedia.org/show_bug.cgi?id=63826

            Bug ID: 63826
           Summary: login method not honoring when_present timeout value
           Product: Wikimedia
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Quality Assurance
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: cmcma...@wikimedia.org
                CC: cmcma...@wikimedia.org, zfili...@wikimedia.org
       Web browser: ---
   Mobile Platform: ---

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to