Given no "Webship test mug" is left in "Catalog > Products"

Delete every record of a list of the back office whose row shows the given text, and confirm each dialog: the clean-up of a scenario. Use it at the start (a failed run may have left records) and at the end. It opens the list from the menu, resets its filters, reads its first page and passes when there is nothing to delete. Works for products, categories, customers, cart rules and customer service threads. A product that was created but never saved with a name is listed as "N/A".

Examples

Given no "Webship test mug" is left in "Catalog > Products"
Given no "Webship test category" is left in "Catalog > Categories"
Then no "newcomer@example.com" is left in "Customers > Customers"
And no "Webship ten percent" is left in "Catalog > Discounts"
Then no "Webship test message" is left in "Customer Service > Customer Service"
Given no "N/A" is left in "Catalog > Products"

Pattern

Given(/^no "([^"]*)" is left in "([^"]*)"$/, …)

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