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

docs: use /app as standard example working directory #1254

Merged

Conversation

MikeMcC399
Copy link
Collaborator

Issue

Some examples are using /e2e as a generic working directory in a Docker command line. For example:

docker run -it --rm -v .:/e2e -w /e2e cypress/base

This is a carry-over from legacy Cypress when only End-to-End tests were supported.

It is a misleading naming usage which suggests this is about E2E only. Cypress Docker images can however be used to execute both End-to-End and Component Testing.

Change

The directory name in the Docker options -v and -w is arbitrary and changed from /e2e to a neutral name /app.

@MikeMcC399 MikeMcC399 self-assigned this Nov 22, 2024
@MikeMcC399 MikeMcC399 marked this pull request as ready for review November 22, 2024 17:05
@cypress-app-bot
Copy link

@AtofStryker AtofStryker merged commit 5e4b67c into cypress-io:master Nov 25, 2024
33 checks passed
@MikeMcC399 MikeMcC399 deleted the docs/example-app-directory branch November 26, 2024 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants