test: retarget form-config and post tests from retired japan-korea-2026 to italy-2026-demo
The japan-korea-2026 trip is retired; italy-2026-demo is the vetted go-forward fixture (already used by the Playwright suite and matching post-form.md parent). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Np4cMQLF77i664CAQXySzU
This commit is contained in:
@@ -26,7 +26,7 @@ grep -q "add_page:\|addpage:" "$FORM" && ok "Process action is 'add_page' (plugi
|
|||||||
|
|
||||||
# Config must be in frontmatter, not in the process block
|
# Config must be in frontmatter, not in the process block
|
||||||
check_grep "pageconfig block exists in frontmatter" "^pageconfig:"
|
check_grep "pageconfig block exists in frontmatter" "^pageconfig:"
|
||||||
check_grep "parent set to /trips/japan-korea-2026/dailies" "parent: '/trips/japan-korea-2026/dailies'"
|
check_grep "parent set to /trips/italy-2026-demo/dailies" "parent: '/trips/italy-2026-demo/dailies'"
|
||||||
check_grep "slug_field set (determines entry folder name)" "slug_field:"
|
check_grep "slug_field set (determines entry folder name)" "slug_field:"
|
||||||
check_grep "pagefrontmatter block exists in frontmatter" "^pagefrontmatter:"
|
check_grep "pagefrontmatter block exists in frontmatter" "^pagefrontmatter:"
|
||||||
check_grep "template: entry (creates entry.md filename)" "template: entry"
|
check_grep "template: entry (creates entry.md filename)" "template: entry"
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ set -euo pipefail
|
|||||||
BASE_URL="${GRAV_BASE_URL:-http://localhost:8081}"
|
BASE_URL="${GRAV_BASE_URL:-http://localhost:8081}"
|
||||||
USER="${GRAV_TEST_USER:-}"
|
USER="${GRAV_TEST_USER:-}"
|
||||||
PASS="${GRAV_TEST_PASS:-}"
|
PASS="${GRAV_TEST_PASS:-}"
|
||||||
TRACKER="user/pages/01.trips/japan-korea-2026/01.dailies"
|
TRACKER="user/pages/01.trips/italy-2026-demo/01.dailies"
|
||||||
COOKIE_JAR="$(mktemp /tmp/grav-test-cookies.XXXXXX)"
|
COOKIE_JAR="$(mktemp /tmp/grav-test-cookies.XXXXXX)"
|
||||||
PASS_COUNT=0
|
PASS_COUNT=0
|
||||||
FAIL_COUNT=0
|
FAIL_COUNT=0
|
||||||
|
|||||||
Reference in New Issue
Block a user