/cypress-scroll-position-assertions

Demo of Cypress assertions on page scroll position/offset

Primary LanguageHTMLMIT LicenseMIT

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 <script> 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
  • yarn format will run lint with --fix option on all the examples files (and tests).

LICENSE

Code is licensed under the MIT License.