fix: Texte zu post_ids und Bearbeitungsrecht nennen forbidden für genannte Live-Seiten; Test für genannte blockierte Live-Seite; Smoke prüft Seiten-IDs numerisch

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Jan-Niclas Loosen
2026-10-18 17:28:19 +02:00
co-authored by Claude Sonnet 5.5
parent 10bed73b24
commit 6b5de199f9
6 changed files with 40 additions and 9 deletions
@@ -120,7 +120,7 @@ tree_rev() { # $1 = post ID
# 1. Two draft pages with one button without preset each.
PAGE1=$(create_page "$PREFIX Seite 1")
PAGE2=$(create_page "$PREFIX Seite 2")
[ -n "$PAGE1" ] && [ -n "$PAGE2" ] || fail "pages not created"
[[ $PAGE1 =~ ^[1-9][0-9]*$ && $PAGE2 =~ ^[1-9][0-9]*$ ]] || fail "pages not created"
for id in "$PAGE1" "$PAGE2"; do
button_attrs "$id" | jq -e '(.modulePreset // null) == null and (.groupPreset // null) == null' >/dev/null \
|| fail "page $id starts with a preset"