Assert the title of the order page: its number, reference and customer, for example "Order #5 KHWLILZLL from John DOE". The text may be a part.
Examples
Then the order page should be titled "KHWLILZLL from John DOE"
Then the order page should be titled "Order #5"
And the order page should be titled "from Clara Customer"
Then the order page should be titled "from Greta Guest"
Then the order page should be titled "Order #"
Pattern
Then(/^the order page should be titled "([^"]*)"$/, …)
Part of @webship-js/prestashop-steps (github.com/webship/prestashop-steps), a step pack for Webship-js 2.0.x.