Page MenuHomePhabricator
Paste P14569

666946 without chromedriver
ArchivedPublic

Authored by zeljkofilipin on Mar 2 2021, 6:51 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$ 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:43:01.455Z
[0-0] RUNNING in chrome - /tests/selenium/wdio-mediawiki/specs/BlankPage.js
[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] [19:43:06] [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] 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. (/Users/z/Documents/gerrit/mediawiki/core/tests/selenium/specs/page.js)
[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. (/Users/z/Documents/gerrit/mediawiki/core/tests/selenium/specs/page.js)
[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. (/Users/z/Documents/gerrit/mediawiki/core/tests/selenium/specs/page.js)
[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. (/Users/z/Documents/gerrit/mediawiki/core/tests/selenium/specs/page.js)
[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. (/Users/z/Documents/gerrit/mediawiki/core/tests/selenium/specs/page.js)
[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. (/Users/z/Documents/gerrit/mediawiki/core/tests/selenium/specs/page.js)
[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. (/Users/z/Documents/gerrit/mediawiki/core/tests/selenium/specs/page.js)
[0-1] (node:9825) UnhandledPromiseRejectionWarning: Error: directory (/Users/z/Documents/gerrit/mediawiki/core/tests/selenium/log/rawSeleniumVideoGrabs/Page--should-be-undoable--CHROMEHEADLESS--03-02-2021--19-49-08-925) doesn't exist
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:773:16
at Test.done [as callback] (/Users/z/Documents/gerrit/mediawiki/core/node_modules/mocha/lib/runnable.js:314:5)
at Timeout.<anonymous> (/Users/z/Documents/gerrit/mediawiki/core/node_modules/mocha/lib/runnable.js:252:10)
at ontimeout (timers.js:436:11)
(node:9825) 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)
(node:9825) [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] 2021-03-02T18:50:08.961Z ERROR @wdio/sync: Protocol error (Target.activateTarget): Session closed. Most likely the page has been closed.
at Page.<anonymous> (/Users/z/Documents/gerrit/mediawiki/core/node_modules/puppeteer-core/lib/helper.js:94:19)
at DevToolsDriver.takeScreenshot (/Users/z/Documents/gerrit/mediawiki/core/node_modules/devtools/build/commands/takeScreenshot.js:10:15)
at Browser.wrappedCommand (/Users/z/Documents/gerrit/mediawiki/core/node_modules/devtools/build/devtoolsdriver.js:92:47)
at Object.afterTest (/Users/z/Documents/gerrit/mediawiki/core/tests/selenium/wdio.conf.js:124:11)
2021-03-02T18:50:08.963Z ERROR @wdio/sync: Protocol error (Target.activateTarget): Session closed. Most likely the page has been closed.
at Page.<anonymous> (/Users/z/Documents/gerrit/mediawiki/core/node_modules/puppeteer-core/lib/helper.js:94:19)
at DevToolsDriver.takeScreenshot (/Users/z/Documents/gerrit/mediawiki/core/node_modules/devtools/build/commands/takeScreenshot.js:10:15)
at Browser.wrappedCommand (/Users/z/Documents/gerrit/mediawiki/core/node_modules/devtools/build/devtoolsdriver.js:92:47)
at Object.afterTest (/Users/z/Documents/gerrit/mediawiki/core/tests/selenium/wdio.conf.js:124:11)
2021-03-02T18:50:08.963Z ERROR @wdio/sync: Protocol error (Target.activateTarget): Session closed. Most likely the page has been closed.
at Page.<anonymous> (/Users/z/Documents/gerrit/mediawiki/core/node_modules/puppeteer-core/lib/helper.js:94:19)
at DevToolsDriver.takeScreenshot (/Users/z/Documents/gerrit/mediawiki/core/node_modules/devtools/build/commands/takeScreenshot.js:10:15)
at Browser.wrappedCommand (/Users/z/Documents/gerrit/mediawiki/core/node_modules/devtools/build/devtoolsdriver.js:92:47)
at Object.afterTest (/Users/z/Documents/gerrit/mediawiki/core/tests/selenium/wdio.conf.js:124:11)
2021-03-02T18:50:08.964Z ERROR @wdio/sync: Protocol error (Target.activateTarget): Session closed. Most likely the page has been closed.
at Page.<anonymous> (/Users/z/Documents/gerrit/mediawiki/core/node_modules/puppeteer-core/lib/helper.js:94:19)
at DevToolsDriver.takeScreenshot (/Users/z/Documents/gerrit/mediawiki/core/node_modules/devtools/build/commands/takeScreenshot.js:10:15)
at Browser.wrappedCommand (/Users/z/Documents/gerrit/mediawiki/core/node_modules/devtools/build/devtoolsdriver.js:92:47)
at Object.afterTest (/Users/z/Documents/gerrit/mediawiki/core/tests/selenium/wdio.conf.js:124:11)
2021-03-02T18:50:08.965Z ERROR @wdio/sync: Protocol error (Target.activateTarget): Session closed. Most likely the page has been closed.
at Page.<anonymous> (/Users/z/Documents/gerrit/mediawiki/core/node_modules/puppeteer-core/lib/helper.js:94:19)
at DevToolsDriver.takeScreenshot (/Users/z/Documents/gerrit/mediawiki/core/node_modules/devtools/build/commands/takeScreenshot.js:10:15)
at Browser.wrappedCommand (/Users/z/Documents/gerrit/mediawiki/core/node_modules/devtools/build/devtoolsdriver.js:92:47)
at Object.afterTest (/Users/z/Documents/gerrit/mediawiki/core/tests/selenium/wdio.conf.js:124:11)
2021-03-02T18:50:08.966Z ERROR @wdio/sync: Protocol error (Target.activateTarget): Session closed. Most likely the page has been closed.
at Page.<anonymous> (/Users/z/Documents/gerrit/mediawiki/core/node_modules/puppeteer-core/lib/helper.js:94:19)
at DevToolsDriver.takeScreenshot (/Users/z/Documents/gerrit/mediawiki/core/node_modules/devtools/build/commands/takeScreenshot.js:10:15)
at Browser.wrappedCommand (/Users/z/Documents/gerrit/mediawiki/core/node_modules/devtools/build/devtoolsdriver.js:92:47)
at Object.afterTest (/Users/z/Documents/gerrit/mediawiki/core/tests/selenium/wdio.conf.js:124:11)
2021-03-02T18:50:08.966Z ERROR @wdio/sync: Protocol error (Target.activateTarget): Session closed. Most likely the page has been closed.
at Page.<anonymous> (/Users/z/Documents/gerrit/mediawiki/core/node_modules/puppeteer-core/lib/helper.js:94:19)
at DevToolsDriver.takeScreenshot (/Users/z/Documents/gerrit/mediawiki/core/node_modules/devtools/build/commands/takeScreenshot.js:10:15)
at Browser.wrappedCommand (/Users/z/Documents/gerrit/mediawiki/core/node_modules/devtools/build/devtoolsdriver.js:92:47)
at Object.afterTest (/Users/z/Documents/gerrit/mediawiki/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] (node:9825) PromiseRejectionHandledWarning: Promise rejection was handled asynchronously (rejection id: 4)
[0-1] FAILED in chrome - /tests/selenium/specs/page.js
[0-2] RUNNING in chrome - /tests/selenium/specs/rollback.js
[0-2] PASSED in chrome - /tests/selenium/specs/rollback.js
[0-3] RUNNING in chrome - /tests/selenium/specs/specialrecentchanges.js
[0-3] [19:50:18] [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] [19:50:24] [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] [19:50:35] [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] PASSED in chrome - /tests/selenium/specs/user.js
"dot" Reporter:
..FFFFFFF...........
Spec Files: 5 passed, 1 failed, 6 total (100% completed) in 00:07:42
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/z/.npm/_logs/2021-03-02T18_50_44_457Z-debug.log