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

Function publishWorkflowEntry

cypress/utils/steps.js:143–154  ·  view source on GitHub ↗
({ title }, timeout)

Source from the content-addressed store, hash-verified

141}
142
143function publishWorkflowEntry({ title }, timeout) {
144 cy.contains('h2', workflowStatus.ready, { timeout })
145 .parent()
146 .within(() => {
147 cy.contains('a', title)
148 .parent()
149 .within(() => {
150 cy.contains('button', 'Publish new entry').click({ force: true });
151 });
152 });
153 // assertNotification(notifications.published);
154}
155
156function deleteWorkflowEntry({ title }) {
157 cy.contains('a', title)

Calls

no outgoing calls

Tested by

no test coverage detected