When I click the link "About" without a full page reload

Click an internal <Link> by its visible text and assert the navigation was a client-side transition (no full page reload). A marker is stamped on window before the click; a full page reload would clear it, whereas client-side SPA routing preserves it. The step waits for the URL path to change before reading the marker.

Examples

When I click the link "About" without a full page reload
When we click the link "Home" without a full page reload
And I click the link "Page 2" without a full page reload
When click the link "Blog" without a full page reload
When I click the link "Contact" without a full page reload

Pattern

When(/^(I |we )*click the link "([^"]*)?" without a full page reload$/, …)

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