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

       Web browser: Google Chrome
            Bug ID: 56567
           Summary: reasoning about javascript loading and test failures
           Product: VisualEditor
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Keywords: browser-test-bug
          Severity: normal
          Priority: Unprioritized
         Component: General
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

Created attachment 13690
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=13690&action=edit
abnormal load.php requests

this is essentially the same problem as shown with UploadWizard in
https://bugzilla.wikimedia.org/show_bug.cgi?id=56483

When run in the Sauce Labs environment, tests for VisualEditor for Chrome
display many many calls to ResourceLoader that are not shown in normal
operation, nor in a browser test in a local environment.  

At least some of these calls to load.php fail with javascript errors, thus
causing VE to fail and the test to fail.  

One recent example is shown at
https://wmf.ci.cloudbees.com/job/VisualEditor-en.wikipedia.beta.wmflabs.org-linux-chrome/117/testReport/junit/(root)/VisualEditor%20Links/Enter_non_existing_link/

Here we see two distinct calls for the same code at ext.echo.alert, the second
of which fails, see screen shot.  In detail, the first call succeeds, the
second fails:

[200 OK] GET
http://bits.beta.wmflabs.org/en.wikipedia.beta.wmflabs.org/load.php?debug=false&lang=en&modules=ext.echo.alert%2Cbase%2Cdesktop%2Coverlay&skin=vector&version=20131021T193233Z&*

[200 OK] GET
http://bits.beta.wmflabs.org/en.wikipedia.beta.wmflabs.org/load.php?debug=false&lang=en&modules=ext.echo.alert%2Cbase%2Cdesktop%2Coverlay&skin=vector&version=20131021T193233Z&*
Uncaught SyntaxError: Unexpected token ILLEGAL 

Also in this particular run of the test find VE loading up code for
ArticleFeedback and for Gadget code for DelAutoDropdown.  VE loading gadget
code in normal operation has been documented, see screen shot for
invisible_iframe

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

Reply via email to