Then the automations should list "Webship test lights"

The automations page lists an automation, or does not, by its name; waited for.

Examples

Then the automations should list "Webship test lights"
Then the automations should not list "Webship test lights"
And the automations should list "Webship test morning"
And the automations should not list "Webship test morning"
Then the automations should list "Webship test away"

Pattern

Then(/^the automations should (not )?list "([^"]*)"$/, …)

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