Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/hugodf/cypress-scroll-position-assertions

Demo of Cypress assertions on page scroll position/offset
https://github.com/hugodf/cypress-scroll-position-assertions

cypress cypress-example

Last synced: 19 days ago
JSON representation

Demo of Cypress assertions on page scroll position/offset

Awesome Lists containing this project

README

        

## Requirements

- Node 12
- Yarn 1.x or npm

## Setup

1. Clone the repository
2. Run `yarn` or `npm install` installs all required dependencies.

## npm scripts

> Equivalent `npm run ` should also work

- `yarn dev` will run the dev server (static file server of `src` files)
- `yarn cy:open` will run the Cypress GUI
- `yarn cy:run` will run the Cypress suite
- `yarn lint` will lint all of the files with [xo](https://github.com/xojs/xo)
- `yarn format` will run lint with `--fix` option on all the examples files (and tests).

## LICENSE

Code is licensed under the [MIT License](./LICENSE).