Page MenuHomePhabricator
Paste P70244

/run_selenium_tests "extensions/CentralNotice/tests/selenium/*specs/**/*.js" ".*"
ArchivedPublic

Authored by zeljkofilipin on Oct 17 2024, 10:12 AM.
~/Documents/gitlab/zfilipin/mediawiki-quickstart$ time ./run_selenium_tests "extensions/CentralNotice/tests/selenium/*specs/**/*.js" ".*"
npm warn deprecated @types/easy-table@1.2.0: This is a stub types definition. easy-table provides its own type definitions, so you do not need this installed.
npm warn deprecated har-validator@5.1.5: this library is no longer supported
npm warn deprecated abab@2.0.6: Use your platform's native atob() and btoa() methods instead
npm warn deprecated domexception@4.0.0: Use your platform's native DOMException instead
npm warn deprecated formidable@1.2.6: Please upgrade to latest, formidable@v2 or formidable@v3! Check these notes: https://bit.ly/2ZEqIau
npm warn deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm warn deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm warn deprecated date-format@0.0.2: 0.x is no longer supported. Please upgrade to 4.x or higher.
npm warn deprecated superagent@6.1.0: Please upgrade to v7.0.2+ of superagent. We have fixed numerous issues with streams, form-data, attach(), filesystem errors not bubbling up (ENOENT on attach()), and all tests are now passing. See the releases tab for more information at <https://github.com/visionmedia/superagent/releases>. Thanks to @shadowgate15, @spence-s, and @niftylettuce. Superagent is sponsored by Forward Email at <https://forwardemail.net>.
added 1449 packages, and audited 1451 packages in 17s
160 packages are looking for funding
run `npm fund` for details
16 vulnerabilities (1 low, 4 moderate, 11 high)
To address issues that do not require attention, run:
npm audit fix
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
Installing Selenium browser binary...
Chromium 98.0.4758.0
Execution of 1 workers started at 2024-10-17T10:10:59.585Z
[0-0] RUNNING in chrome - /extensions/CentralNotice/tests/selenium/specs/centralnotice.js
[0-0] Error in "CentralNotice.banner is displayed on Main Page"
Error: element ("#centralnotice_testbanner") still not existing after 5000ms
at async Context.<anonymous> (/var/www/html/w/extensions/CentralNotice/tests/selenium/specs/centralnotice.js:10:3)
[0-0] RETRYING after 5s in chrome - /extensions/CentralNotice/tests/selenium/specs/centralnotice.js
[0-0] RUNNING in chrome - /extensions/CentralNotice/tests/selenium/specs/centralnotice.js
[0-0] Error in "CentralNotice.banner is displayed on Main Page"
Error: element ("#centralnotice_testbanner") still not existing after 5000ms
at async Context.<anonymous> (/var/www/html/w/extensions/CentralNotice/tests/selenium/specs/centralnotice.js:10:3)
[0-0] FAILED in chrome - /extensions/CentralNotice/tests/selenium/specs/centralnotice.js (1 retries)
"spec" Reporter:
------------------------------------------------------------------
[Chrome 98.0.4758.0 linux #0-0] Running: Chrome (v98.0.4758.0) on linux
[Chrome 98.0.4758.0 linux #0-0] Session ID: c28d9347-0a42-4275-abb8-87630dbe0646
[Chrome 98.0.4758.0 linux #0-0]
[Chrome 98.0.4758.0 linux #0-0] » /extensions/CentralNotice/tests/selenium/specs/centralnotice.js
[Chrome 98.0.4758.0 linux #0-0] CentralNotice
[Chrome 98.0.4758.0 linux #0-0] ✖ banner is displayed on Main Page
[Chrome 98.0.4758.0 linux #0-0]
[Chrome 98.0.4758.0 linux #0-0] 1 failing (6.2s)
[Chrome 98.0.4758.0 linux #0-0]
[Chrome 98.0.4758.0 linux #0-0] 1) CentralNotice banner is displayed on Main Page
[Chrome 98.0.4758.0 linux #0-0] element ("#centralnotice_testbanner") still not existing after 5000ms
[Chrome 98.0.4758.0 linux #0-0] Error: element ("#centralnotice_testbanner") still not existing after 5000ms
[Chrome 98.0.4758.0 linux #0-0] at async Context.<anonymous> (/var/www/html/w/extensions/CentralNotice/tests/selenium/specs/centralnotice.js:10:3)
------------------------------------------------------------------
[Chrome 98.0.4758.0 linux #0-0] Running: Chrome (v98.0.4758.0) on linux
[Chrome 98.0.4758.0 linux #0-0] Session ID: 13994ed1-4a30-4e08-926c-027c390c2aaa
[Chrome 98.0.4758.0 linux #0-0]
[Chrome 98.0.4758.0 linux #0-0] » /extensions/CentralNotice/tests/selenium/specs/centralnotice.js
[Chrome 98.0.4758.0 linux #0-0] CentralNotice
[Chrome 98.0.4758.0 linux #0-0] ✖ banner is displayed on Main Page
[Chrome 98.0.4758.0 linux #0-0]
[Chrome 98.0.4758.0 linux #0-0] 1 failing (6s)
[Chrome 98.0.4758.0 linux #0-0]
[Chrome 98.0.4758.0 linux #0-0] 1) CentralNotice banner is displayed on Main Page
[Chrome 98.0.4758.0 linux #0-0] element ("#centralnotice_testbanner") still not existing after 5000ms
[Chrome 98.0.4758.0 linux #0-0] Error: element ("#centralnotice_testbanner") still not existing after 5000ms
[Chrome 98.0.4758.0 linux #0-0] at async Context.<anonymous> (/var/www/html/w/extensions/CentralNotice/tests/selenium/specs/centralnotice.js:10:3)
Spec Files: 0 passed, 1 retries, 1 failed, 1 total (100% completed) in 00:00:26
What's next:
Try Docker Debug for seamless, persistent debugging tools in any container or image → docker debug mediawiki-mediawiki-web-1
Learn more at https://docs.docker.com/go/debug-cli/
./run_selenium_tests "extensions/CentralNotice/tests/selenium/*specs/**/*.js" 0.42s user 0.35s system 1% cpu 1:11.08 total