https://github.com/pbek/e2e-tests
Webpage End2End Tests
https://github.com/pbek/e2e-tests
Last synced: 7 months ago
JSON representation
Webpage End2End Tests
- Host: GitHub
- URL: https://github.com/pbek/e2e-tests
- Owner: pbek
- Created: 2020-11-11T18:58:53.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2025-05-22T20:12:04.000Z (8 months ago)
- Last Synced: 2025-05-22T20:59:23.413Z (8 months ago)
- Language: JavaScript
- Homepage:
- Size: 191 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# End2End Tests
End2End Tests for some of my webpages
## Installation
```bash
npm install
npm run cypress:install
```
## Run tests
```bash
# show test runner in window
npm run cypress:open
# run all tests in the cli
npm run cypress:run
```
If you are running the tests in the cli, you will get videos of the runs in `cypress/videos`.
## Add new tests
You can create new `*.spec.js` files in subfolders (project name) of `cypress/integration`.
## Hints
In Google Chrome / Chromium you can right-click on an element in the dev tools and do a `Copy JS path` (Firefox can't do that).
## NixOS
```bash
# Run Cypress GUI
cypress
```