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

Function deleteWorkflowEntry

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

Source from the content-addressed store, hash-verified

161}
162
163function deleteWorkflowEntry({ title }) {
164 cy.contains('a', title)
165 .parent()
166 .within(() => {
167 cy.contains('button', 'Delete new entry').click({ force: true });
168 });
169
170 assertNotification(notifications.deletedUnpublished);
171}
172
173const STATUS_BUTTON_TEXT = 'Status:';
174

Callers 1

open_authoring.jsFile · 0.90

Calls 1

assertNotificationFunction · 0.85

Tested by

no test coverage detected