v0.127.2: wizard code hide is manual-only — drop the v0.127.1 auto-blur-on-focus (customers type the verification words from the screen); Elrejtés/Megjelenítés toggle shown from reveal, never automatic
This commit is contained in:
@@ -325,15 +325,22 @@ func TestEscrowTemplates_Render(t *testing.T) {
|
||||
"Ez a kód többé nem jeleníthető meg.",
|
||||
"nem ezen a szerveren",
|
||||
"biztonsági okból újra nem kérhető le",
|
||||
// v0.127.1 polish: the Hungarian preflight detail map + the blur-on-verify toggle.
|
||||
// v0.127.1 polish: the Hungarian preflight detail map + the hide/show toggle
|
||||
// (v0.127.2: manual-only — initial label "Elrejtés", code visible by default).
|
||||
"nincs előkészített jelszó — a varázsló indításkor automatikusan előkészíti",
|
||||
"a rendszerjogosultság hiányzik",
|
||||
"Megjelenítés",
|
||||
">Elrejtés</button>",
|
||||
} {
|
||||
if !strings.Contains(html, want) {
|
||||
t.Errorf("wizard missing %q", want)
|
||||
}
|
||||
}
|
||||
// v0.127.2 (Viktor's live finding): the code must NOT auto-blur when a verification input
|
||||
// gets focus — the customer types from the screen. The hide toggle is manual-only.
|
||||
if strings.Contains(html, "armCodeBlur") || strings.Contains(html, "onfocus=") {
|
||||
t.Error("auto-blur-on-focus must be gone (manual toggle only)")
|
||||
}
|
||||
if strings.Contains(html, "érvényét veszti") {
|
||||
t.Error("fresh wizard must not show the re-ceremony supersede warning")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user