|
3 年之前 | |
---|---|---|
.. | ||
fixtures | fbce07d47b test: merge cypress and jest enzyme code coverage (#733) | 3 年之前 |
integration | 8235f05eb6 Merge branch 'main' into release | 3 年之前 |
plugins | fbce07d47b test: merge cypress and jest enzyme code coverage (#733) | 3 年之前 |
support | ab896e8514 feat(a11y): modal keyboard focus (#837) | 3 年之前 |
README.md | ccc79b780e test: cypress init (#466) | 3 年之前 |
tsconfig.json | 706ea7a781 chore: update cypress tsconfig | 3 年之前 |
Semi Cypress E2E(End to End) test
Run cypress locally
yarn test:cy
├── fixtures # mock data
│ └── example.json
├── integration # test cases
│ ├── *.spec.js
├── plugins # custom plugins
│ └── index.js
├── support # custom commands
│ ├── commands.js
│ └── index.js
├── tsconfig.json # cypress syntax
Write a test case in the integration
folder;
Debug locally with yarn test:cy
until the use case is passed.