SDC - Table of Contents not displaying on CivicTheme pages

Created on 5 May 2025, 11 days ago

Problem/Motivation

Table of Contents JS is not being executed correctly on the SDC branch. Behat test is failing:

009 Scenario: Render TOC for the relevant data on the page if it is enabled or do not render it at all. # tests/behat/features/toc.render.feature:5
      Then I should see a ".table-of-contents-container" element                                        # tests/behat/features/toc.render.feature:19
        Element matching css ".table-of-contents-container" not found. (Behat\Mink\Exception\ElementNotFoundException)

To fix

1. Investigate JS for TOC and why it is not being executed on pages.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇦🇺Australia RichardGaunt Melbourne

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024