Bug ID: 62001
           Summary: browser readyState should be "loading" until login
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Keywords: browser-test-bug
          Severity: normal
          Priority: Unprioritized
         Component: User login and signup
       Web browser: ---
   Mobile Platform: ---

Seen in fairly recent times, particularly for Internet Explorer: 

Seen particularly in browser tests, which move quickly from logging in to a
particular URL: 

It seems that the browser readyState is moved from "loading" to either
"interactive" or "complete" before the login process finishes.  I believe this
because I see automated tests that log in, then navigate to a URL to perform
some action only to get an error message that the user is not logged in. 

I got around this by adding some code to the shared login method here to check
for complete login before the tests proceed:

However, this causes problems for tests for the Language teams because every
aspect of the user-specific signs of being logged in (Logout link, Preferences,
etc.) is localized, making it difficult or impossible to identify a generic way
to confirm login. 

It would be better to control the browser readyState properly.

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

Reply via email to