Create the BROWSER environment variable
Learn how to create the BROWSER environment variable for the tests using a bash task.
We'll cover the following
Our pipeline only cleans the artifacts and compiles the code for now.
To run the tests, we need to provide the browser name as an environment variable so the driver
can be created in the setUp()
method of the test class:
Get hands-on with 1400+ tech skills courses.