Skip to content

test: rework custom test command and example #1447

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

Merged
merged 3 commits into from
May 2, 2025

Conversation

MikeMcC399
Copy link
Collaborator

@MikeMcC399 MikeMcC399 commented Apr 30, 2025

Situation

The action parameter README > command allows executing a CLI command like npm run e2e:ci.

This example invokes a script defined in the project's package.json and runs it through a CLI call, bypassing the Cypress Module API call.

Users reading the documentation section command may come to the conclusion that the command parameter is a good way to use the action, even though the caution note attempts to explain the drawbacks that other related action parameters are ignored.

Change

@MikeMcC399 MikeMcC399 added the documentation Improvements or additions to documentation label Apr 30, 2025
@MikeMcC399 MikeMcC399 self-assigned this Apr 30, 2025
@cypress-app-bot
Copy link

@MikeMcC399

This comment was marked as outdated.

@MikeMcC399

This comment was marked as outdated.

@MikeMcC399 MikeMcC399 force-pushed the custom-test-command branch from fe4ade8 to 3d060c0 Compare May 1, 2025 04:50
@MikeMcC399 MikeMcC399 marked this pull request as ready for review May 2, 2025 07:07
Copy link
Member

@jennifer-shehane jennifer-shehane left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for making this clearer in each relevant spot!

@jennifer-shehane jennifer-shehane merged commit 33f369e into cypress-io:master May 2, 2025
73 checks passed
@MikeMcC399 MikeMcC399 deleted the custom-test-command branch May 2, 2025 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants