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

Error when running Playwright tests on 17.26.1 #6713

Open
KCM78 opened this issue Jun 17, 2024 · 0 comments
Open

Error when running Playwright tests on 17.26.1 #6713

KCM78 opened this issue Jun 17, 2024 · 0 comments
Labels
type: bug code to address defects in shipped code

Comments

@KCM78
Copy link

KCM78 commented Jun 17, 2024

Describe the bug

Getting the error

Error: Command failed with exit code 1: npx playwright test

when running plugin to execute Playwright tests with netlify-cli v17.26.1

Additional error included:

Error: Process from config.webServer was not able to start. Exit code: 1

Steps to reproduce

  1. Plugin to run Playwright tests in the onSuccess build step using await utils.run.command("npx playwright test")
  2. Run as part of build
  3. Plugin error received in deployment, with the error Error: Command failed with exit code 1: npx playwright test
  4. Reverting to v17.26.0 works as expected

Configuration

No response

Environment

System:
OS: Linux 5.15 Ubuntu 20.04.6 LTS (Focal Fossa)
CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
Memory: 11.16 GB / 15.51 GB
Container: Yes
Shell: 5.8 - /usr/bin/zsh
Binaries:
Node: 20.12.2 - ~/.nvm/versions/node/v20.12.2/bin/node
Yarn: 1.22.22 - ~/.nvm/versions/node/v20.12.2/bin/yarn
npm: 10.5.0 - ~/.nvm/versions/node/v20.12.2/bin/npm
npmPackages:
netlify-cli: 17.26.0 => 17.26.0

@KCM78 KCM78 added the type: bug code to address defects in shipped code label Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug code to address defects in shipped code
Projects
None yet
Development

No branches or pull requests

1 participant