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:
co-authored by
Claude Sonnet 5.5
parent
10bed73b24
commit
6b5de199f9
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user