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:
2026-06-26 21:08:47 +02:00
parent 3cfea2e3b3
commit 7e4aeb22db
2 changed files with 1 additions and 9 deletions

View File

@@ -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`

View File

@@ -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"