HugoDF / cypress-scroll-position-assertions

Demo of Cypress assertions on page scroll position/offset

Home Page:https://codewithhugo.com/cypress-scroll-assertions/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Demo of Cypress assertions on page scroll position/offset

https://codewithhugo.com/cypress-scroll-assertions/

License:MIT License


Languages

Language:HTML 63.3%Language:JavaScript 36.7%