Assert the description (the text under the heading) of the open modal: a confirmation's question.
Examples
Then the modal should ask "Are you sure you would like to do this?"
Then the modal should ask "Are you sure you want to delete this?"
And the modal should ask "Are you sure you would like to do this?"
Then the modal should ask "This will put the project on hold."
And the modal should ask "Are you sure you would like to do this?"
Pattern
Then(/^the modal should ask "([^"]*)"$/, …)
Part of @webship-js/filament-steps (github.com/webship/filament-steps), a step pack for Webship-js 2.0.x.