Then the order history should list "Processing"

The history of the order on the screen lists a status (with a comment, when one is named).

Examples

Then the order history should list "Processing"
Then the order history should list "Pending"
And the order history should list "Shipped"
Then the order history should not list "Complete"
Then the order history should list "Processing" with "No"

Pattern

Then(/^the order history should( not)? list "([^"]*)"(?: with "([^"]*)")?$/, …)

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