docs(tasks): remove completed Task 22 setup flow test issue
Make master_password_hash optional in development config None default allows env var to override. Hardcoded dev hash removed.
This commit is contained in:
@@ -1,19 +1,3 @@
|
|||||||
## 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
|
## Task 23: UI Setup Flow - Password Strength Weak
|
||||||
|
|
||||||
**Suite:** `Robot.Ui.Setup Flow`
|
**Suite:** `Robot.Ui.Setup Flow`
|
||||||
|
|||||||
@@ -38,12 +38,11 @@ class DevelopmentSettings(BaseSettings):
|
|||||||
)
|
)
|
||||||
"""Password salt (non-production value for development)."""
|
"""Password salt (non-production value for development)."""
|
||||||
|
|
||||||
master_password_hash: str = Field(
|
master_password_hash: Optional[str] = Field(
|
||||||
default="$2b$12$wP0KBVbJKVAb8CdSSXw0NeGTKCk"
|
default=None,
|
||||||
"bw4fSAFXIqR2/wDqPSEBn9w7lS",
|
|
||||||
env="MASTER_PASSWORD_HASH"
|
env="MASTER_PASSWORD_HASH"
|
||||||
)
|
)
|
||||||
"""Hash of the master password (dev: 'password')."""
|
"""Hash of the master password. None means not configured (env var overrides)."""
|
||||||
|
|
||||||
master_password: str = Field(default="password", env="MASTER_PASSWORD")
|
master_password: str = Field(default="password", env="MASTER_PASSWORD")
|
||||||
"""Master password for development (NEVER use in production)."""
|
"""Master password for development (NEVER use in production)."""
|
||||||
|
|||||||
Reference in New Issue
Block a user