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

Function publishWorkflowEntry

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

Source from the content-addressed store, hash-verified

147}
148
149function publishWorkflowEntry({ title }, timeout) {
150 const options = timeout === undefined ? {} : { timeout };
151 cy.contains('h2', workflowStatus.ready, options)
152 .parent()
153 .within(() => {
154 cy.contains('a', title)
155 .parent()
156 .within(() => {
157 cy.contains('button', 'Publish new entry').click({ force: true });
158 });
159 });
160 // assertNotification(notifications.published);
161}
162
163function deleteWorkflowEntry({ title }) {
164 cy.contains('a', title)

Calls

no outgoing calls

Tested by

no test coverage detected