Make a test entry with the fields of a table (a field and its value per row; a relation by the names of the entries it holds, a true/false field by "true" or "false", the locale by its name). A row "status" sets it published or modified.
Examples
Given there is an "Article" entry "Table test article" with:
Given there is a published "Article" entry "Table test article" with:
And there is an "Article" entry "Category test article" with:
Given there is a modified "Article" entry "Modified table article" with:
Given there is a "Category" entry "Table test category" with:
Pattern
Given(/^there is an? (?:(draft|published|modified) )?"([^"]*)" entry "([^"]*)" with:$/, …)
Part of @webship-js/strapi-steps (github.com/webship/strapi-steps), a step pack for Webship-js 2.0.x.