You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
2 years ago | |
---|---|---|
.. | ||
cypress | 2 years ago | |
.gitignore | 2 years ago | |
README.md | 2 years ago | |
cypress.json | 2 years ago | |
index.html | 2 years ago | |
index.js | 2 years ago | |
package-lock.json | 2 years ago | |
package.json | 2 years ago |
README.md
Asserting sorted dates in Cypress
This demo serves as a minimal working example for the blog post
https://peterbabic.dev/blog/how-to-assert-sorted-dates-cypress
Setup
git clone https://git.peterbabic.dev/demo/datetime-sorted-cypress.git
cd datetime-sorted-cypress
npm install
npm run test
The test should pass. Consider playing with the index.html, re-ordering the dates to affect the test result.
License
MIT