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

Function flushClockAndSave

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

Source from the content-addressed store, hash-verified

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