Steps to replicate the issue (include links if applicable):
- Clone the oojs-ui repo locally
- Perform the instructions outlined here: https://github.com/wikimedia/oojs-ui#release – specifically, npm ci && composer update && npm test && composer test
What happens?:
Running "karma:main" (karma) task (node:43356) Warning: Accessing non-existent property 'VERSION' of module exports inside circular dependency (Use `node --trace-warnings ...` to show where the warning was created) 19 07 2023 13:59:32.275:INFO [karma-server]: Karma v6.3.20 server started at http://localhost:9876/ 19 07 2023 13:59:32.276:INFO [launcher]: Launching browsers ChromeCustom with concurrency unlimited 19 07 2023 13:59:32.280:INFO [launcher]: Starting browser ChromeHeadless 19 07 2023 13:59:32.353:ERROR [launcher]: Cannot start ChromeHeadless [0719/135932.348118:ERROR:headless_shell.cc(250)] Multiple targets are not supported. 19 07 2023 13:59:32.353:ERROR [launcher]: ChromeHeadless stdout: 19 07 2023 13:59:32.353:ERROR [launcher]: ChromeHeadless stderr: [0719/135932.348118:ERROR:headless_shell.cc(250)] Multiple targets are not supported. 19 07 2023 13:59:32.354:INFO [launcher]: Trying to start ChromeHeadless again (1/2). 19 07 2023 13:59:32.377:ERROR [launcher]: Cannot start ChromeHeadless [0719/135932.376425:ERROR:headless_shell.cc(250)] Multiple targets are not supported. 19 07 2023 13:59:32.377:ERROR [launcher]: ChromeHeadless stdout: 19 07 2023 13:59:32.377:ERROR [launcher]: ChromeHeadless stderr: [0719/135932.376425:ERROR:headless_shell.cc(250)] Multiple targets are not supported. 19 07 2023 13:59:32.378:INFO [launcher]: Trying to start ChromeHeadless again (2/2). 19 07 2023 13:59:32.402:ERROR [launcher]: Cannot start ChromeHeadless [0719/135932.400743:ERROR:headless_shell.cc(250)] Multiple targets are not supported. 19 07 2023 13:59:32.402:ERROR [launcher]: ChromeHeadless stdout: 19 07 2023 13:59:32.402:ERROR [launcher]: ChromeHeadless stderr: [0719/135932.400743:ERROR:headless_shell.cc(250)] Multiple targets are not supported. 19 07 2023 13:59:32.402:ERROR [launcher]: ChromeHeadless failed 2 times (cannot start). Giving up.
What should have happened instead?:
Tests should run successfully.
Software version (skip for WMF-hosted wikis like Wikipedia):
Mac OS Ventura
Node v16.19.0
PHP v8.2.1
Other information (browser name/version, screenshots, etc.):
Seems like this may be related to https://phabricator.wikimedia.org/T335329#8803718
