Page MenuHomePhabricator
Paste P14486

666946 without chromedriver
ArchivedPublic

Authored by zeljkofilipin on Feb 25 2021, 5:17 PM.
~/Documents/gerrit/mediawiki/core$ git review -d 666946
Downloading refs/changes/46/666946/1 from gerrit
Switched to branch "review/zfilipin/T269566"
~/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$ npm run selenium-test
> @ selenium-test /core
> wdio ./tests/selenium/wdio.conf.js
Execution of 6 spec files started at 2021-02-25T17:14:49.360Z
(node:19) ExperimentalWarning: The dns.promises API is experimental
(node:19) ExperimentalWarning: The fs.promises API is experimental
[0-0] (node:28) ExperimentalWarning: The dns.promises API is experimental
[0-0] (node:28) ExperimentalWarning: The fs.promises API is experimental
[0-0] RUNNING in chrome - /tests/selenium/wdio-mediawiki/specs/BlankPage.js
[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:117) ExperimentalWarning: The dns.promises API is experimental
[0-1] (node:117) ExperimentalWarning: The fs.promises API is experimental
[0-1] RUNNING in chrome - /tests/selenium/specs/page.js
[0-1] [17:15:10] [S] [MWBOT] Login successful: Admin@http://localhost:8080/w
[0-1]
Screenshot location: /core/tests/selenium/log/Page-should-be-previewable.png
[0-1] AssertionError [ERR_ASSERTION] in "Page should be previewable"
Input A expected to strictly equal input B:
+ expected - actual
- 'beforeEach-content-0.43650802759631624-Iñtërnâtiônàlizætiøn\n\n'
+ 'beforeEach-content-0.43650802759631624-Iñtërnâtiônàlizætiøn'
[0-1] Error in "Page should be creatable"
Timeout of 60000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/core/tests/selenium/specs/page.js)
[0-1] (node:117) UnhandledPromiseRejectionWarning: Error: directory (/core/tests/selenium/log/rawSeleniumVideoGrabs/Page--should-be-creatable--CHROMEHEADLESS--02-25-2021--17-15-12-890) doesn't exist
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:773:16
at Test.done [as callback] (/core/node_modules/mocha/lib/runnable.js:314:5)
at Timeout.<anonymous> (/core/node_modules/mocha/lib/runnable.js:252:10)
at ontimeout (timers.js:436:11)
[0-1] (node:117) 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: 3)
(node:117) [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-1] Error in "Page should be re-creatable"
Timeout of 60000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/core/tests/selenium/specs/page.js)
[0-1] (node:117) UnhandledPromiseRejectionWarning: Error: directory (/core/tests/selenium/log/rawSeleniumVideoGrabs/Page--should-be-creatable--CHROMEHEADLESS--02-25-2021--17-15-12-890) doesn't exist
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:773:16
at Test.done [as callback] (/core/node_modules/mocha/lib/runnable.js:314:5)
at Timeout.<anonymous> (/core/node_modules/mocha/lib/runnable.js:252:10)
at ontimeout (timers.js:436:11)
[0-1] (node:117) 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: 4)
[0-1] Error in "Page should be editable @daily"
Timeout of 60000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/core/tests/selenium/specs/page.js)
[0-1] (node:117) UnhandledPromiseRejectionWarning: Error: directory (/core/tests/selenium/log/rawSeleniumVideoGrabs/Page--should-be-creatable--CHROMEHEADLESS--02-25-2021--17-15-12-890) doesn't exist
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:773:16
at Test.done [as callback] (/core/node_modules/mocha/lib/runnable.js:314:5)
at Timeout.<anonymous> (/core/node_modules/mocha/lib/runnable.js:252:10)
at ontimeout (timers.js:436:11)
[0-1] (node:117) 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: 5)
[0-1] Error in "Page should have history @daily"
Timeout of 60000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/core/tests/selenium/specs/page.js)
[0-1] (node:117) UnhandledPromiseRejectionWarning: Error: directory (/core/tests/selenium/log/rawSeleniumVideoGrabs/Page--should-be-creatable--CHROMEHEADLESS--02-25-2021--17-15-12-890) doesn't exist
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:773:16
at Test.done [as callback] (/core/node_modules/mocha/lib/runnable.js:314:5)
at Timeout.<anonymous> (/core/node_modules/mocha/lib/runnable.js:252:10)
at ontimeout (timers.js:436:11)
(node:117) 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: 6)
[0-1] Error in "Page should be deletable"
Timeout of 60000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/core/tests/selenium/specs/page.js)
[0-1] (node:117) UnhandledPromiseRejectionWarning: Error: directory (/core/tests/selenium/log/rawSeleniumVideoGrabs/Page--should-be-creatable--CHROMEHEADLESS--02-25-2021--17-15-12-890) doesn't exist
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:773:16
at Test.done [as callback] (/core/node_modules/mocha/lib/runnable.js:314:5)
at Timeout.<anonymous> (/core/node_modules/mocha/lib/runnable.js:252:10)
at ontimeout (timers.js:436:11)
(node:117) 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: 8)
[0-1] Error in "Page should be restorable"
Timeout of 60000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/core/tests/selenium/specs/page.js)
[0-1] (node:117) UnhandledPromiseRejectionWarning: Error: directory (/core/tests/selenium/log/rawSeleniumVideoGrabs/Page--should-be-creatable--CHROMEHEADLESS--02-25-2021--17-15-12-890) doesn't exist
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:773:16
at Test.done [as callback] (/core/node_modules/mocha/lib/runnable.js:314:5)
at Timeout.<anonymous> (/core/node_modules/mocha/lib/runnable.js:252:10)
at ontimeout (timers.js:436:11)
(node:117) 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: 9)
[0-1] Error in "Page should be undoable"
Timeout of 60000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/core/tests/selenium/specs/page.js)
[0-1] (node:117) UnhandledPromiseRejectionWarning: Error: directory (/core/tests/selenium/log/rawSeleniumVideoGrabs/Page--should-be-creatable--CHROMEHEADLESS--02-25-2021--17-15-12-890) doesn't exist
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:773:16
at Test.done [as callback] (/core/node_modules/mocha/lib/runnable.js:314:5)
at Timeout.<anonymous> (/core/node_modules/mocha/lib/runnable.js:252:10)
at ontimeout (timers.js:436:11)
[0-1] (node:117) 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: 11)
[0-1] 2021-02-25T17:22:12.897Z ERROR @wdio/sync: Protocol error (Target.activateTarget): Session closed. Most likely the page has been closed.
at Page.<anonymous> (/core/node_modules/puppeteer-core/lib/helper.js:94:19)
at DevToolsDriver.takeScreenshot (/core/node_modules/devtools/build/commands/takeScreenshot.js:10:15)
at Browser.wrappedCommand (/core/node_modules/devtools/build/devtoolsdriver.js:92:47)
at Object.afterTest (/core/tests/selenium/wdio.conf.js:124:11)
[0-1] 2021-02-25T17:22:12.905Z ERROR @wdio/sync: Protocol error (Target.activateTarget): Session closed. Most likely the page has been closed.
at Page.<anonymous> (/core/node_modules/puppeteer-core/lib/helper.js:94:19)
at DevToolsDriver.takeScreenshot (/core/node_modules/devtools/build/commands/takeScreenshot.js:10:15)
at Browser.wrappedCommand (/core/node_modules/devtools/build/devtoolsdriver.js:92:47)
at Object.afterTest (/core/tests/selenium/wdio.conf.js:124:11)
[0-1] Error in "AfterTest Hook"
Protocol error (Target.activateTarget): Session closed. Most likely the page has been closed.
[0-1] Error in "AfterTest Hook"
Protocol error (Target.activateTarget): Session closed. Most likely the page has been closed.
[0-1] Error in "AfterTest Hook"
Protocol error (Target.activateTarget): Session closed. Most likely the page has been closed.
[0-1] Error in "AfterTest Hook"
Protocol error (Target.activateTarget): Session closed. Most likely the page has been closed.
[0-1] Error in "AfterTest Hook"
Protocol error (Target.activateTarget): Session closed. Most likely the page has been closed.
[0-1] Error in "AfterTest Hook"
Protocol error (Target.activateTarget): Session closed. Most likely the page has been closed.
[0-1] Error in "AfterTest Hook"
Protocol error (Target.activateTarget): Session closed. Most likely the page has been closed.
[0-1] 2021-02-25T17:22:12.907Z ERROR @wdio/sync: Protocol error (Target.activateTarget): Session closed. Most likely the page has been closed.
at Page.<anonymous> (/core/node_modules/puppeteer-core/lib/helper.js:94:19)
at DevToolsDriver.takeScreenshot (/core/node_modules/devtools/build/commands/takeScreenshot.js:10:15)
at Browser.wrappedCommand (/core/node_modules/devtools/build/devtoolsdriver.js:92:47)
at Object.afterTest (/core/tests/selenium/wdio.conf.js:124:11)
2021-02-25T17:22:12.908Z ERROR @wdio/sync: Protocol error (Target.activateTarget): Session closed. Most likely the page has been closed.
at Page.<anonymous> (/core/node_modules/puppeteer-core/lib/helper.js:94:19)
at DevToolsDriver.takeScreenshot (/core/node_modules/devtools/build/commands/takeScreenshot.js:10:15)
at Browser.wrappedCommand (/core/node_modules/devtools/build/devtoolsdriver.js:92:47)
at Object.afterTest (/core/tests/selenium/wdio.conf.js:124:11)
2021-02-25T17:22:12.909Z ERROR @wdio/sync: Protocol error (Target.activateTarget): Session closed. Most likely the page has been closed.
at Page.<anonymous> (/core/node_modules/puppeteer-core/lib/helper.js:94:19)
at DevToolsDriver.takeScreenshot (/core/node_modules/devtools/build/commands/takeScreenshot.js:10:15)
at Browser.wrappedCommand (/core/node_modules/devtools/build/devtoolsdriver.js:92:47)
at Object.afterTest (/core/tests/selenium/wdio.conf.js:124:11)
2021-02-25T17:22:12.909Z ERROR @wdio/sync: Protocol error (Target.activateTarget): Session closed. Most likely the page has been closed.
at Page.<anonymous> (/core/node_modules/puppeteer-core/lib/helper.js:94:19)
at DevToolsDriver.takeScreenshot (/core/node_modules/devtools/build/commands/takeScreenshot.js:10:15)
at Browser.wrappedCommand (/core/node_modules/devtools/build/devtoolsdriver.js:92:47)
at Object.afterTest (/core/tests/selenium/wdio.conf.js:124:11)
2021-02-25T17:22:12.909Z ERROR @wdio/sync: Protocol error (Target.activateTarget): Session closed. Most likely the page has been closed.
at Page.<anonymous> (/core/node_modules/puppeteer-core/lib/helper.js:94:19)
at DevToolsDriver.takeScreenshot (/core/node_modules/devtools/build/commands/takeScreenshot.js:10:15)
at Browser.wrappedCommand (/core/node_modules/devtools/build/devtoolsdriver.js:92:47)
at Object.afterTest (/core/tests/selenium/wdio.conf.js:124:11)
(node:117) PromiseRejectionHandledWarning: Promise rejection was handled asynchronously (rejection id: 3)
(node:117) PromiseRejectionHandledWarning: Promise rejection was handled asynchronously (rejection id: 4)
(node:117) PromiseRejectionHandledWarning: Promise rejection was handled asynchronously (rejection id: 5)
(node:117) PromiseRejectionHandledWarning: Promise rejection was handled asynchronously (rejection id: 6)
(node:117) PromiseRejectionHandledWarning: Promise rejection was handled asynchronously (rejection id: 8)
(node:117) PromiseRejectionHandledWarning: Promise rejection was handled asynchronously (rejection id: 9)
(node:117) PromiseRejectionHandledWarning: Promise rejection was handled asynchronously (rejection id: 11)
[0-1] FAILED in chrome - /tests/selenium/specs/page.js
[0-2] (node:209) ExperimentalWarning: The dns.promises API is experimental
[0-2] (node:209) ExperimentalWarning: The fs.promises API is experimental
[0-2] RUNNING in chrome - /tests/selenium/specs/rollback.js
[0-2] PASSED in chrome - /tests/selenium/specs/rollback.js
[0-3] (node:299) ExperimentalWarning: The dns.promises API is experimental
[0-3] (node:299) ExperimentalWarning: The fs.promises API is experimental
[0-3] RUNNING in chrome - /tests/selenium/specs/specialrecentchanges.js
[0-3] [17:22:38] [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:389) ExperimentalWarning: The dns.promises API is experimental
[0-4] (node:389) ExperimentalWarning: The fs.promises API is experimental
[0-4] RUNNING in chrome - /tests/selenium/specs/specialwatchlist.js
[0-4] [17:22:54] [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:478) ExperimentalWarning: The dns.promises API is experimental
[0-5] (node:478) ExperimentalWarning: The fs.promises API is experimental
[0-5] RUNNING in chrome - /tests/selenium/specs/user.js
[0-5] [17:23:16] [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] PASSED in chrome - /tests/selenium/specs/user.js
"dot" Reporter:
.FFFFFFFF...........
Spec Files: 5 passed, 1 failed, 6 total (100% completed) in 00:08:33
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! /cache/_logs/2021-02-25T17_23_23_552Z-debug.log