Page MenuHomePhabricator
Paste P17185

ProofreadPage$ npm run selenium-test
ArchivedPublic

Authored by zeljkofilipin on Sep 2 2021, 6:16 PM.
Tags
None
Referenced Files
F36864962: ProofreadPage$ npm run selenium-test
Feb 22 2023, 12:31 PM
F36823418: ProofreadPage$ npm run selenium-test
Feb 13 2023, 1:00 PM
F36535900: ProofreadPage$ npm run selenium-test
Jan 28 2023, 4:48 PM
F34629629: ProofreadPage$ npm run selenium-test
Sep 2 2021, 6:16 PM
Subscribers
None
z@imac-ubuntu:~/Documents/gerrit/mediawiki/core/extensions/ProofreadPage$ npm run selenium-test
npm WARN lifecycle The node binary used for scripts is /snap/bin/node but npm is using /snap/node/7026/bin/node itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.
> ProofreadPage@ selenium-test /home/z/Documents/gerrit/mediawiki/core/extensions/ProofreadPage
> wdio tests/selenium/wdio.conf.js
Execution of 3 spec files started at 2023-02-22T12:30:14.128Z
[0-0] RUNNING in chrome - /tests/selenium/specs/eis-page-status.js
[0-0] AssertionError in "For a page with the eis, the page status module should update on page change"
AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
assert.ok( EisPagePage.pageStatusButtonLabel.getText() === 'Not proofread' )
at Context.<anonymous> (/home/z/Documents/gerrit/mediawiki/core/extensions/ProofreadPage/tests/selenium/specs/eis-page-status.js:34:10)
[0-0] RETRYING in chrome - /tests/selenium/specs/eis-page-status.js
[0-0] RUNNING in chrome - /tests/selenium/specs/eis-page-status.js
[0-0] AssertionError in "For a page with the eis, the page status module should update on page change"
AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
assert.ok( EisPagePage.pageStatusButtonLabel.getText() === 'Not proofread' )
at Context.<anonymous> (/home/z/Documents/gerrit/mediawiki/core/extensions/ProofreadPage/tests/selenium/specs/eis-page-status.js:34:10)
[0-0] FAILED in chrome - /tests/selenium/specs/eis-page-status.js (1 retries)
[0-1] RUNNING in chrome - /tests/selenium/specs/eis-prev-next.js
[0-1] Error in "For a page with eis enabled prev to page 1"
Error: waitUntil condition timed out after 5000ms
at EisPagePage.waitForOOUIElementToBeActive (/home/z/Documents/gerrit/mediawiki/core/extensions/ProofreadPage/tests/selenium/pageobjects/eispage.page.js:37:11)
at Context.<anonymous> (/home/z/Documents/gerrit/mediawiki/core/extensions/ProofreadPage/tests/selenium/specs/eis-prev-next.js:31:15)
[0-1] AssertionError in "For a page with eis enabled next to last page"
AssertionError [ERR_ASSERTION]: is disabled
at Context.<anonymous> (/home/z/Documents/gerrit/mediawiki/core/extensions/ProofreadPage/tests/selenium/specs/eis-prev-next.js:37:10)
[0-1] RETRYING in chrome - /tests/selenium/specs/eis-prev-next.js
[0-1] RUNNING in chrome - /tests/selenium/specs/eis-prev-next.js
[0-1] Error in "For a page with eis enabled prev to page 1"
Error: waitUntil condition timed out after 5000ms
at EisPagePage.waitForOOUIElementToBeActive (/home/z/Documents/gerrit/mediawiki/core/extensions/ProofreadPage/tests/selenium/pageobjects/eispage.page.js:37:11)
at Context.<anonymous> (/home/z/Documents/gerrit/mediawiki/core/extensions/ProofreadPage/tests/selenium/specs/eis-prev-next.js:31:15)
[0-1] AssertionError in "For a page with eis enabled next to last page"
AssertionError [ERR_ASSERTION]: is disabled
at Context.<anonymous> (/home/z/Documents/gerrit/mediawiki/core/extensions/ProofreadPage/tests/selenium/specs/eis-prev-next.js:37:10)
[0-1] FAILED in chrome - /tests/selenium/specs/eis-prev-next.js (1 retries)
[0-2] RUNNING in chrome - /tests/selenium/specs/index.js
[0-2] PASSED in chrome - /tests/selenium/specs/index.js
"dot" Reporter:
.F.F.FF.FF.
Spec Files: 1 passed, 2 retries, 2 failed, 3 total (100% completed) in 00:00:39
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ProofreadPage@ selenium-test: `wdio tests/selenium/wdio.conf.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ProofreadPage@ 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! /home/z/.npm/_logs/2023-02-22T12_30_54_100Z-debug.log