1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-15 09:04:04 +02:00
joplin/packages/app-desktop/integration-tests
2023-11-12 15:06:32 +00:00
..
models Chore: Desktop: Set up integration testing with Playwright (#9043) 2023-10-13 17:32:10 +03:00
util Chore: Resolves #9274: Desktop: Fix end-to-end tests when the first window is the devtools window (#9275) 2023-11-12 15:06:32 +00:00
main.spec.ts Chore: Resolves #9274: Desktop: Fix end-to-end tests when the first window is the devtools window (#9275) 2023-11-12 15:06:32 +00:00
README.md Chore: Desktop: Set up integration testing with Playwright (#9043) 2023-10-13 17:32:10 +03:00
run-ci.sh Chore: Desktop: Set up integration testing with Playwright (#9043) 2023-10-13 17:32:10 +03:00

Integration tests

The integration tests in this directory can be run with yarn playwright test.

  • Tests use a test-profile directory that should be re-created before every test.
  • Only one Electron application should be instantiated per test file.
  • Files in the models/ directory follow the page object model.

References

The following sources are helpful for designing and implementing Electron integration tests with Playwright: