Then the list should have the column "category"

The list has a column, by its heading, or does not.

Examples

Then the list should have the column "category"
Then the list should not have the column "summary"
And the list should have the column "status"
Then the list should have the column "Available in"
Then the list should not have the column "category"

Pattern

Then(/^the list should (not )?have the column "([^"]*)"$/, …)

Part of @webship-js/strapi-steps (github.com/webship/strapi-steps), a step pack for Webship-js 2.0.x.