Over time, our community has developed several projects that you can use as inspiration to set up your own test suite.
v8 Boilerplate Projects
webdriverio/cucumber-boilerplate
Our very own boilerplate for Cucumber test suites. We created over 150 predefined step definitions for you, so you can start writing feature files in your project right away.
- Framework:
- Cucumber (v8)
- WebdriverIO (v8)
- Features:
- Over 150 predefined steps that cover almost everything you need
- Integrates WebdriverIO's Multiremote functionality
- Own demo app
webdriverio/jasmine-boilerplate
Boilerplate project to run WebdriverIO tests with Jasmine using Babel features and the page objects pattern.
- Frameworks
- WebdriverIO (v8)
- Jasmine (v4)
- Features
- Page Object Pattern
- Sauce Labs integration
syamphaneendra/webdriverio-web-mobile-boilerplate
This boilerplate project has WebdriverIO 8 tests with cucumber and typescript, followed by the page objects pattern.
-
Frameworks:
- WebdriverIO v8
- Cucumber v8
-
Features:
- Typescript v5
- Page Object Pattern
- Prettier
- Multi browser support
- Chrome
- Firefox
- Edge
- Safari
- Standalone
- Crossbrowser parallel execution
- Appium
- Cloud testing Integration with BrowserStack & Sauce Labs
- Docker service
- Share data service
- Separate config files for each service
- Testdata management & read by user type
- Reporting
- Dot
- Spec
- Multiple cucumber html report with failure screenshots
- Gitlab pipelines for Gitlab repository
- Github actions for Github repository
- Docker compose for setting up the docker hub
amiya-pattnaik/webdriverIO-with-cucumberBDD
- Framework: WDIO-V8 with Cucumber (V8x).
- Features:
- Page Objects Model uses with ES6 /ES7 style class base approach and TypeScript support
- Examples of multi selector option to query element with more than one selector at a time
- Examples of multi browser and headless browser execution using - Chrome and Firefox
- Cloud testing Integration with BrowserStack, Sauce Labs, LambdaTest
- Examples of read/write data from MS-Excel for easy test data management from external data sources with examples
- Database support to any RDBMS (Oracle, MySql, TeraData, Vertica etc.), executing any queries / fetching result set etc. with examples for E2E testing
- Multiple reporting (Spec, Xunit/Junit, Allure, JSON) and Hosting Allure and Xunit/Junit reporting on WebServer.
- Examples with demo app https://search.yahoo.com/ and http://the-internet.herokuapp.com.
- BrowserStack, Sauce Labs, LambdaTest and Appium specific
.config
file (for playback on mobile device). For one click Appium setup on local machine for iOS and Android refer to appium-setup-made-easy-OSX.
amiya-pattnaik/webdriverIO-with-mochaBDD
- Framework: WDIO-V8 with Mocha (V10x).
- Features:
- Page Objects Model uses with ES6 /ES7 style class base approach and TypeScript support
- Examples with demo app https://search.yahoo.com and http://the-internet.herokuapp.com
- Examples of multi browser and headless browser execution using - Chrome and Firefox
- Cloud testing Integration with BrowserStack, Sauce Labs, LambdaTest
- Multiple reporting (Spec, Xunit/Junit, Allure, JSON) and Hosting Allure and Xunit/Junit reporting on WebServer.
- Examples of read/write data from MS-Excel for easy test data management from external data sources with examples
- Examples of DB connect to any RDBMS (Oracle, MySql, TeraData, Vertica etc.), any query execution / fetching result set etc. with examples for E2E testing
- BrowserStack, Sauce Labs, LambdaTest and Appium specific
.config
file (for playback on mobile device). For one click Appium setup on local machine for iOS and Android refer to appium-setup-made-easy-OSX.
amiya-pattnaik/webdriverIO-with-jasmineBDD
- Framework: WDIO-V8 with Jasmine (V4x).
- Features:
- Page Objects Model uses with ES6 /ES7 style class base approach and TypeScript support
- Examples with demo app https://search.yahoo.com and http://the-internet.herokuapp.com
- Examples of multi browser and headless browser execution using - Chrome and Firefox
- Cloud testing Integration with BrowserStack, Sauce Labs, LambdaTest
- Multiple reporting (Spec, Xunit/Junit, Allure, JSON) and Hosting Allure and Xunit/Junit reporting on WebServer.
- Examples of read/write data from MS-Excel for easy test data management from external data sources with examples
- Examples of DB connect to any RDBMS (Oracle, MySql, TeraData, Vertica etc.), any query execution / fetching result set etc. with examples for E2E testing
- BrowserStack, Sauce Labs, LambdaTest and Appium specific
.config
file ( for playback on mobile device). For one click Appium setup on local machine for iOS and Android refer to appium-setup-made-easy-OSX.
klassijs/klassi-js (cucumber-template)
-
Frameworks
- WebdriverIO (v8)
- Cucumber (v8)
-
Features
- Contain sample test scenario in cucumber
- Integrated cucumber html reports with Embedded videos on failures
- Integrated Lambdatest and CircleCI services
- Integrated Visual, Accessibility and API testing
- Integrated Email functionality
- Integrated s3 bucket for test reports storage and retrieval
serenity-js/serenity-js-mocha-webdriverio-template/
Serenity/JS template project to help you get started with acceptance testing your web applications using the latest WebdriverIO, Mocha, and Serenity/JS.
-
Frameworks
- WebdriverIO (v8)
- Mocha (v10)
- Serenity/JS (v3)
- Serenity BDD reporting
-
Features
- Screenplay Pattern
- Automatic screenshots on test failure, embedded in reports
- Continuous Integration (CI) setup using GitHub Actions
- Demo Serenity BDD reports published to GitHub Pages
- TypeScript
- ESLint
serenity-js/serenity-js-cucumber-webdriverio-template/
Serenity/JS template project to help you get started with acceptance testing your web applications using the latest WebdriverIO, Cucumber, and Serenity/JS.
-
Frameworks
- WebdriverIO (v8)
- Cucumber (v9)
- Serenity/JS (v3)
- Serenity BDD reporting
-
Features
- Screenplay Pattern
- Automatic screenshots on test failure, embedded in reports
- Continuous Integration (CI) setup using GitHub Actions
- Demo Serenity BDD reports published to GitHub Pages
- TypeScript
- ESLint
Muralijc/wdio-headspin-boilerplate
Boilerplate project to run WebdriverIO tests in Headspin Cloud (https://www.headspin.io/) using Cucumber features, and the page objects pattern.
-
Frameworks
- WebdriverIO (v8)
- Cucumber (v8)
-
Features
- Cloud integration with Headspin
- Supports Page Object Model
- Contains sample Scenarios written in Declarative style of BDD
- Integrated cucumber html reports
v7 Boilerplate Projects
webdriverio/appium-boilerplate
Boilerplate project to run Appium tests with WebdriverIO for:
- iOS/Android Native Apps
- iOS/Android Hybrid Apps
- Android Chrome and iOS Safari browser
This boilerplate includes the following:
- Framework: Mocha
- Features:
- Configs for:
- iOS and Android app
- iOS and Android browsers
- Helpers for:
- WebView
- Gestures
- Native alerts
- Pickers
- Tests examples for:
- WebView
- Login
- Forms
- Swipe
- Browsers
- Configs for:
serhatbolsu/webdriverio-mocha-uiautomation-boiler
ATDD WEB tests with Mocha, WebdriverIO v6 with PageObject
- Frameworks
- WebdriverIO (v7)
- Mocha
- Features
- Page Object Model
- Sauce Labs integration with Sauce Service
- Allure Report
- Automatic screenshots capture for failing tests
- CircleCI example
- ESLint