Skip to content

Commit 54df42e

Browse files
Update test screenshots
1 parent ca97d06 commit 54df42e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed
385 Bytes
Loading

packages/jbrowse-plugin-apollo/cypress/e2e/renderTrack.cy.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,9 @@ describe('Simple tests for visuals', () => {
6262
cy.wait(2000) // Wait for render
6363
// This may fail locally due to differences in runtime such as installed
6464
// fonts on. The snapshots used in this test are generated on GitHub Actions
65-
cy.get('canvas[data-testid="canvas"]').compareSnapshot(
66-
'linear-apollo-display-canvas',
67-
)
65+
cy.get('canvas[data-testid="canvas"]').compareSnapshot({
66+
name: 'linear-apollo-display-canvas',
67+
testThreshold: 0.03,
68+
})
6869
})
6970
})

0 commit comments

Comments
 (0)