mirror of https://github.com/theNewDynamic/gohugo-theme-ananke.git

Patrick Kollitsch
16 hours ago 96eb5778e6af375f5d4e07570e4ff649c6a7f08f
refs
author Patrick Kollitsch <davidsneighbourdev+gh@gmail.com>
Thursday, November 19, 2026 09:19 +0100
committer Patrick Kollitsch <davidsneighbourdev+gh@gmail.com>
Friday, November 20, 2026 00:10 +0100
commit96eb5778e6af375f5d4e07570e4ff649c6a7f08f
tree 031ccf533e56fb1a645af45656085de6c0cc0ea1 tree | zip | gz
parent 16b7d04a90320c5e57e21c775306355fef007393 view | diff
test(e2e): cover the menu button, hook slot, and navigation classes

Add a search form in the navigation-start hook and a configured menu button class to the fixture site. Test the menu button below 60em (toggle, Escape, focus return, 44px submenu targets), its absence on large screens, the class param, the hook slot, inline submenus in the viewport tests, and axe with the open menu at 375px.
3 files modified
1 files added
123 ■■■■■ changed files
tests/e2e/accessibility.spec.ts 14 ●●●●● diff | view | raw | blame | history
tests/e2e/navigation.spec.ts 100 ●●●●● diff | view | raw | blame | history
tests/fixtures/site/hugo.toml 4 ●●●●● diff | view | raw | blame | history
tests/fixtures/site/layouts/_partials/hooks/navigation-start.html 5 ●●●●● diff | view | raw | blame | history