MCPcopy Create free account
hub / github.com/decaporg/decap-cms / deleteWorkflowEntry

Function deleteWorkflowEntry

cypress/utils/steps.js:156–164  ·  view source on GitHub ↗
({ title })

Source from the content-addressed store, hash-verified

154}
155
156function deleteWorkflowEntry({ title }) {
157 cy.contains('a', title)
158 .parent()
159 .within(() => {
160 cy.contains('button', 'Delete new entry').click({ force: true });
161 });
162
163 assertNotification(notifications.deletedUnpublished);
164}
165
166const STATUS_BUTTON_TEXT = 'Status:';
167

Callers 1

open_authoring.jsFile · 0.90

Calls 1

assertNotificationFunction · 0.85

Tested by

no test coverage detected