Assert the columns of the submissions on screen: the submission date, then one column per field of the form.
Examples
Then the submissions should have the columns "Submission date", "Subject", "Your Name", "Your Email", "Purpose", "Body"
Then the submissions should have the columns "Submission date", "Subject"
And the submissions should have the columns "Subject", "Body"
Then the submissions should have the columns "Your Email"
Then the submissions should have the columns "Submission date", "Purpose"
Pattern
Then(/^the submissions should have the columns ((?:"[^"]*"(?:, )?)+)$/, …)
Part of @webship-js/wagtail-steps (github.com/webship/wagtail-steps), a step pack for Webship-js 2.0.x.