đ¤ Azure Pipelines
Running browser-based test automation with Azure Pipelines by using SeleniumBase¶
Step 0. Fork the SeleniumBase repo on GitHub to get started quickly.¶
- (You'll be using your own repository eventually.)
Step 1. Get Azure Pipelines from the GitHub Marketplace¶
Navigate to https://github.com/marketplace/azure-pipelines¶
- Set up a new plan (it's free) and follow the steps...
Step 2. Go to Microsoft Azure DevOps to set up your environment¶
-
Navigate to https://azure.microsoft.com/en-us/services/devops/?nav=min
-
Follow the steps...
Select "Start free with GitHub >":¶
Give your new project a name and set visibility to public (for your SeleniumBase fork):¶
Select that your code is hosted on GitHub¶
Select your fork of SeleniumBase as your repository¶
Copy the azure-pipelines.yml file from SeleniumBase into the azure-pipelines.yml box to create your new pipeline¶
When you're done copying, click "Run".¶
Step 3. Congratulations! Your browser tests are now running!¶
- Here's what a SeleniumBase sample run in Azure Pipelines may look like:
https://dev.azure.com/seleniumbase/seleniumbase/_build/results?buildId=234
Every time you create a pull request now, Azure Pipelines will run your tests automatically.¶
To learn more, study SeleniumBase and see how the azure-pipelines.yml file works.