Then the "Section menu" should stick to the top of the window

An element that sticks to the top of the window once the page scrolls past it (a section menu, a header) is stuck there (uk-sticky-fixed), or with "not" is in its place in the page. It is named by its aria-label, the aria-label of the nav in it, its heading or its id. The step waits for the scroll to settle.

Examples

Then the "Section menu" should stick to the top of the window
Then the "Section menu" should not stick to the top of the window
And the "Section menu" should stick to the top of the window
But the "Section menu" should not stick to the top of the window
Then the "#section-menu" should stick to the top of the window

Pattern

Then(/^the "([^"]*)" should( not)? stick to the top of the window$/, …)

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