change(ui): trying different freeze values

This commit is contained in:
nick-delirium 2023-01-23 13:51:32 +01:00
parent 60ebf45a71
commit f3295d988c
2 changed files with 3 additions and 3 deletions

View file

@ -154,7 +154,7 @@ export default class Animator {
setTimeout(() => {
this.store.update({ freeze: true })
this.pause()
}, 500)
}, 1000)
} else {
setTimeout(() => this.freeze(), 500)
}

View file

@ -16,13 +16,13 @@ describe('Replayer visual match test', {
cy.get('.justify-center > .h-10').click()
cy.wait('@getAccount')
cy.visit('3/session/7585361734083637?jumpto=5000&freeze=true')
cy.wait(4000)
cy.wait(3000)
cy.matchImageSnapshot('1st-breakpoint');
cy.visit('3/session/7585361734083637?jumpto=20000&freeze=true')
// adjusting because we have more messages to load
cy.wait(4500)
cy.wait(4000)
cy.matchImageSnapshot('2nd-breakpoint');