joplin/packages/app-desktop/integration-tests
Henry Heino 694ca6480e
Desktop: Resolves #8742: Prompt to restart in safe mode on renderer process hang/crash (#9153)
2023-10-31 15:05:28 +00:00
..
models Chore: Desktop: Set up integration testing with Playwright (#9043) 2023-10-13 17:32:10 +03:00
util Desktop: Resolves #8742: Prompt to restart in safe mode on renderer process hang/crash (#9153) 2023-10-31 15:05:28 +00:00
README.md Chore: Desktop: Set up integration testing with Playwright (#9043) 2023-10-13 17:32:10 +03:00
main.spec.ts Desktop: Resolves #8742: Prompt to restart in safe mode on renderer process hang/crash (#9153) 2023-10-31 15:05:28 +00:00
run-ci.sh Chore: Desktop: Set up integration testing with Playwright (#9043) 2023-10-13 17:32:10 +03:00

README.md

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: