An open API service indexing awesome lists of open source software.

https://github.com/josdem/cypress-workshop

Cypress capabilities demo
https://github.com/josdem/cypress-workshop

applitools cypress javascript mocha

Last synced: 8 days ago
JSON representation

Cypress capabilities demo

Awesome Lists containing this project

README

          

## Cypress Workshop

[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
[![tested with Cypress.io](https://img.shields.io/badge/cypress-dashboard-brightgreen.svg)](https://www.cypress.io/)

This is a getting started project with [Cypress](https://www.cypress.io/)

#### Requirements

- [NodeJS](https://nodejs.org/en/) version `v18.16.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 .
```

#### To run the project

```bash
npx cypress run --browser chrome
```

#### To run interactive

```bash
npx cypress open
```

#### To run the project in [Applitools](https://applitools.com/)

```bash
export APPLITOOLS_API_KEY=${YOUR_APPLITOOLS_API_KEY}
```

where:

- `${YOUR_APPLITOOLS_API_KEY}` is something like: `Ag4hfEVDIMykuCpWk61ppg3VJ9fkK0uht100HXnvGPlag220` (Check with your service provider if you do not have it)

**Note**

If you are using Windows based platform:

```bash
$Env:APPLITOOLS_API_KEY="YOUR_APPLITOOLS_API_KEY"
```

#### Read this as reference
- https://josdem.io/techtalk/ux/cypress_getting_started/
- https://josdem.io/techtalk/ux/cypress_applitools_integration/