Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: run 'npx playwright install' in CI #87

Merged
merged 1 commit into from
Jul 4, 2024

Conversation

JoshuaKGoldberg
Copy link
Member

Fixes #86.

@JoshuaKGoldberg
Copy link
Member Author

Well, this fixes Playwright, though now there are subsequent issues discovered:

example-selenium-app:  Exception during run: TypeError: (intermediate value).headless is not a function
example-selenium-app:     at Object.<anonymous> (/home/runner/work/mocha-examples/mocha-examples/packages/selenium/test/selenium.spec.js:7:44)
example-selenium-app:     at Module._compile (node:internal/modules/cjs/loader:1198:14)
example-selenium-app:     at Module._compile (/home/runner/work/mocha-examples/mocha-examples/packages/selenium/node_modules/pirates/lib/index.js:117:24)
example-selenium-app:     at Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
example-selenium-app:     at Object.newLoader [as .js] (/home/runner/work/mocha-examples/mocha-examples/packages/selenium/node_modules/pirates/lib/index.js:121:7)
example-selenium-app:     at Module.load (node:internal/modules/cjs/loader:1076:32)
example-selenium-app:     at Function.Module._load (node:internal/modules/cjs/loader:911:12)
example-selenium-app:     at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:169:29)
example-selenium-app:     at ModuleJob.run (node:internal/modules/esm/module_job:193:25)
example-selenium-app:     at async Promise.all (index 0)
example-selenium-app:     at ESMLoader.import (node:internal/modules/esm/loader:530:24)
example-selenium-app:     at importModuleDynamicallyWrapper (node:internal/vm/module:438:15)
example-selenium-app:     at formattedImport (/home/runner/work/mocha-examples/mocha-examples/packages/selenium/node_modules/mocha/lib/nodejs/esm-utils.js:9:14)
example-selenium-app:     at Object.exports.requireOrImport (/home/runner/work/mocha-examples/mocha-examples/packages/selenium/node_modules/mocha/lib/nodejs/esm-utils.js:42:28)
example-selenium-app:     at Object.exports.loadFilesAsync (/home/runner/work/mocha-examples/mocha-examples/packages/selenium/node_modules/mocha/lib/nodejs/esm-utils.js:100:20)
example-selenium-app:     at singleRun (/home/runner/work/mocha-examples/mocha-examples/packages/selenium/node_modules/mocha/lib/cli/run-helpers.js:158:3)
example-selenium-app:     at Object.exports.handler (/home/runner/work/mocha-examples/mocha-examples/packages/selenium/node_modules/mocha/lib/cli/run.js:370:5)

Merging now and will file at least one followup issue.

@JoshuaKGoldberg JoshuaKGoldberg merged commit d1d12ca into main Jul 4, 2024
1 of 7 checks passed
@JoshuaKGoldberg JoshuaKGoldberg deleted the playwright-install-ci branch July 4, 2024 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🛠️ Repo: CI fails on Playwright tests
1 participant