An automation has run: its row's "Last triggered" says when, not "Never"; waited for.
Examples
Then the automation "Webship test lights" should have run
And the automation "Webship test lights" should have run
Then the automation "Webship test morning" should have run
And the automation "Webship test away" should have run
Then the automation "Webship test lights" should have run
Pattern
Then(/^the automation "([^"]*)" should have run$/, …)
Part of @webship-js/home-assistant-steps (github.com/webship/home-assistant-steps), a step pack for Webship-js 2.0.x.