|
|
@@ -487,9 +487,10 @@ def run(ctx):
|
|
|
"the strip's verdict is computed from %s" % marker)
|
|
|
check(goal_page.count("stm-action=\"goal.start\"") >= 2,
|
|
|
"the primary lifecycle button rides the strip (and the status ladder)")
|
|
|
- check("goalHighlightSubnav" in goal_page
|
|
|
- and "statum.afterEvaluate(goalHighlightSubnav)" in goal_page,
|
|
|
- "the anchor sub-nav rebinds its highlight across statum re-renders")
|
|
|
+ check("window.initSubnav" in goal_page
|
|
|
+ and 'class="subnav"' in goal_page
|
|
|
+ and 'data-subnav-section="goal-sec-narrative"' in goal_page,
|
|
|
+ "the anchor sub-nav runs the shared initSubnav engine (T11 unification)")
|
|
|
check("goal.current_activity" in goal_page and "Current activity" not in goal_page,
|
|
|
"the activity lives as ONE muted head line (the card is gone)")
|
|
|
check(".goal-page .card" in open(os.path.join(REPO, "src/pages/app.css")).read(),
|