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

Add Laravel Dusk for e2e browser testing #2589

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

williamjallen
Copy link
Collaborator

Cypress works very well and is easy to use, but the inability to interact with the database while testing makes it difficult to write thorough tests. This PR adds support for Laravel Dusk, Laravel's Selenium wrapper, which allows us to interact with the database and make submissions between test cases. It also truncates the database tables after every test case. Even though it isn't as easy to use, it will allow us to write better test cases and eliminate the need to mock the GraphQL API.

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.

1 participant