fix(ui): fix testing breakpoint
This commit is contained in:
parent
a65e8cbfb2
commit
9c75078c4d
2 changed files with 2 additions and 2 deletions
|
|
@ -119,14 +119,14 @@ describe(
|
|||
cy.get('[data-test-id=log-button]').click();
|
||||
cy.wait('@getAccount')
|
||||
cy.wait(SECOND * 2)
|
||||
cy.visit('3/session/7585361734083637?jumpto=5000&freeze=true')
|
||||
cy.visit('3/session/7585361734083637?jumpto=7500&freeze=true')
|
||||
cy.wait('@getFirstMob')
|
||||
cy.wait('@getSecondMob')
|
||||
cy.wait(SECOND * 2)
|
||||
|
||||
cy.window().then(win => {
|
||||
const jumpMethod = win.playerJump ? win.playerJump : win.playerJumpToTime
|
||||
jumpMethod(SECOND * 5)
|
||||
jumpMethod(SECOND * 7500)
|
||||
})
|
||||
cy.wait(SECOND * 4)
|
||||
cy.matchImageSnapshot('1st-breakpoint');
|
||||
|
|
|
|||
Binary file not shown.
|
Before Width: | Height: | Size: 207 KiB |
Loading…
Add table
Reference in a new issue