All Projects → fwouts → Webdriverio Jest

fwouts / Webdriverio Jest

Licence: mit
Example of a WebdriverIO test written with the Jest framework

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Webdriverio Jest

Opensource
Delivering delightful digital solutions. Open Source packages with combined ~85M/month downloads, semantically versioned following @conventional-commits. Fully powered by Jest, @Babel TypeScript, @Airbnb @ESLint + @Prettier, @YarnPKG + @Lerna independent versioning, GH @Actions & automated dep updates with @RenovateBot.
Stars: ✭ 459 (+2315.79%)
Mutual labels:  automation, jest
Egghead Next
The frontend for egghead.io.
Stars: ✭ 896 (+4615.79%)
Mutual labels:  jest
React Redux Boilerplate
A minimal React-Redux boilerplate with all the best practices
Stars: ✭ 799 (+4105.26%)
Mutual labels:  jest
Robotgo
RobotGo, Go Native cross-platform GUI automation @vcaesar
Stars: ✭ 7,095 (+37242.11%)
Mutual labels:  automation
Webdriverio
Next-gen browser and mobile automation test framework for Node.js
Stars: ✭ 7,214 (+37868.42%)
Mutual labels:  automation
Mini Media Player
Minimalistic media card for Home Assistant Lovelace UI
Stars: ✭ 827 (+4252.63%)
Mutual labels:  automation
Archisteamfarm
C# application with primary purpose of idling Steam cards from multiple accounts simultaneously.
Stars: ✭ 7,219 (+37894.74%)
Mutual labels:  automation
Node Express Boilerplate
A boilerplate for building production-ready RESTful APIs using Node.js, Express, and Mongoose
Stars: ✭ 890 (+4584.21%)
Mutual labels:  jest
Flaui
UI automation library for .Net
Stars: ✭ 892 (+4594.74%)
Mutual labels:  automation
Chef
Chef Infra, a powerful automation platform that transforms infrastructure into code automating how infrastructure is configured, deployed and managed across any environment, at any scale
Stars: ✭ 6,766 (+35510.53%)
Mutual labels:  automation
Instagram Profilecrawl
📝 quickly crawl the information (e.g. followers, tags etc...) of an instagram profile.
Stars: ✭ 816 (+4194.74%)
Mutual labels:  automation
Puloversmacrocreator
Automation Utility - Recorder & Script Generator
Stars: ✭ 803 (+4126.32%)
Mutual labels:  automation
Sneaky Scripts
Automated setup of development environments and other miscellaneous scripts.
Stars: ✭ 7 (-63.16%)
Mutual labels:  automation
Schemats
Generate typescript interface definitions from SQL database schema
Stars: ✭ 799 (+4105.26%)
Mutual labels:  automation
Auto App
Crie um aplicativo com todas as tabelas de um dos seus bancos sem uma linha de código.
Stars: ✭ 18 (-5.26%)
Mutual labels:  automation
Babushka
Test-driven sysadmin.
Stars: ✭ 794 (+4078.95%)
Mutual labels:  automation
Triflejs
Headless automation for Internet Explorer
Stars: ✭ 815 (+4189.47%)
Mutual labels:  automation
Vuejs Training
VueJS training including Vue ecosystem: HTTP (Axios), Vuex, Unit Testting (Jest)...
Stars: ✭ 6 (-68.42%)
Mutual labels:  jest
Casbin Example
A Demo App of Attribute-based Access Control in Node.js Based on Casbin.
Stars: ✭ 19 (+0%)
Mutual labels:  jest
Homebridge Garagedoor Command
Homebridge plugin to control a garage door using command line functions
Stars: ✭ 18 (-5.26%)
Mutual labels:  automation

WebdriverIO with Jest

CircleCI

This is the simplest possible example of a WebdriverIO test written with the Jest framework.

Because WebdriverIO doesn't support Jest as a first-class citizen, this test suite leverages the WebdriverIO remote API. This means that we need to do a few things ourselves, such as starting up Selenium server as well as the browser. It also means that we must use async/await statements.

How to use it

npm install
npm test

Picking a different browser

The browser is chosen based on the BROWSER_NAME environment variable, defaulting to chrome.

Examples:

BROWSER_NAME=chrome npm test
BROWSER_NAME=safari npm test
BROWSER_NAME=firefox npm test
BROWSER_NAME="internet explorer" npm test
BROWSER_NAME=MicrosoftEdge npm test

Running with Chrome headless

Simply set the HEADLESS environment variable to 1:

HEADLESS=1 npm test

TypeScript

Check out the typescript branch for the equivalent test written in TypeScript.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].