MODIFIED Requirements
Requirement: Reproducible Screenshot Capture
Screenshot flows SHALL produce identical, non-conflicting output across multiple runs.
Scenario: Auth flow runs twice without errors
- WHEN
screenshot-auth-flow.yaml is executed
- AND the flow is executed again immediately
- THEN the second run completes successfully
- AND no authentication or user creation errors occur
Scenario: Auth and main flow outputs don't conflict
- WHEN both
screenshot-auth-flow.yaml and screenshot-main-flow.yaml run
- AND both use the same OUTPUT_DIR
- THEN no screenshot files are overwritten
- AND auth flow files use
auth- prefix (e.g., auth-01-login.png)
- AND main flow files use numeric prefix (e.g.,
01-home.png)
Scenario: Seed script cleans auth test state
- WHEN seed script runs
- THEN any existing
newuser@demo.roomy.app user is deleted from Auth emulator
- AND corresponding Firestore documents are removed
Reacties