Skip to content

Sample project to demonstrate how to intercept and change the application CSS with Cypress.

License

Notifications You must be signed in to change notification settings

wlsf82/intercept-css

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Intercept CSS

Sample project to demonstrate how to intercept and change the application CSS with Cypress.

Pre-requirements

It is required to have git, Node.js and npm installed to clone and run this project.

I used versions 2.34.1, v18.15.0, and 9.5.0. of git, Node.js and npm, respectively. I suggest you use the same or later LTS versions.

Installation

After cloning the repository and accessig it, run npm install (or npm i for the short version) to install the dev dependencies.

Tests

Run npm test (or npm t for the short version) to run the tests in headless mode.

Or, run npm run cy:open to open the Cypress App and run the tests in interactive mode.

Test results

After running the tests, you should have a result like the one below.

interceptCSS.cy.js.mp4

Support this project

If you want to support this project, leave a ⭐.


This project was created with 💚 by Walmyr.

About

Sample project to demonstrate how to intercept and change the application CSS with Cypress.

Topics

Resources

License

Stars

Watchers

Forks