https://bugzilla.wikimedia.org/show_bug.cgi?id=40894
Web browser: ---
Bug #: 40894
Summary: MobileFrontend: QUnit tests brokened
Product: MediaWiki extensions
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: MobileFrontend
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected],
[email protected]
Classification: Unclassified
Mobile Platform: ---
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)
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l