Member-only story
How to run webdriver.io test on GitHub Actions with Allure Reports
In modern software development workflows, automated testing plays a pivotal role in ensuring the reliability and quality of software products. WebDriver.io, a widely used automation testing framework, offers robust capabilities for browser automation and testing web applications. GitHub Actions, on the other hand, provides a powerful platform for automating workflows directly within your GitHub repository. In this guide, we’ll walk you through the process of setting up and running WebDriver.io tests in headless mode on GitHub Actions while generating comprehensive Allure reports.
Prerequisites:
Before diving into the setup process, ensure you have the following:
- A WebDriver.io project with your tests and necessary configurations. In this blog, we will demonstrate little on webdriver.io because this blog is core-focused on CI (Github Actions) implementation with allure reports.
- A GitHub repository where you want to automate tests using GitHub Actions. Create a Webdriver.io repository and push the code to GitHub.
- Basic understanding of WebDriver.io and GitHub Actions. In this blog I’m using the Cucumber BDD framework