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

Patrick Kollitsch
13 hours ago 0eb3f08f5bdc38ec9002d90feb8eb54db7aef4de
refs
author Patrick Kollitsch <davidsneighbourdev+gh@gmail.com>
Thursday, November 19, 2026 09:19 +0100
committer Patrick Kollitsch <davidsneighbourdev+gh@gmail.com>
Thursday, November 19, 2026 12:51 +0100
commit0eb3f08f5bdc38ec9002d90feb8eb54db7aef4de
tree 06687cbb48d0ab6c1265fad1e067fb2d7ce8bf12 tree | zip | gz
parent 184d3c45d04a0bcbaf00bcac2e24c61d18fa652a 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