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

Fix test script #5996

Merged
merged 1 commit into from
Nov 8, 2024
Merged

Conversation

MikeMcC399
Copy link
Contributor

@MikeMcC399 MikeMcC399 commented Nov 8, 2024

Issue

The package.json script test fails.

"test": "npm run cypress run",

Issue Log

$ npm test

> [email protected] test
> npm run cypress run

npm ERR! Missing script: "cypress"
npm ERR!
npm ERR! To see a list of scripts, run:
npm ERR!   npm run

Change

See Cypress documentation Using scripts.

Use instead

    "test": "cypress run",

Verification

Ubuntu 24.04.1 LTS, Node 18.17.1 LTS

Execute:

npm ci
npm start

In a separate terminal window, execute:

npm test

Confirm that Cypress tests are run.

Copy link

netlify bot commented Nov 8, 2024

👷 Deploy request for cypress-docs pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 7c4bd76

@cypress-app-bot
Copy link
Collaborator

@MikeMcC399 MikeMcC399 marked this pull request as ready for review November 8, 2024 12:42
@jennifer-shehane jennifer-shehane merged commit d82b073 into cypress-io:main Nov 8, 2024
7 checks passed
@MikeMcC399 MikeMcC399 deleted the fix/test-script branch November 8, 2024 15:14
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.

3 participants