Last modified: 2014-02-12 23:52:49 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 T42894, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 40894 - MobileFrontend: QUnit tests brokened
MobileFrontend: QUnit tests brokened
Status: RESOLVED FIXED
Product: MobileFrontend
Classification: Unclassified
stable (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-10-09 15:31 UTC by Sam Reed (reedy)
Modified: 2014-02-12 23:52 UTC (History)
9 users (show)

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


Attachments

Description Sam Reed (reedy) 2012-10-09 15:31:02 UTC
I fixed numerous file renames in https://gerrit.wikimedia.org/r/#/c/27302/

beta_opensearch tests were commented out, as the source file doesn't seem to exist. If this is the case, I guess its test file should also be deleted, and remove the line from the search file

There are however, still numerous other test failures

MobileFrontend settings.js: cookies: read and write cookies (1, 0, 1)Rerun
Died on test #1     at http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_settings.js:4:1
    at http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_settings.js:28:2: Cannot call method 'writeCookie' of undefined
Source: 	
TypeError: Cannot call method 'writeCookie' of undefined
    at Object.cookie_name (http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_settings.js:6:7)
MobileFrontend settings.js: cookies: read and write cookies with spaces (1, 0, 1)Rerun
Died on test #1     at http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_settings.js:12:1
    at http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_settings.js:28:2: Cannot call method 'writeCookie' of undefined
Source: 	
TypeError: Cannot call method 'writeCookie' of undefined
    at Object.cookie_name (http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_settings.js:14:7)
MobileFrontend settings.js: cookies: remove cookie via write (1, 0, 1)Rerun
Died on test #1     at http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_settings.js:21:1
    at http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_settings.js:28:2: Cannot call method 'writeCookie' of undefined
Source: 	
TypeError: Cannot call method 'writeCookie' of undefined
    at Object.<anonymous> (http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_settings.js:23:7)
MobileFrontend banner.js: notifications: MobileFrontend banner.js: dismiss notification (3, 0, 3)Rerun
Setup failed on MobileFrontend banner.js: dismiss notification: Cannot call method 'removeCookie' of undefined
Source: 	
    at Object.module.setup (http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_banner.js:6:12)
Died on test #2     at http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_banner.js:14:1
    at http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_banner.js:29:2: Cannot call method 'getUserSetting' of undefined
Source: 	
TypeError: Cannot call method 'getUserSetting' of undefined
    at Object.<anonymous> (http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_banner.js:17:25)
Teardown failed on MobileFrontend banner.js: dismiss notification: Cannot call method 'removeCookie' of undefined
Source: 	
    at Object.module.teardown (http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_banner.js:10:12)
MobileFrontend toggle.js: wm_toggle_section: wm_toggle_section (3, 0, 3)Rerun
Setup failed on wm_toggle_section: Cannot call method 'init' of undefined
Source: 	
    at Object.module.setup (http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_toggle.js:5:14)
openSection class present
Expected: 	
true
Result: 	
false
Diff: 	
true false 
Source: 	
    at Object.module.setup (http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_toggle.js:14:2)
Died on test #3     at http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_toggle.js:13:1
    at http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_toggle.js:77:2: Cannot call method 'wm_toggle_section' of undefined
Source: 	
TypeError: Cannot call method 'wm_toggle_section' of undefined
    at Object.module.setup (http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_toggle.js:15:13)
MobileFrontend toggle.js: wm_toggle_section: clicking a hash link to reveal an already open section (3, 0, 3)Rerun
Setup failed on clicking a hash link to reveal an already open section: Cannot call method 'init' of undefined
Source: 	
    at Object.module.setup (http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_toggle.js:5:14)
check section is open
Expected: 	
true
Result: 	
false
Diff: 	
true false 
Source: 	
    at Object.module.setup (http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_toggle.js:28:2)
Died on test #3     at http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_toggle.js:27:1
    at http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_toggle.js:77:2: Cannot call method 'wm_reveal_for_hash' of undefined
Source: 	
TypeError: Cannot call method 'wm_reveal_for_hash' of undefined
    at Object.module.setup (http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_toggle.js:29:13)
MobileFrontend toggle.js: wm_toggle_section: wm_reveal_for_hash (2, 0, 2)Rerun
Setup failed on wm_reveal_for_hash: Cannot call method 'init' of undefined
Source: 	
    at Object.module.setup (http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_toggle.js:5:14)
Died on test #2     at http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_toggle.js:33:1
    at http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_toggle.js:77:2: Cannot call method 'wm_reveal_for_hash' of undefined
Source: 	
TypeError: Cannot call method 'wm_reveal_for_hash' of undefined
    at Object.module.setup (http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_toggle.js:34:13)
MobileFrontend toggle.js: wm_toggle_section: clicking hash links (4, 0, 4)Rerun
Setup failed on clicking hash links: Cannot call method 'init' of undefined
Source: 	
    at Object.module.setup (http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_toggle.js:5:14)
check content is visible on a toggle
Expected: 	
true
Result: 	
false
Diff: 	
true false 
Source: 	
    at Object.<anonymous> (http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_toggle.js:42:2)
check anchor is visible on toggle
Expected: 	
true
Result: 	
false
Diff: 	
true false 
Source: 	
    at Object.<anonymous> (http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_toggle.js:43:2)
check section marked as open
Expected: 	
true
Result: 	
false
Diff: 	
true false 
Source: 	
    at Object.<anonymous> (http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_toggle.js:44:2)
MobileFrontend toggle.js: wm_toggle_section: clicking a heading toggles it (2, 1, 3)Rerun
Setup failed on clicking a heading toggles it: Cannot call method 'init' of undefined
Source: 	
    at Object.module.setup (http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_toggle.js:5:14)
check content is shown on a toggle
Expected: 	
true
Result: 	
false
Diff: 	
true false 
Source: 	
    at Object.module.setup (http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_toggle.js:51:2)
MobileFrontend toggle.js (beta): closing sections: close a section (3, 1, 4)Rerun
Setup failed on close a section: Cannot call method 'init' of undefined
Source: 	
    at Object.module.setup (http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_toggle.js:58:14)
text has been updated
Expected: 	
""
Result: 	
"			↑Jump back a section		"
Diff: 	
"" "			↑Jump back a section		" 
Source: 	
    at Object.<anonymous> (http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_toggle.js:72:2)
it is open at start
Expected: 	
true
Result: 	
false
Diff: 	
true false 
Source: 	
    at Object.<anonymous> (http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_toggle.js:73:2)
MobileFrontend references.js: Standard (1, 0, 1)Rerun
Died on test #1     at http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_references.js:17:1
    at http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_references.js:29:3: Cannot call method 'init' of undefined
Source: 	
TypeError: Cannot call method 'init' of undefined
    at Object.<anonymous> (http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_references.js:18:28)
MobileFrontend references.js: Bug 36192 (1, 0, 1)Rerun
Died on test #1     at http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_references.js:24:1
    at http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_references.js:29:3: Cannot call method 'init' of undefined
Source: 	
TypeError: Cannot call method 'init' of undefined
    at Object.<anonymous> (http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_references.js:25:28)
MobileFrontend mf-watchlist.js: init watched article (1, 0, 1)Rerun
Died on test #1     at http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_mf-watchlist.js:34:1
    at http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_mf-watchlist.js:48:2: Cannot call method 'initWatchList' of undefined
Source: 	
TypeError: Cannot call method 'initWatchList' of undefined
    at Object.<anonymous> (http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_mf-watchlist.js:36:14)
MobileFrontend mf-watchlist.js: init unwatched article (1, 0, 1)Rerun
Died on test #1     at http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_mf-watchlist.js:41:1
    at http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_mf-watchlist.js:48:2: Cannot call method 'initWatchList' of undefined
Source: 	
TypeError: Cannot call method 'initWatchList' of undefined
    at Object.<anonymous> (http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_mf-watchlist.js:43:14)
Comment 2 Sam Reed (reedy) 2012-10-09 21:44:51 UTC
All 3 are merged
Comment 3 Sam Reed (reedy) 2012-10-09 22:46:07 UTC
MobileFrontend settings.js: cookies: read and write cookies (1, 0, 1)Rerun
Died on test #1     at http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_settings.js:4:1
    at http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_settings.js:28:2: Cannot call method 'writeCookie' of undefined
Source: 	
TypeError: Cannot call method 'writeCookie' of undefined
    at Object.cookie_name (http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_settings.js:6:7)
MobileFrontend settings.js: cookies: read and write cookies with spaces (1, 0, 1)Rerun
Died on test #1     at http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_settings.js:12:1
    at http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_settings.js:28:2: Cannot call method 'writeCookie' of undefined
Source: 	
TypeError: Cannot call method 'writeCookie' of undefined
    at Object.cookie_name (http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_settings.js:14:7)
MobileFrontend settings.js: cookies: remove cookie via write (1, 0, 1)Rerun
Died on test #1     at http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_settings.js:21:1
    at http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_settings.js:28:2: Cannot call method 'writeCookie' of undefined
Source: 	
TypeError: Cannot call method 'writeCookie' of undefined
    at Object.<anonymous> (http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_settings.js:23:7)
MobileFrontend banner.js: notifications: MobileFrontend banner.js: dismiss notification (3, 0, 3)Rerun
Setup failed on MobileFrontend banner.js: dismiss notification: Cannot call method 'removeCookie' of undefined
Source: 	
    at Object.module.setup (http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_banner.js:6:12)
Died on test #2     at http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_banner.js:14:1
    at http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_banner.js:29:2: Cannot call method 'getUserSetting' of undefined
Source: 	
TypeError: Cannot call method 'getUserSetting' of undefined
    at Object.<anonymous> (http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_banner.js:17:25)
Teardown failed on MobileFrontend banner.js: dismiss notification: Cannot call method 'removeCookie' of undefined
Source: 	
    at Object.module.teardown (http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_banner.js:10:12)
MobileFrontend toggle.js: wm_toggle_section: wm_toggle_section (3, 0, 3)Rerun
Setup failed on wm_toggle_section: Cannot call method 'init' of undefined
Source: 	
    at Object.module.setup (http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_toggle.js:5:14)
openSection class present
Expected: 	
true
Result: 	
false
Diff: 	
true false 
Source: 	
    at Object.module.setup (http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_toggle.js:14:2)
Died on test #3     at http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_toggle.js:13:1
    at http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_toggle.js:77:2: Cannot call method 'wm_toggle_section' of undefined
Source: 	
TypeError: Cannot call method 'wm_toggle_section' of undefined
    at Object.module.setup (http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_toggle.js:15:13)
MobileFrontend toggle.js: wm_toggle_section: clicking a hash link to reveal an already open section (3, 0, 3)Rerun
Setup failed on clicking a hash link to reveal an already open section: Cannot call method 'init' of undefined
Source: 	
    at Object.module.setup (http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_toggle.js:5:14)
check section is open
Expected: 	
true
Result: 	
false
Diff: 	
true false 
Source: 	
    at Object.module.setup (http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_toggle.js:28:2)
Died on test #3     at http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_toggle.js:27:1
    at http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_toggle.js:77:2: Cannot call method 'wm_reveal_for_hash' of undefined
Source: 	
TypeError: Cannot call method 'wm_reveal_for_hash' of undefined
    at Object.module.setup (http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_toggle.js:29:13)
MobileFrontend toggle.js: wm_toggle_section: wm_reveal_for_hash (2, 0, 2)Rerun
Setup failed on wm_reveal_for_hash: Cannot call method 'init' of undefined
Source: 	
    at Object.module.setup (http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_toggle.js:5:14)
Died on test #2     at http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_toggle.js:33:1
    at http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_toggle.js:77:2: Cannot call method 'wm_reveal_for_hash' of undefined
Source: 	
TypeError: Cannot call method 'wm_reveal_for_hash' of undefined
    at Object.module.setup (http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_toggle.js:34:13)
MobileFrontend toggle.js: wm_toggle_section: clicking hash links (4, 0, 4)Rerun
Setup failed on clicking hash links: Cannot call method 'init' of undefined
Source: 	
    at Object.module.setup (http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_toggle.js:5:14)
check content is visible on a toggle
Expected: 	
true
Result: 	
false
Diff: 	
true false 
Source: 	
    at Object.<anonymous> (http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_toggle.js:42:2)
check anchor is visible on toggle
Expected: 	
true
Result: 	
false
Diff: 	
true false 
Source: 	
    at Object.<anonymous> (http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_toggle.js:43:2)
check section marked as open
Expected: 	
true
Result: 	
false
Diff: 	
true false 
Source: 	
    at Object.<anonymous> (http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_toggle.js:44:2)
MobileFrontend toggle.js: wm_toggle_section: clicking a heading toggles it (2, 1, 3)Rerun
Setup failed on clicking a heading toggles it: Cannot call method 'init' of undefined
Source: 	
    at Object.module.setup (http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_toggle.js:5:14)
check content is shown on a toggle
Expected: 	
true
Result: 	
false
Diff: 	
true false 
Source: 	
    at Object.module.setup (http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_toggle.js:51:2)
MobileFrontend toggle.js (beta): closing sections: close a section (3, 1, 4)Rerun
Setup failed on close a section: Cannot call method 'init' of undefined
Source: 	
    at Object.module.setup (http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_toggle.js:58:14)
text has been updated
Expected: 	
""
Result: 	
"			↑Jump back a section		"
Diff: 	
"" "			↑Jump back a section		" 
Source: 	
    at Object.<anonymous> (http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_toggle.js:72:2)
it is open at start
Expected: 	
true
Result: 	
false
Diff: 	
true false 
Source: 	
    at Object.<anonymous> (http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_toggle.js:73:2)
MobileFrontend references.js: Standard (1, 0, 1)Rerun
Died on test #1     at http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_references.js:17:1
    at http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_references.js:29:3: Cannot call method 'init' of undefined
Source: 	
TypeError: Cannot call method 'init' of undefined
    at Object.<anonymous> (http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_references.js:18:28)
MobileFrontend references.js: Bug 36192 (1, 0, 1)Rerun
Died on test #1     at http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_references.js:24:1
    at http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_references.js:29:3: Cannot call method 'init' of undefined
Source: 	
TypeError: Cannot call method 'init' of undefined
    at Object.<anonymous> (http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_references.js:25:28)
MobileFrontend mf-watchlist.js: init watched article (1, 0, 1)Rerun
Died on test #1     at http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_mf-watchlist.js:34:1
    at http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_mf-watchlist.js:48:2: Cannot call method 'initWatchList' of undefined
Source: 	
TypeError: Cannot call method 'initWatchList' of undefined
    at Object.<anonymous> (http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_mf-watchlist.js:36:14)
MobileFrontend mf-watchlist.js: init unwatched article (1, 0, 1)Rerun
Died on test #1     at http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_mf-watchlist.js:41:1
    at http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_mf-watchlist.js:48:2: Cannot call method 'initWatchList' of undefined
Source: 	
TypeError: Cannot call method 'initWatchList' of undefined
    at Object.<anonymous> (http://192.168.0.190/w/extensionsgit/MobileFrontend/tests/js/test_mf-watchlist.js:43:14)
Comment 4 Sam Reed (reedy) 2012-10-09 23:02:26 UTC
Dear Chrome,
STOP CACHING WHATEVER IT IS THAT YOU'RE CACHING

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


Navigation
Links