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

Function updateExistingPostAndExit

cypress/utils/steps.js:415–422  ·  view source on GitHub ↗
(fromEntry, toEntry)

Source from the content-addressed store, hash-verified

413}
414
415function updateExistingPostAndExit(fromEntry, toEntry) {
416 goToWorkflow();
417 cy.contains('h2', fromEntry.title).parent().click({ force: true });
418 populateEntry(toEntry);
419 exitEditor();
420 goToWorkflow();
421 cy.contains('h2', toEntry.title);
422}
423
424function unpublishEntry(entry) {
425 goToCollections();

Callers 2

open_authoring.jsFile · 0.90

Calls 3

goToWorkflowFunction · 0.85
populateEntryFunction · 0.85
exitEditorFunction · 0.85

Tested by

no test coverage detected