show sync button for admin
This commit is contained in:
@@ -416,12 +416,13 @@ def test_tuning_page_a11y_and_no_cdn(
|
||||
assert announcer.get_attribute("role") == "status"
|
||||
assert announcer.get_attribute("aria-live") == "polite"
|
||||
|
||||
# ≥44px touch targets on every interactive control.
|
||||
# ≥44px touch targets on every interactive control (the New chat
|
||||
# button is chat-page only — owner rework 2026-08-28 — so it is not
|
||||
# a tuning-page target).
|
||||
for selector in (
|
||||
"#tune-save",
|
||||
"#tune-note",
|
||||
"#nav-tuning",
|
||||
".new-chat-btn",
|
||||
"#sign-out-btn",
|
||||
".tuning-edit",
|
||||
".tuning-delete",
|
||||
@@ -447,7 +448,7 @@ def test_tuning_page_a11y_and_no_cdn(
|
||||
# Dark theme: the page canvas is the phase-08 dark bg (body stays
|
||||
# transparent for the background layers).
|
||||
bg = page.evaluate("() => getComputedStyle(document.documentElement).backgroundColor")
|
||||
assert bg == "rgb(10, 14, 23)", f"expected the dark page bg, got {bg}"
|
||||
assert bg == "rgb(15, 10, 10)", f"expected the dark page bg (rebrand #0f0a0a), got {bg}"
|
||||
|
||||
# Contrast: the live text/background pairs compute ≥ 4.5:1 (AA).
|
||||
pairs = page.evaluate(
|
||||
|
||||
Reference in New Issue
Block a user