openreader/tests
Richard R 5428a21b67 refactor(onboarding): modularize onboarding flow logic and improve testability
Extract onboarding flow step resolution and async runner logic into a
dedicated module for better separation of concerns and maintainability.
Refactor context/provider to use new helpers and simplify settings modal
control. Add unit tests for onboarding step resolution and async runner
coalescing. Update e2e helpers and selectors for onboarding modals.
Adjust environment file handling for CI and Docker contexts.

- Add .dockerignore for build hygiene
- Refactor onboarding context and modal logic
- Add src/lib/client/onboarding-flow.ts with core onboarding helpers
- Add onboarding-flow unit tests
- Update Playwright config and scripts for CI env loading
- Improve test selectors for claim modal
- Update .gitignore to exclude all .env* except .env.example

This change increases onboarding logic modularity and reliability, and improves CI/test environment handling.
2026-05-29 18:03:17 -06:00
..
files refactor(pdf-layout): streamline viewer layout settling and harden pdf document loading 2026-05-19 23:02:41 -06:00
unit refactor(onboarding): modularize onboarding flow logic and improve testability 2026-05-29 18:03:17 -06:00
accessibility.spec.ts test(documents): update selectors and assertions for document actions and accessibility 2026-05-28 12:34:29 -06:00
delete.spec.ts test(e2e): disambiguate settings and uploader selectors 2026-05-28 22:46:55 -06:00
export.spec.ts tests: harden pdf readiness waits and extend tts/pdf timeouts 2026-05-24 20:58:57 -06:00
folders.spec.ts fix(onboarding): prevent no-auth auto settings modal races 2026-05-29 09:20:34 -06:00
global-teardown.ts refactor(tts,db,manifest): split tts_segments into normalized entry and variant tables 2026-05-12 17:44:57 -06:00
helpers.ts refactor(onboarding): modularize onboarding flow logic and improve testability 2026-05-29 18:03:17 -06:00
landing-routing.spec.ts tests: harden pdf readiness waits and extend tts/pdf timeouts 2026-05-24 20:58:57 -06:00
navigation.spec.ts tests: harden pdf readiness waits and extend tts/pdf timeouts 2026-05-24 20:58:57 -06:00
play.spec.ts tests: harden pdf readiness waits and extend tts/pdf timeouts 2026-05-24 20:58:57 -06:00
upload.spec.ts test(documents): update selectors and assertions for document actions and accessibility 2026-05-28 12:34:29 -06:00