Skip to content

Commit 77fbf5b

Browse files
jennifer-shehaneAtofStryker
authored andcommitted
reduce viewport for percy snapshot
1 parent 40c81d0 commit 77fbf5b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/app/cypress/e2e/runner/ui-states.cy.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,9 @@ describe('src/cypress/runner ui states', { retries: 0, defaultCommandTimeout: 60
186186
})
187187

188188
it('long error', () => {
189+
// The request error includes a datetime, so decrease viewport height
190+
// so the snapshot doesn't include the datetime
191+
cy.viewport(1000, 1400)
189192
loadSpec({
190193
filePath: 'runner/ui-states/errors.cy.js',
191194
failCount: 2,

0 commit comments

Comments
 (0)