How to run webdriver.io test on GitHub Actions with Allure Reports

Pradap Pandiyan
4 min readApr 10, 2024

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:

  1. 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.
  2. A GitHub repository where you want to automate tests using GitHub Actions. Create a Webdriver.io repository and push the code to GitHub.
  3. Basic understanding of WebDriver.io and GitHub Actions. In this blog I’m using the Cucumber BDD framework

Step 1: Configure WebDriver.io for Headless Mode

--

--

Pradap Pandiyan
Pradap Pandiyan

Written by Pradap Pandiyan

I’m a passionate QA Engineer. I’m a motovlogger, content creator, off-roader and freelancer. Buy me a coffee here https://www.buymeacoffee.com/pradappandiyan

No responses yet