Page MenuHomePhabricator
Paste P14485

master with chromedriver
ArchivedPublic

Authored by zeljkofilipin on Feb 25 2021, 5:00 PM.
Tags
None
Referenced Files
F34122555: master with chromedriver
Feb 25 2021, 5:00 PM
Subscribers
None
~/Documents/gerrit/mediawiki/core$ git branch
* master
~/Documents/gerrit/mediawiki/core$ fresh-node -env -net
# fresh: 21.01.1 (2021-01-27)
# image: docker-registry.wikimedia.org/releng/node10-test-browser:0.6.2
# software: Debian GNU/Linux 9 (stretch)
# Node.js v10.15.2 (npm 6.14.5)
# Chromium 71.0.3578.80
# Mozilla Firefox 68.11.0esr
# JSDuck 5.3.4 (Ruby 2.3.3)
# mount: /core ➟ /Users/z/Documents/gerrit/mediawiki/core (read-write)
# /core/.git ➟ /Users/z/Documents/gerrit/mediawiki/core/.git (read-only)
# env: MW_*, MEDIAWIKI_*
# net: expose host
🌱 Fresh!
nobody@docker-desktop:/core$ chromedriver --url-base=wd/hub --port=4444 &
[1] 8
nobody@docker-desktop:/core$ Starting ChromeDriver 71.0.3578.80 on port 4444
Only local connections are allowed.
nobody@docker-desktop:/core$ npm run selenium-test
> @ selenium-test /core
> wdio ./tests/selenium/wdio.conf.js
Execution of 6 spec files started at 2021-02-25T16:56:13.449Z
(node:25) ExperimentalWarning: The dns.promises API is experimental
(node:25) ExperimentalWarning: The fs.promises API is experimental
[0-0] (node:34) ExperimentalWarning: The dns.promises API is experimental
[0-0] (node:34) ExperimentalWarning: The fs.promises API is experimental
[0-0] RUNNING in chrome - /tests/selenium/wdio-mediawiki/specs/BlankPage.js
[0-0] (node:34) DeprecationWarning: Got: "options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"
[0-0] (node:34) ExperimentalWarning: Readable[Symbol.asyncIterator] is an experimental feature. This feature could change at any time
[0-0]
Screenshot location: /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] (node:114) ExperimentalWarning: The dns.promises API is experimental
[0-1] (node:114) ExperimentalWarning: The fs.promises API is experimental
[0-1] RUNNING in chrome - /tests/selenium/specs/page.js
[0-1] (node:114) DeprecationWarning: Got: "options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"
[0-1] (node:114) ExperimentalWarning: Readable[Symbol.asyncIterator] is an experimental feature. This feature could change at any time
[0-1] [16:56:31] [S] [MWBOT] Login successful: Admin@http://localhost:8080/w
[0-1]
Screenshot location: /core/tests/selenium/log/Page-should-be-previewable.png
[0-1]
Screenshot location: /core/tests/selenium/log/Page-should-be-creatable.png
[0-1]
Screenshot location: /core/tests/selenium/log/Page-should-be-re-creatable.png
[0-1]
Screenshot location: /core/tests/selenium/log/Page-should-be-editable-%40daily.png
[0-1]
Screenshot location: /core/tests/selenium/log/Page-should-have-history-%40daily.png
[0-1]
Screenshot location: /core/tests/selenium/log/Page-should-be-deletable.png
[0-1]
Screenshot location: /core/tests/selenium/log/Page-should-be-restorable.png
[0-1]
Screenshot location: /core/tests/selenium/log/Page-should-be-undoable.png
[0-1] PASSED in chrome - /tests/selenium/specs/page.js
[0-2] (node:272) ExperimentalWarning: The dns.promises API is experimental
[0-2] (node:272) ExperimentalWarning: The fs.promises API is experimental
[0-2] RUNNING in chrome - /tests/selenium/specs/rollback.js
[0-2] (node:272) DeprecationWarning: Got: "options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"
[0-2] (node:272) ExperimentalWarning: Readable[Symbol.asyncIterator] is an experimental feature. This feature could change at any time
[0-2] PASSED in chrome - /tests/selenium/specs/rollback.js
[0-3] (node:341) ExperimentalWarning: The dns.promises API is experimental
[0-3] (node:341) ExperimentalWarning: The fs.promises API is experimental
[0-3] RUNNING in chrome - /tests/selenium/specs/specialrecentchanges.js
[0-3] (node:341) DeprecationWarning: Got: "options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"
[0-3] (node:341) ExperimentalWarning: Readable[Symbol.asyncIterator] is an experimental feature. This feature could change at any time
[0-3] [16:57:40] [S] [MWBOT] Login successful: Admin@http://localhost:8080/w
[0-3]
Screenshot location: /core/tests/selenium/log/Special%3ARecentChanges-shows-page-creation.png
[0-3] PASSED in chrome - /tests/selenium/specs/specialrecentchanges.js
[0-4] (node:419) ExperimentalWarning: The dns.promises API is experimental
[0-4] (node:419) ExperimentalWarning: The fs.promises API is experimental
[0-4] RUNNING in chrome - /tests/selenium/specs/specialwatchlist.js
[0-4] (node:419) DeprecationWarning: Got: "options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"
[0-4] (node:419) ExperimentalWarning: Readable[Symbol.asyncIterator] is an experimental feature. This feature could change at any time
[0-4] [16:57:53] [S] [MWBOT] Login successful: Admin@http://localhost:8080/w
[0-4]
Screenshot location: /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] (node:500) ExperimentalWarning: The dns.promises API is experimental
[0-5] (node:500) ExperimentalWarning: The fs.promises API is experimental
[0-5] RUNNING in chrome - /tests/selenium/specs/user.js
[0-5] (node:500) DeprecationWarning: Got: "options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"
[0-5] (node:500) ExperimentalWarning: Readable[Symbol.asyncIterator] is an experimental feature. This feature could change at any time
[0-5] [16:58:15] [S] [MWBOT] Login successful: Admin@http://localhost:8080/w
[0-5]
Screenshot location: /core/tests/selenium/log/User-should-be-able-to-create-account.png
[0-5]
Screenshot location: /core/tests/selenium/log/User-should-be-able-to-log-in-%40daily.png
[0-5] (node:500) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open '/core/tests/selenium/log/rawSeleniumVideoGrabs/User--should-be-able-to-log-in-daily--CHROME--02-25-2021--16-58-19-899/0007.png'
at Object.openSync (fs.js:439:3)
at Object.writeFileSync (fs.js:1190:35)
at Video.onTestEnd (/core/node_modules/wdio-video-reporter/dist/wdio-video-reporter.js:584:19)
at Video.WDIOReporter.on (/core/node_modules/wdio-video-reporter/node_modules/@wdio/reporter/build/index.js:133:18)
at reporters.forEach.reporter (/core/node_modules/@wdio/runner/build/reporter.js:38:49)
at Array.forEach (<anonymous>)
at BaseReporter.emit (/core/node_modules/@wdio/runner/build/reporter.js:38:20)
at MochaAdapter.emit (/core/node_modules/@wdio/mocha-framework/build/index.js:258:19)
at /core/node_modules/mocha/lib/runner.js:779:14
at done (/core/node_modules/mocha/lib/runnable.js:314:5)
at /core/node_modules/mocha/lib/runnable.js:379:11
[0-5] (node:500) 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:500) [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:500) 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:02:11