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

Patrick Kollitsch
13 hours ago fc572dc9943df8430058d0ab3f9e36e84472ffb1
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 09:19 +0100
commitfc572dc9943df8430058d0ab3f9e36e84472ffb1
tree 6a10d6f26324c5cdbb8be40162a7ac5b3e13f977 tree | zip | gz
parent e29f575765a6b46d7c38fd3171cb052db7d67b2c 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