Assert that the results of a form (its page "Results for …" in the administration) list a submission with a text (an address, a name), or do not.
Examples
Then the results of the form "Newsletter sign-up" should list "webship-test-signup@example.com"
Then the results of the form "Newsletter sign-up" should not list "nobody@example.com"
And the results of the form "Webship test form" should list "Webship"
Then the results of the form "Newsletter sign-up" should list "Webship test"
Then the results of the form "Newsletter sign-up" should not list "webship-test-never@example.com"
Pattern
Then(/^the results of the form "([^"]*)" should( not)? list "([^"]*)"$/, …)
Part of @webship-js/mautic-steps (github.com/webship/mautic-steps), a step pack for Webship-js 2.0.x.