enso/app/ide-desktop
somebody1234 3c31155fe9
Dashboard tests (#7656)
- Implements https://github.com/enso-org/cloud-v2/issues/631
- Tests for dashboard (`app/ide-desktop/lib/dashboard/`):
- End-to-end tests
- Unit tests
- Component tests

The purpose of this PR is to introduce the testing framework - more tests can be added later in separate PRs.

# Important Notes
To test, run `npm run test` in `app/ide-desktop`, or `app/ide-desktop/lib/dashboard/`. All tests should pass.

Individual test types can be run using `npm run test-unit`, `npm run test-component` and `npm run test-e2e` in `app/ide-desktop/lib/dashboard/`.
Individual end-to-end tests can be run using `npx playwright test -c playwright-e2e.config.ts test-e2e/<file name>.spec.ts` in `app/ide-desktop/lib/dashboard/`.

End-to-end tests require internet access to pass (for things like fonts).

This PR *does* check in screenshots to guard against visual regessions (and/or to make visual changes obvious)
2023-10-11 10:24:33 +00:00
..
.vscode Trash and Recent categories (#7682) 2023-09-27 07:22:48 +00:00
lib Dashboard tests (#7656) 2023-10-11 10:24:33 +00:00
.gitignore Replace webpack with esbuild (#3592) 2022-08-10 03:41:44 +02:00
debugGlobals.ts Improve assets table display (#7500) 2023-08-28 18:01:40 +00:00
eslint.config.js Dashboard tests (#7656) 2023-10-11 10:24:33 +00:00
package.json [GUI2] Fix and add tests for delta format translation. (#7968) 2023-10-04 10:53:54 +00:00
tsconfig.json [Gui2] Opening projects and language server connection (#7813) 2023-09-22 03:43:25 +00:00
utils.ts Enable require-jsdoc lint and add two lints related to React (#6403) 2023-05-19 19:55:29 +00:00