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

[EPIC] Refactor Dusk Fixtures test into Cypress #114

Open
2 of 5 tasks
troccoli opened this issue Jun 7, 2020 · 0 comments
Open
2 of 5 tasks

[EPIC] Refactor Dusk Fixtures test into Cypress #114

troccoli opened this issue Jun 7, 2020 · 0 comments

Comments

@troccoli
Copy link
Owner

troccoli commented Jun 7, 2020

The Tests\Browser\CRUD\FixturesTest test takes far too long, more than 15 minutes. This is unacceptable. Besides, many times it fails because the SPA is taking too long.

The current Dusk test uses a lot of pause(1000) statements throughout to try and let the application catch up with the test. Many times this is not enough and the test fails.

By refactoring this test in Cypress we accomplish two things: we show how testing can be done in Cypress too, and we don't need to programmatically pause our test in order to wait for the page, as Cypress does this automatically (up to 5 seconds).

@troccoli troccoli changed the title Refactor Dusk Fixtures testt into Cypress Refactor Dusk Fixtures test into Cypress Jun 7, 2020
@troccoli troccoli changed the title Refactor Dusk Fixtures test into Cypress [EPIC] Refactor Dusk Fixtures test into Cypress Jun 7, 2020
@troccoli troccoli added the epic label Jun 7, 2020
@troccoli troccoli added this to To do in Start using Cypress Jun 7, 2020
@troccoli troccoli self-assigned this Dec 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

1 participant