W12 family names keep their accents, login made without them; W9 banner link colour; W10 recovery-code page one plain line; W11/W24 remote page hides provider login and key fields behind Haladó; unreleased
gates / gates (push) Successful in 1m33s
gates / gates (push) Successful in 1m33s
This commit is contained in:
@@ -146,3 +146,24 @@ func TestR907_PageHeaderWrapsOnAPhone(t *testing.T) {
|
||||
}
|
||||
t.Fatal("no launcher_full parity case")
|
||||
}
|
||||
|
||||
// W9 (rehearsal 2026-10-20): the recovery-code banner's link sits INSIDE the sentence („Helyreállítási kód
|
||||
// létrehozása →") and rendered browser-default blue on the amber bar. A link in a banner sentence takes the banner's
|
||||
// colour and stays underlined.
|
||||
func TestW9_BannerSentenceLinkTakesTheBannerColour(t *testing.T) {
|
||||
data, err := StyleCSS()
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
r := cssRule(t, string(data), ".alert-message a")
|
||||
if !strings.Contains(r, "color: inherit") || !strings.Contains(r, "text-decoration: underline") {
|
||||
t.Errorf(".alert-message a must take the banner's colour and stay underlined: %s", r)
|
||||
}
|
||||
// the banner that carries such a link still has it inside its message
|
||||
s := i18nTestServer(t)
|
||||
for _, lang := range []string{"hu", "en"} {
|
||||
if !strings.Contains(s.i18n.Msg(lang, "layout.a_tavoli_mentes_szunetel_amig"), `<a href="/backup/escrow">`) {
|
||||
t.Fatalf("%s: the escrow banner no longer links inside its sentence — revisit this rule", lang)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user