Refactor test helpers to reliably dismiss onboarding and migration modals during UI flows. Replace ad-hoc Settings-only dismissal with a unified dismissOnboardingModals routine that targets privacy, migration, and settings dialogs via testids, interacts with visible controls (checkbox, continue/skip/save buttons) and waits for dialogs to hide. Increase resilience by repeating checks, adding short settle delays, and tightening timeouts. Also add data-testid attributes to PrivacyModal, SettingsModal and DexieMigrationModal to make the selectors deterministic and reduce flakiness in export/upload tests. No production behavior changes. |
||
|---|---|---|
| .. | ||
| files | ||
| unit | ||
| accessibility.spec.ts | ||
| delete.spec.ts | ||
| export.spec.ts | ||
| folders.spec.ts | ||
| global-teardown.ts | ||
| helpers.ts | ||
| landing-routing.spec.ts | ||
| navigation.spec.ts | ||
| play.spec.ts | ||
| upload.spec.ts | ||