mirror of
https://github.com/enso-org/enso.git
synced 2024-12-29 02:12:25 +03:00
3c31155fe9
- 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)
51 lines
1.2 KiB
Plaintext
51 lines
1.2 KiB
Plaintext
# Build Artefacts
|
|
dist
|
|
target
|
|
|
|
.github/PULL_REQUEST_TEMPLATE.md
|
|
.github/ISSUE_TEMPLATE
|
|
distribution/launcher/THIRD-PARTY
|
|
distribution/engine/THIRD-PARTY
|
|
distribution/project-manager/THIRD-PARTY
|
|
tools/legal-review
|
|
distribution/lib/Standard/*/*/manifest.yaml
|
|
distribution/lib/Standard/*/*/polyglot
|
|
distribution/lib/Standard/*/*/THIRD-PARTY
|
|
distribution/docs-js
|
|
|
|
built-distribution/
|
|
THIRD-PARTY
|
|
|
|
# The files in the `data` directory of our tests may have specific structure or
|
|
# even be malformed on purpose, so we do not want to run prettier on them.
|
|
test/**/data
|
|
|
|
# GUI
|
|
**/scala-parser.js
|
|
**/package-lock.json
|
|
**/msdfgen_wasm.js
|
|
|
|
# Generated files
|
|
app/ide-desktop/lib/client/electron-builder-config.json
|
|
app/ide-desktop/lib/content-config/src/config.json
|
|
app/ide-desktop/lib/dashboard/playwright-report/
|
|
app/ide-desktop/lib/dashboard/playwright/.cache/
|
|
app/gui/view/documentation/assets/stylesheet.css
|
|
app/gui2/rust-ffi/pkg
|
|
Cargo.lock
|
|
build.json
|
|
app/gui2/playwright-report/
|
|
|
|
# Engine Builds can leave these nested working copies.
|
|
# TODO [mwu]: Adjust Engine build to not leave them.
|
|
ci-build/
|
|
enso/
|
|
|
|
# Popular IDEs
|
|
.bsp
|
|
.idea
|
|
.vscode
|
|
|
|
# Stray files generated during build
|
|
svm_*.md
|