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

Speed-up full-app tests by seeding the database #978

Open
make-github-pseudonymous-again opened this issue May 21, 2024 · 1 comment
Open
Labels
ci This issue is about continuous integration dx This is about developer experience testing This issue is about testing.

Comments

@make-github-pseudonymous-again
Copy link
Contributor

This should be possible via a dedicated route (on top of _dev/reset). This should allow to avoid testing multiple times common functionality (registration, login, navigation, etc.) in end-to-end tests.

Maybe one could create dependencies between tests and snapshot the database state of a previous test to be used as the initial state for dependent tests.

@make-github-pseudonymous-again make-github-pseudonymous-again added ci This issue is about continuous integration testing This issue is about testing. dx This is about developer experience labels May 21, 2024
@make-github-pseudonymous-again
Copy link
Contributor Author

Note that registration/login can already be sped-up by replacing UI interaction with direct endpoint calls.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci This issue is about continuous integration dx This is about developer experience testing This issue is about testing.
Projects
Development

No branches or pull requests

1 participant