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

Refactor E2E tests to run outside of project #783

Open
philprime opened this issue Feb 7, 2025 · 0 comments
Open

Refactor E2E tests to run outside of project #783

philprime opened this issue Feb 7, 2025 · 0 comments

Comments

@philprime
Copy link
Contributor

If we run the E2E tests using yarn test:e2e, most of the tests are run in the current project. While this is convenient for manual testing and analysis, it pollutes the git status and it can lead to committing e2e generated files. Furthermore, re-running tests with changes from previous runs results in tests not being deterministic.

Instead I propose that e2e test applications are copied to temporary directories, which are then used as working directories for the tests.

This should lead to yarn test:e2e leaving the checked out project untouched.

We might have to look into coverage directories being at the correct position for pushing to Codecov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant