test(homepage): move the SECTION_ORDER assertion inside its test block
The line and its closing brace sat outside the @test block, leaving a dangling assertion. In-flight from the sectioned-panels work.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user