Forum Posts

sherminsathi6
Apr 03, 2022
In General Discussions
Written numerous end-to-end (e2e) cypress tests to validate that our web applications still work as expected with the backend. After writing these browser automation tests, we would still like these cypress tests to run or be triggered in some way like our unit tests before merging the code and deploying it to certain environments. This led us to want to run our cypress tests in a docker container to integrate with our continuous integration (ci) provider and the machines we use in the cloud to run those containers. For deployment streams, we use buildkite as our ci provider. This allows us to generate an automated step build for our application in a buildkite pipeline when we plan to move code across tiers. For more context, a pipeline is a place usually tied to an company mailing list application's repository where we can review builds or trigger builds with certain steps to run when you create pull requests, push new code changes, merge code to master and deploy in different environments. . We create multiple pipelines for separate purposes, such as deployment, triggered cypress tests, and specific cypress tests run on a schedule. This blog post assumes that you have already written cypress tests and have some tests running, but want ideas on how to run these tests continuously in your development and deployment workflows . If you want an overview of writing cypress tests instead, you can check out this previous blog post and then come back to it when you have something to run. Our goal is to walk you through how to integrate cypress testing into a docker container with your ci vendor by looking at how we've done it with docker compose and buildkite in our deployment pipeline.
0
0
8
s
sherminsathi6
More actions