Files
Aniworld/Docs/tasks.md
Lukas 59b77bf833 Clear MASTER_PASSWORD_HASH env var in test setup
Prevents leftover env vars from previous runs causing auth issues.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-28 18:16:06 +02:00

97 lines
3.8 KiB
Markdown

## Task 22: UI Setup Flow - Setup Page Loads
**Suite:** `Robot.Ui.Setup Flow`
**Test:** `Setup Page Loads`
**Result:** FAIL
**Error:** `TimeoutError: locator.waitFor: Timeout 5000ms exceeded. waiting for locator('id=setup-form') to be visible`
**Instructions:**
- The setup flow tests expect `#setup-form` to be visible, but it is not found.
- Investigate the setup page frontend code.
- The app may already be configured, causing the setup page to redirect to the dashboard instead of showing the form.
- Check if a suite-level setup/teardown resets the app to an unconfigured state before running setup flow tests.
- Update the test setup in `tests/robot/ui/setup_flow.robot` or the backend to ensure the setup form is available.
---
## Task 23: UI Setup Flow - Password Strength Weak
**Suite:** `Robot.Ui.Setup Flow`
**Test:** `Password Strength Weak`
**Result:** FAIL
**Error:** `TimeoutError: locator.waitFor: Timeout 5000ms exceeded. waiting for locator('id=setup-form') to be visible`
**Instructions:**
- Same root cause as Task 22: the setup form is not visible.
- Fix the suite setup so the app is in an unconfigured state before each setup flow test.
- Ensure `#setup-form` is rendered when navigating to the setup page.
---
## Task 24: UI Setup Flow - Password Strength Medium
**Suite:** `Robot.Ui.Setup Flow`
**Test:** `Password Strength Medium`
**Result:** FAIL
**Error:** `TimeoutError: locator.waitFor: Timeout 5000ms exceeded. waiting for locator('id=setup-form') to be visible`
**Instructions:**
- Same root cause as Task 22: the setup form is not visible.
- Fix the suite setup so the app is in an unconfigured state before each setup flow test.
- Ensure `#setup-form` is rendered when navigating to the setup page.
---
## Task 25: UI Setup Flow - Password Strength Strong
**Suite:** `Robot.Ui.Setup Flow`
**Test:** `Password Strength Strong`
**Result:** FAIL
**Error:** `TimeoutError: locator.waitFor: Timeout 5000ms exceeded. waiting for locator('id=setup-form') to be visible`
**Instructions:**
- Same root cause as Task 22: the setup form is not visible.
- Fix the suite setup so the app is in an unconfigured state before each setup flow test.
- Ensure `#setup-form` is rendered when navigating to the setup page.
---
## Task 26: UI Setup Flow - Setup Form Validation Empty Password
**Suite:** `Robot.Ui.Setup Flow`
**Test:** `Setup Form Validation Empty Password`
**Result:** FAIL
**Error:** `TimeoutError: locator.waitFor: Timeout 5000ms exceeded. waiting for locator('id=setup-form') to be visible`
**Instructions:**
- Same root cause as Task 22: the setup form is not visible.
- Fix the suite setup so the app is in an unconfigured state before each setup flow test.
- Ensure `#setup-form` is rendered when navigating to the setup page.
---
## Task 27: UI Setup Flow - Setup Form Validation Mismatched Passwords
**Suite:** `Robot.Ui.Setup Flow`
**Test:** `Setup Form Validation Mismatched Passwords`
**Result:** FAIL
**Error:** `TimeoutError: locator.waitFor: Timeout 5000ms exceeded. waiting for locator('id=setup-form') to be visible`
**Instructions:**
- Same root cause as Task 22: the setup form is not visible.
- Fix the suite setup so the app is in an unconfigured state before each setup flow test.
- Ensure `#setup-form` is rendered when navigating to the setup page.
---
## Task 28: UI Setup Flow - Complete Setup Flow
**Suite:** `Robot.Ui.Setup Flow`
**Test:** `Complete Setup Flow`
**Result:** FAIL
**Error:** `TimeoutError: locator.waitFor: Timeout 5000ms exceeded. waiting for locator('id=setup-form') to be visible`
**Instructions:**
- Same root cause as Task 22: the setup form is not visible.
- Fix the suite setup so the app is in an unconfigured state before each setup flow test.
- Ensure `#setup-form` is rendered when navigating to the setup page.