Given there is an "Article" entry "Data step article"

Make a test entry of a collection type, a draft, through the admin's API as the data administrator; it is deleted after the scenario, whatever happens.

Examples

Given there is an "Article" entry "Data step article"
Given there is a "Category" entry "Data step category"
And there is an "Article" entry "Locale test article"
Given there is an "Article" entry "Bulk test article one"
And there is an "Article" entry "Relation test article"

Pattern

Given(/^there is an? "([^"]*)" entry "([^"]*)"$/, …)

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