diff --git a/tests/homepage_pages.bats b/tests/homepage_pages.bats index 25d7478..12608e0 100644 --- a/tests/homepage_pages.bats +++ b/tests/homepage_pages.bats @@ -31,14 +31,14 @@ setup() { # renderSection()/renderPanel() components, not in per-page markup. grep -q "renderSection" "$BASE/app.js" grep -q "renderPanel" "$BASE/app.js" + grep -q "SECTION_ORDER" "$BASE/app.js" +} @test "sections render horizontally (one column per section)" { grep -q 'class="sections"' "$BASE/index.html" grep -q 'class="sections"' "$BASE/admin.html" grep -q "repeat(auto-fit" "$BASE/style.css" } - grep -q "SECTION_ORDER" "$BASE/app.js" -} @test "WIP badges distinguish open from closed work" { grep -q "WIP: OPEN" "$BASE/app.js"