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

Function flushClockAndSave

cypress/utils/steps.js:261–268  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

259}
260
261function flushClockAndSave() {
262 withExistingClock(clock => {
263 // some input fields are de-bounced thus require advancing the clock
264 advanceClock(clock);
265 });
266
267 cy.contains('button', 'Save').click();
268}
269
270function populateEntry(entry, onDone = flushClockAndSave) {
271 const keys = Object.keys(entry);

Callers 4

duplicateEntryFunction · 0.85
validateListFieldsFunction · 0.85
validateNestedListFieldsFunction · 0.85

Calls 2

withExistingClockFunction · 0.85
advanceClockFunction · 0.85

Tested by

no test coverage detected