Page MenuHomePhabricator
Paste P14567

master with chromedriver
ArchivedPublic

Authored by zeljkofilipin on Mar 2 2021, 6:38 PM.
~/Documents/gerrit/mediawiki/core$ git branch
* master
~/Documents/gerrit/mediawiki/core$ chromedriver --url-base=wd/hub --port=4444 &
[1] 6455
Starting ChromeDriver 88.0.4324.96 (68dba2d8a0b149a1d3afac56fa74648032bcf46b-refs/branch-heads/4324@{#1784}) on port 4444
Only local connections are allowed.
Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
ChromeDriver was started successfully.
~/Documents/gerrit/mediawiki/core$ npm run selenium-test
> @ selenium-test /Users/z/Documents/gerrit/mediawiki/core
> wdio ./tests/selenium/wdio.conf.js
Execution of 6 spec files started at 2021-03-02T18:35:11.600Z
[0-0] RUNNING in chrome - /tests/selenium/wdio-mediawiki/specs/BlankPage.js
[0-0] (node:6614) DeprecationWarning: Got: "options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"
[0-0]
Screenshot location: /Users/z/Documents/gerrit/mediawiki/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:6811) DeprecationWarning: Got: "options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"
[0-1] [19:35:25] [S] [MWBOT] Login successful: Admin@http://localhost:8080/w
[0-1]
Screenshot location: /Users/z/Documents/gerrit/mediawiki/core/tests/selenium/log/Page-should-be-previewable.png
[0-1]
Screenshot location: /Users/z/Documents/gerrit/mediawiki/core/tests/selenium/log/Page-should-be-creatable.png
[0-1]
Screenshot location: /Users/z/Documents/gerrit/mediawiki/core/tests/selenium/log/Page-should-be-re-creatable.png
[0-1]
Screenshot location: /Users/z/Documents/gerrit/mediawiki/core/tests/selenium/log/Page-should-be-editable-%40daily.png
[0-1]
Screenshot location: /Users/z/Documents/gerrit/mediawiki/core/tests/selenium/log/Page-should-have-history-%40daily.png
[0-1]
Screenshot location: /Users/z/Documents/gerrit/mediawiki/core/tests/selenium/log/Page-should-be-deletable.png
[0-1]
Screenshot location: /Users/z/Documents/gerrit/mediawiki/core/tests/selenium/log/Page-should-be-restorable.png
[0-1]
Screenshot location: /Users/z/Documents/gerrit/mediawiki/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:7071) 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:7080) DeprecationWarning: Got: "options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"
[0-3] [19:36:20] [S] [MWBOT] Login successful: Admin@http://localhost:8080/w
[0-3]
Screenshot location: /Users/z/Documents/gerrit/mediawiki/core/tests/selenium/log/Special%3ARecentChanges-shows-page-creation.png
[0-3] PASSED in chrome - /tests/selenium/specs/specialrecentchanges.js
[0-4] RUNNING in chrome - /tests/selenium/specs/specialwatchlist.js
[0-4] (node:7091) DeprecationWarning: Got: "options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"
[0-4] [19:36:28] [S] [MWBOT] Login successful: Admin@http://localhost:8080/w
[0-4]
Screenshot location: /Users/z/Documents/gerrit/mediawiki/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:7101) DeprecationWarning: Got: "options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"
[0-5] [19:36:42] [S] [MWBOT] Login successful: Admin@http://localhost:8080/w
[0-5]
Screenshot location: /Users/z/Documents/gerrit/mediawiki/core/tests/selenium/log/User-should-be-able-to-create-account.png
[0-5]
Screenshot location: /Users/z/Documents/gerrit/mediawiki/core/tests/selenium/log/User-should-be-able-to-log-in-%40daily.png
[0-5] (node:7101) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open '/Users/z/Documents/gerrit/mediawiki/core/tests/selenium/log/rawSeleniumVideoGrabs/User--should-be-able-to-log-in-daily--CHROME--03-02-2021--19-36-48-997/0006.png'
at Object.openSync (fs.js:443:3)
at Object.writeFileSync (fs.js:1194:35)
at Video.onTestEnd (/Users/z/Documents/gerrit/mediawiki/core/node_modules/wdio-video-reporter/dist/wdio-video-reporter.js:584:19)
at Video.WDIOReporter.on (/Users/z/Documents/gerrit/mediawiki/core/node_modules/wdio-video-reporter/node_modules/@wdio/reporter/build/index.js:133:18)
at reporters.forEach.reporter (/Users/z/Documents/gerrit/mediawiki/core/node_modules/@wdio/runner/build/reporter.js:38:49)
at Array.forEach (<anonymous>)
at BaseReporter.emit (/Users/z/Documents/gerrit/mediawiki/core/node_modules/@wdio/runner/build/reporter.js:38:20)
at MochaAdapter.emit (/Users/z/Documents/gerrit/mediawiki/core/node_modules/@wdio/mocha-framework/build/index.js:258:19)
at /Users/z/Documents/gerrit/mediawiki/core/node_modules/mocha/lib/runner.js:779:14
at done (/Users/z/Documents/gerrit/mediawiki/core/node_modules/mocha/lib/runnable.js:314:5)
at /Users/z/Documents/gerrit/mediawiki/core/node_modules/mocha/lib/runnable.js:379:11
[0-5] (node:7101) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:7101) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
[0-5] (node:7101) PromiseRejectionHandledWarning: Promise rejection was handled asynchronously (rejection id: 1)
[0-5] PASSED in chrome - /tests/selenium/specs/user.js
"dot" Reporter:
....................
Spec Files: 6 passed, 6 total (100% completed) in 00:01:44