1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00
joplin/packages/app-desktop/integration-tests
Henry Heino 13d8fbbd65
Chore: Desktop: Fix test failures due to race condition ()
Co-authored-by: Laurent Cozic <laurent22@users.noreply.github.com>
2024-11-20 11:35:22 +00:00
..
models Chore: Desktop: Fix test failures due to race condition () 2024-11-20 11:35:22 +00:00
resources Desktop: Fixes : Plugin API: Save changes made with editor.setText () 2024-09-26 11:35:32 +01:00
util Chore: Desktop: Fix test failures due to race condition () 2024-11-20 11:35:22 +00:00
goToAnything.spec.ts Chore: Desktop: Fix test failures due to race condition () 2024-11-20 11:35:22 +00:00
main.spec.ts Chore: Desktop: Fix test failures due to race condition () 2024-11-20 11:35:22 +00:00
markdownEditor.spec.ts Chore: Desktop: Fix test failures due to race condition () 2024-11-20 11:35:22 +00:00
noteList.spec.ts Chore: Desktop: Fix test failures due to race condition () 2024-11-20 11:35:22 +00:00
pluginApi.spec.ts Chore: Desktop: Fix test failures due to race condition () 2024-11-20 11:35:22 +00:00
README.md
richTextEditor.spec.ts Chore: Desktop: Fix test failures due to race condition () 2024-11-20 11:35:22 +00:00
run-ci.sh Chore: Rename instances of yarn run to just yarn 2024-01-26 20:19:28 +00:00
settings.spec.ts Chore: Desktop: Fix test failures due to race condition () 2024-11-20 11:35:22 +00:00
sidebar.spec.ts Chore: Desktop: Fix test failures due to race condition () 2024-11-20 11:35:22 +00:00
simpleBackup.spec.ts Chore: Desktop: Fix test failures due to race condition () 2024-11-20 11:35:22 +00:00
wcag.spec.ts Chore: Desktop: Fix test failures due to race condition () 2024-11-20 11:35:22 +00: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: