Assert the order of two items of the index: the first comes before the second on the current page.
Examples
Then "Launch day" should come before "Writing good scenarios" in the index
Then "A year of releases" should come before "Launch day" in the index
Then "About" should come before "Contact" in the index
And "Harbour" should come before "Meadow" in the index
Then "Note 120" should come before "Note 119" in the index
Pattern
Then(/^"([^"]*)" should come before "([^"]*)" in the index$/, …)
Part of @webship-js/craft-cms-steps (github.com/webship/craft-cms-steps), a step pack for Webship-js 2.0.x.