enso/app/ide-desktop/lib/client
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
..
src Dashboard tests (#7656) 2023-10-11 10:24:33 +00:00
tasks [Gui2] Opening projects and language server connection (#7813) 2023-09-22 03:43:25 +00:00
bundle.ts Convert dashboard to use esbuild (#6034) 2023-03-31 16:19:07 +02:00
dist.ts Enable require-jsdoc lint and add two lints related to React (#6403) 2023-05-19 19:55:29 +00:00
electron-builder-config.ts Dashboard tests (#7656) 2023-10-11 10:24:33 +00:00
entitlements.mac.plist Refactor gui/src/rust/ide to two app/gui and app/ide-desktop (#3157) 2021-11-16 10:04:56 +01:00
esbuild-config.ts Dashboard tests (#7656) 2023-10-11 10:24:33 +00:00
file-associations.ts Enable require-jsdoc lint and add two lints related to React (#6403) 2023-05-19 19:55:29 +00:00
package.json [GUI2] Module contents editing and synchronization (#7938) 2023-10-02 12:01:03 +00:00
paths.ts Enable require-jsdoc lint and add two lints related to React (#6403) 2023-05-19 19:55:29 +00:00
start.ts Fix some dashboard issues (#6668) 2023-05-26 10:17:03 +00:00
tsconfig.json [GUI2] Module contents editing and synchronization (#7938) 2023-10-02 12:01:03 +00:00
watch.ts Dashboard tests (#7656) 2023-10-11 10:24:33 +00:00