- Issue created by @RichardGaunt
- 🇦🇺Australia RichardGaunt Melbourne
We are using theme_hook now and this removed the div with the class `table-of-contents-container` in the Drupal template. Test updated and issue fixed.
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)
1. Investigate JS for TOC and why it is not being executed on pages.
Active
1.0
Code
We are using theme_hook now and this removed the div with the class `table-of-contents-container` in the Drupal template. Test updated and issue fixed.