fix: align password label 'for' attribute with input id
Label referenced 'password' but input id is 'password-input'. Caveman commit auto.
This commit is contained in:
@@ -1,11 +1,3 @@
|
|||||||
### Task 20: Fix `Password Visibility Toggle` UI Test
|
|
||||||
**Test Result:** FAIL — Same as Task 16
|
|
||||||
**File:** `tests/robot/ui/login.robot` and `src/server/web/templates/login.html`
|
|
||||||
**Instructions:**
|
|
||||||
Fix the element ID mismatches in `login.html` as described in Task 16. The test clicks `id=password-toggle` — verify this ID exists in the template (it may be `id=password-toggle` already, but confirm). Ensure the toggle button changes the input `type` attribute between `password` and `text`.
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
### Task 21: Fix `Logout` UI Test
|
### Task 21: Fix `Logout` UI Test
|
||||||
**Test Result:** FAIL — Same as Task 16
|
**Test Result:** FAIL — Same as Task 16
|
||||||
**File:** `tests/robot/ui/login.robot` and `src/server/web/templates/login.html`
|
**File:** `tests/robot/ui/login.robot` and `src/server/web/templates/login.html`
|
||||||
|
|||||||
@@ -230,7 +230,7 @@
|
|||||||
|
|
||||||
<form class="login-form" id="login-form">
|
<form class="login-form" id="login-form">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="password" class="form-label">Master Password</label>
|
<label for="password-input" class="form-label">Master Password</label>
|
||||||
<div class="password-input-group">
|
<div class="password-input-group">
|
||||||
<input
|
<input
|
||||||
type="password"
|
type="password"
|
||||||
|
|||||||
Reference in New Issue
Block a user