When I open the mega menu

Open the "Content Examples" mega-menu dropdown by clicking its Bootstrap toggle button (.nav-link-toggle[data-bs-toggle="dropdown"]). The dropdown is JS-driven (Bootstrap 5), not hover/CSS-only, so an explicit click is required before its nested links can be reached. On a mobile viewport the collapsed navbar is expanded first.

Examples

When I open the mega menu
When we open the mega menu
And I open the mega menu
When I open the content examples mega menu
And we open the mega menu

Pattern

When(/^(I |we )*open the (content examples )*mega menu$/, …)

Part of @webship-js/typo3-steps (github.com/webship/typo3-steps), a step pack for Webship-js 2.0.x.