Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fishbowler/cypress-todo
Cypress tests of Alan Richardson's TODO app
https://github.com/fishbowler/cypress-todo
Last synced: about 1 month ago
JSON representation
Cypress tests of Alan Richardson's TODO app
- Host: GitHub
- URL: https://github.com/fishbowler/cypress-todo
- Owner: Fishbowler
- License: apache-2.0
- Created: 2024-01-06T19:26:34.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-27T13:09:34.000Z (4 months ago)
- Last Synced: 2024-11-02T03:42:07.074Z (3 months ago)
- Language: JavaScript
- Size: 189 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cypress-todo
Cypress tests of Alan Richardson's TODO app
![CI](https://github.com/Fishbowler/cypress-todo/actions/workflows/build.yml/badge.svg)
## Running
There's a Github Action running any commits or PRs to main
To run locally, clone, install dependencies with `npm ci` and run with `npm test`.
## State
Things I like:
* Page object model
* Visual regression testing
* Checks for explicit cookies
* Use of Github ActionsThings I want:
* Generic checks for error-level logging in the browser console - it will pick up javascript errors and missing resources
* Store credentials in an Ansible vault - plain text credentials are grossAdditional tests needed:
* Admin View (it has no functionality, but for completeness)
* Including log out
* Within Login Page
* Remember me (an additional cookie property is set)
* Within task list:
* Mark all as complete
* Clear completed tasks button
* Generally, more variation on the established tests, e.g.
* Can I uncheck the 2nd task of a list of 5?
* What happens with extended character sets, e.g. emoji?