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 cypress end to end testing to Github Action #47

Closed
dennyabrain opened this issue Feb 25, 2022 · 1 comment
Closed

Add cypress end to end testing to Github Action #47

dennyabrain opened this issue Feb 25, 2022 · 1 comment

Comments

@dennyabrain
Copy link
Contributor

We use cypres for doing end to end UI testing for the annotation-ui.
Right now i run npm run e2e to run these tests locally and then push the code to github. Github actions then deploys the code to staging or production environment.

When i run npm run e2e, cypress opens a chrome instance and runs these tests on my machine and i can actually see the different links being clicked but cypress also allows running the browser in a headless mode which lets you run these tests in a CI/CD pipeline.

So I would like the test step npm run e2e to be added to the deploy-prod and deploy-staging workflow here
The expected result is that, what one is finished developing the software, they just push the code to github and we run the test as part of the deploy pipeline itself and deploy to the appropriate environment only if the test passes. It will help us avoid regression bugs for end to end features.

@dennyabrain
Copy link
Contributor Author

closed because we've moved onto testing via selenium. Completely automated testing is not possible yet, some human intervention is needed.

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

No branches or pull requests

1 participant