https://github.com/bahmutov/sorted-table-example
Cypress testing if the table is sorted by a column
https://github.com/bahmutov/sorted-table-example
cypress-example
Last synced: 9 months ago
JSON representation
Cypress testing if the table is sorted by a column
- Host: GitHub
- URL: https://github.com/bahmutov/sorted-table-example
- Owner: bahmutov
- Created: 2021-11-20T12:28:31.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-01-18T06:16:55.000Z (over 1 year ago)
- Last Synced: 2025-01-18T07:20:37.183Z (over 1 year ago)
- Topics: cypress-example
- Language: JavaScript
- Homepage:
- Size: 632 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# sorted-table-example [](https://github.com/bahmutov/sorted-table-example/actions/workflows/ci.yml)   [![renovate-app badge][renovate-badge]][renovate-app]
> Cypress testing if the table is sorted by a column

🎓 For my course [Cypress Plugins](https://cypress.tips/courses/cypress-plugins) use the branch `cypress-plugins`
Read the blog post [Functional Helpers For Cypress Tests](https://glebbahmutov.com/blog/fp-cy-helpers/) and check out [spec.js](./cypress/integration/spec.js) and [better-spec.js](./cypress/integration/better-spec.js) test files.
Read the blog post [Spy On DOM Methods And Properties](https://glebbahmutov.com/blog/spy-on-dom-methods/) and check out [spy-on-removeAttribute.js](./cypress/integration/spy-on-removeAttribute.js) and [spy-on-innerHTML.js](./cypress/integration/spy-on-innerHTML.js) test files.
Read the blog post [Check Items For Duplicates](https://glebbahmutov.com/blog/check-for-duplicates/) and check out [duplicates-spec.js](./cypress/integration/duplicates-spec.js) tests.
Read the blog post [Do Not Use SHA To Compare HTML During E2E Tests](https://glebbahmutov.com/blog/do-not-use-sha/).
## Videos
- [Add Unit Tests To Verify chai-sorted Assertion Plugin](https://youtu.be/skjPl8wvHEo)
- [Debug Ramda Pipeline in Cypress Test](https://youtu.be/jlBNdJPscJk)
## Small print
Author: Gleb Bahmutov <gleb.bahmutov@gmail.com> © 2021
- [@bahmutov](https://twitter.com/bahmutov)
- [glebbahmutov.com](https://glebbahmutov.com)
- [blog](https://glebbahmutov.com/blog)
- [videos](https://www.youtube.com/glebbahmutov)
- [presentations](https://slides.com/bahmutov)
- [cypress.tips](https://cypress.tips)
License: MIT - do anything with the code, but don't blame me if it does not work.
[renovate-badge]: https://img.shields.io/badge/renovate-app-blue.svg
[renovate-app]: https://renovateapp.com/