You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it('restores',()=>{cy.clock(+newDate())cy.visit('http://localhost:3000/sudoku')// make sure the application has rendered// and the synthetic clock started workingcy.get('.game__cell--filled').should('have.length',45)cy.tick(600*1000)// 10 minutescy.contains('.status__time','10:00')// resume the clockcy.tick().then(clock=>{clock.restore()})// the clock is restored to original value// thus the timer will start measuring again// from the original date passed to "cy.clock"cy.contains('.status__time','00:03')})
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: