Page MenuHomePhabricator
Paste P12979

Assertion error "Special:RecentChanges shows page creation"
ActivePublic

Authored by Hulya on Oct 13 2020, 5:33 PM.
(base) Hulyas-MBP:core hulyakarakaya$ npm run selenium
> @ selenium /Users/hulyakarakaya/core
> bash ./tests/selenium/selenium.sh
Starting ChromeDriver 86.0.4240.22 (398b0743353ff36fb1b82468f63a3a93b4e2e89e-refs/branch-heads/4240@{#378}) on port 4444
Only local connections are allowed.
Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
[1602610188.548][SEVERE]: bind() failed: Address already in use (48)
IPv4 port not available. Exiting...
> @ selenium-test /Users/hulyakarakaya/core
> wdio ./tests/selenium/wdio.conf.js
Execution of 6 spec files started at 2020-10-13T17:29:50.181Z
[0-0] RUNNING in chrome - /tests/selenium/wdio-mediawiki/specs/BlankPage.js
[0-0] (node:13018) DeprecationWarning: Got: "options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"
[0-0]
Screenshot location: /Users/hulyakarakaya/core/tests/selenium/log/BlankPage-should-have-its-title-%40daily.png
[0-0] PASSED in chrome - /tests/selenium/wdio-mediawiki/specs/BlankPage.js
[0-1] RUNNING in chrome - /tests/selenium/specs/page.js
[0-1] (node:13036) DeprecationWarning: Got: "options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"
[0-1] [10:29:57] [S] [MWBOT] Login successful: Admin@http://localhost:8080/w
[0-1]
Screenshot location: /Users/hulyakarakaya/core/tests/selenium/log/Page-should-be-previewable.png
[0-1]
Screenshot location: /Users/hulyakarakaya/core/tests/selenium/log/Page-should-be-creatable.png
[0-1]
Screenshot location: /Users/hulyakarakaya/core/tests/selenium/log/Page-should-be-re-creatable.png
[0-1]
Screenshot location: /Users/hulyakarakaya/core/tests/selenium/log/Page-should-be-editable-%40daily.png
[0-1]
Screenshot location: /Users/hulyakarakaya/core/tests/selenium/log/Page-should-have-history-%40daily.png
[0-1]
Screenshot location: /Users/hulyakarakaya/core/tests/selenium/log/Page-should-be-deletable.png
[0-1]
Screenshot location: /Users/hulyakarakaya/core/tests/selenium/log/Page-should-be-restorable.png
[0-1]
Screenshot location: /Users/hulyakarakaya/core/tests/selenium/log/Page-should-be-undoable.png
[0-1] PASSED in chrome - /tests/selenium/specs/page.js
[0-2] RUNNING in chrome - /tests/selenium/specs/rollback.js
[0-2] (node:13389) DeprecationWarning: Got: "options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"
[0-2] PASSED in chrome - /tests/selenium/specs/rollback.js
[0-3] RUNNING in chrome - /tests/selenium/specs/specialrecentchanges.js
[0-3] (node:13451) DeprecationWarning: Got: "options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"
[0-3] [10:31:01] [S] [MWBOT] Login successful: Admin@http://localhost:8080/w
[0-3]
Screenshot location: /Users/hulyakarakaya/core/tests/selenium/log/Special%3ARecentChanges-shows-page-creation.png
[0-3] AssertionError in "Special:RecentChanges shows page creation"
Expected values to be strictly equal:
+ actual - expected
+ 'BeforeEach-name-0.05954806712800753-Iñtërnâtiônàlizætiøn'
- '0.911028548616923-Iñtërnâtiônàlizætiøn'
[0-3] FAILED in chrome - /tests/selenium/specs/specialrecentchanges.js
[0-4] RUNNING in chrome - /tests/selenium/specs/specialwatchlist.js
[0-4] (node:13504) DeprecationWarning: Got: "options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"
[0-4] [10:31:10] [S] [MWBOT] Login successful: Admin@http://localhost:8080/w
[0-4]
Screenshot location: /Users/hulyakarakaya/core/tests/selenium/log/Special%3AWatchlist-should-show-page-with-new-edit.png
[0-4] PASSED in chrome - /tests/selenium/specs/specialwatchlist.js
[0-5] RUNNING in chrome - /tests/selenium/specs/user.js
[0-5] (node:13569) DeprecationWarning: Got: "options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"
[0-5] [10:31:27] [S] [MWBOT] Login successful: Admin@http://localhost:8080/w
[0-5]
Screenshot location: /Users/hulyakarakaya/core/tests/selenium/log/User-should-be-able-to-create-account.png
[0-5]
Screenshot location: /Users/hulyakarakaya/core/tests/selenium/log/User-should-be-able-to-log-in-%40daily.png
[0-5] PASSED in chrome - /tests/selenium/specs/user.js
"dot" Reporter:
...............F....
Spec Files: 5 passed, 1 failed, 6 total (100% completed) in 00:01:50
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ selenium-test: `wdio ./tests/selenium/wdio.conf.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ selenium-test script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/hulyakarakaya/.npm/_logs/2020-10-13T17_31_40_739Z-debug.log
./tests/selenium/selenium.sh: line 16: kill: (13012) - No such process
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ selenium: `bash ./tests/selenium/selenium.sh`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ selenium script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/hulyakarakaya/.npm/_logs/2020-10-13T17_31_40_787Z-debug.log
(base) Hulyas-MBP:core hulyakarakaya$