Assert how many submissions a webform has, by the form's title, as the Webforms overview (/admin/structure/webform) counts them in its "Results" column. Needs a user who may administer webforms.
Examples
Then the "Contact" form should have 1 submission
And the "Contact" form should have 0 submissions
Then the "Contact" form should have at least 1 submission
And the "Newsletter" form should have 3 submissions
Then the "Feedback" form should have at least 2 submissions
Pattern
Then(/^the "([^"]*)" form should have (at least )?(\d+) submissions?$/, …)
Part of @webship-js/drupal-cms-steps (github.com/webship/drupal-cms-steps), a step pack for Webship-js 2.0.x.