Create the Pipeline and Run the Tests
Understand how to create a CI pipeline in Azure DevOps that builds a Docker image from your Selenium Java test project and runs the tests inside a container. This lesson guides you through building and executing a pipeline using YAML, setting environment variables for browser configuration, and viewing test results.
We'll cover the following...
We'll cover the following...
The pipeline that runs the Selenium tests in a Docker container relies on the Dockerfile from the root project folder:
Add the above
Dockerfileto the root of your project repository.
The Docker pipeline
The Docker pipeline YAML code is below:
The pipeline has only two tasks, one for building the Docker image and ...