()
| 258 | } |
| 259 | |
| 260 | function 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 | |
| 269 | function populateEntry(entry, onDone = flushClockAndSave) { |
| 270 | const keys = Object.keys(entry); |
no test coverage detected