Buchungskalender: UI-Durchlauf – Zustimmungs-Hinweis verschwindet nicht

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
knsoandClaude Opus 5.5 committed 2026-10-07 15:05:45 +00:00
1 parent e5793fd151
commit cb0799a35c
2 files changed
+6

No files matched your search

+1
View File
@@ -10,6 +10,7 @@
/* -------------------------------------------------- Hinweise und Meldungen --- */
.sh-box { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; margin-bottom: 16px; padding: 12px 16px; border-radius: 12px; font-size: 14px; line-height: 1.5; }
.sh-box[hidden] { display: none; }
.sh-box-warn { background: rgba(251, 191, 36, 0.12); border: 1px solid rgba(251, 191, 36, 0.45); }
.sh-box-info { background: var(--kb-purple-soft); border: 1px solid var(--kb-purple-line); }
.sh-hinweise:empty { display: none; }
+5
View File
@@ -821,3 +821,8 @@ test('Anfrageformular: 409 lädt die Ansicht neu, die Meldung bleibt sichtbar; P
})()
vergissAuswahl()
})
test('CSS: ein ausgeblendetes .sh-box (hidden) bleibt unsichtbar (Hinweis zur Zustimmung in den Einstellungen)', () => {
const css = readFileSync(new URL('../public/shop.css', import.meta.url), 'utf8')
assert.match(css, /\.sh-box\[hidden\]\s*\{\s*display:\s*none/)
})