Then the router should have changed the view

How the last navigation of the pack's steps ended: the router changed the view (the same document: the page did not load again, and what it held in the browser stays), or a whole page loaded.

Examples

Then the router should have changed the view
Then a whole page should have loaded
And the router should have changed the view
But a whole page should have loaded
Then the router should have changed the view

Pattern

Then(/^(the router should have changed the view|a whole page should have loaded)$/, …)

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