change(ui): added console and events validation
This commit is contained in:
parent
2b6a7cb1b4
commit
ee81791211
7 changed files with 12 additions and 3 deletions
|
|
@ -1,5 +1,8 @@
|
|||
describe('Replayer visual match test', () => {
|
||||
it('Teklogiks sessions on 3 and 20 seconds are same', () => {
|
||||
describe('Replayer visual match test', {
|
||||
viewportHeight: 900,
|
||||
viewportWidth: 1400,
|
||||
}, () => {
|
||||
it('Checking Replayer at breakpoints, user events and console', () => {
|
||||
cy.intercept('/api/account').as('getAccount')
|
||||
cy.intercept('/mobs/*').as('getSession')
|
||||
|
||||
|
|
@ -19,8 +22,14 @@ describe('Replayer visual match test', () => {
|
|||
|
||||
cy.visit('3/session/7585361734083637?jumpto=20000&freeze=true')
|
||||
// adjusting because we have more messages to load
|
||||
cy.wait(5000)
|
||||
cy.wait(4000)
|
||||
|
||||
cy.matchImageSnapshot('2nd-breakpoint');
|
||||
|
||||
cy.get('[data-openreplay-label="User Steps"]').click()
|
||||
cy.matchImageSnapshot('User-Events');
|
||||
|
||||
cy.get('#control-button-network > .controlButton-module__label--YznMl').click()
|
||||
cy.matchImageSnapshot('Network-Events');
|
||||
})
|
||||
})
|
||||
BIN
frontend/cypress/snapshots/1st-breakpoint.snap.png
Normal file
BIN
frontend/cypress/snapshots/1st-breakpoint.snap.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 520 KiB |
BIN
frontend/cypress/snapshots/2nd-breakpoint.snap.png
Normal file
BIN
frontend/cypress/snapshots/2nd-breakpoint.snap.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 400 KiB |
BIN
frontend/cypress/snapshots/Network-Events.snap.png
Normal file
BIN
frontend/cypress/snapshots/Network-Events.snap.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 531 KiB |
BIN
frontend/cypress/snapshots/User-Events.snap.png
Normal file
BIN
frontend/cypress/snapshots/User-Events.snap.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 439 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 164 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 130 KiB |
Loading…
Add table
Reference in a new issue