Delete an automation: open it from the list, its editor's Menu, Delete, and the app's question "Delete automation?"; wait for the list without it.
Examples
When I delete the automation "Webship test lights"
And we delete the automation "Webship test lights"
When I delete the automation "Webship test morning"
Then I delete the automation "Webship test away"
And I delete the automation "Webship test lights"
Pattern
When(/^(?:I |we )?delete the automation "([^"]*)"$/, …)
Part of @webship-js/home-assistant-steps (github.com/webship/home-assistant-steps), a step pack for Webship-js 2.0.x.