https://github.com/josdem/applitools-workshop
This project shows how to use Applitools along with WebdriverIO and Mocha Framework to test a website.
https://github.com/josdem/applitools-workshop
applitools mocha nodejs prettier webdriverio
Last synced: 3 months ago
JSON representation
This project shows how to use Applitools along with WebdriverIO and Mocha Framework to test a website.
- Host: GitHub
- URL: https://github.com/josdem/applitools-workshop
- Owner: josdem
- Created: 2021-11-04T12:01:17.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T21:23:54.000Z (over 3 years ago)
- Last Synced: 2025-03-10T20:57:46.397Z (over 1 year ago)
- Topics: applitools, mocha, nodejs, prettier, webdriverio
- Language: JavaScript
- Homepage:
- Size: 43.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Applitools with WebdriverIO
[](https://github.com/prettier/prettier)
This is a workshop to show features around [Applitools](https://applitools.com/) with [Webdriver.io](https://webdriver.io/)
#### Requirements
- [NodeJS](https://nodejs.org/en/) version: `v16.15.0`
**Note:** I recommed to use [NVM](https://github.com/nvm-sh/nvm) to manage NodeJS versions
#### To build the project
```bash
npm install
```
#### To format the project
```bash
npx prettier --write .
```
#### Setting up environment on Linux/Mac
```bash
export APPLITOOLS_API_KEY=${apiKey}
```
#### Setting up environment on Windows
```bash
Set-Item -Path Env:APPLITOOLS_API_KEY -Value ${apiKey}
```
where:
- `${apiKey}` Is your Applitools api key
#### To run the project locally
```bash
npx wdio run wdio.conf.js
```
#### To run a single test
```bash
npx wdio run wdio.conf.js --spec=test/specs/${test}.spec.js
```
where:
`${test}` is the test spec name you want to run
#### Read this as reference
- https://josdem.io/techtalk/ux/webdriverio_getting_started/