Skip to content

Commit ebd14fe

Browse files
Update snapshot PNGs
1 parent 7bb2de9 commit ebd14fe

File tree

5 files changed

+9
-1
lines changed

5 files changed

+9
-1
lines changed

packages/jbrowse-plugin-apollo/cypress/cypress-image-diff-screenshots/baseline/renderTrack.cy.ts-gene-model-headless.png renamed to packages/jbrowse-plugin-apollo/cypress/cypress-image-diff-screenshots/baseline/renderTrack.cy.ts-gene-model.png

File renamed without changes.
499 Bytes
Loading
Loading
-23 Bytes
Loading

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ describe('Simple tests for visuals', () => {
1616
})
1717

1818
cy.searchFeatures('TGGT1_200010', 1)
19-
cy.wait(2000)
19+
cy.wait(5000)
20+
// This may fail locally due to differences in runtime such as installed
21+
// fonts on. The snapshots used in this test are generated on GitHub Actions
2022
cy.get('canvas[data-testid="overlayCanvas"]').compareSnapshot('gene-model')
2123
})
2224
it('Shows different glyph types', () => {
@@ -32,6 +34,8 @@ describe('Simple tests for visuals', () => {
3234
}
3335
})
3436
cy.wait(2000) // Wait for render
37+
// This may fail locally due to differences in runtime such as installed
38+
// fonts on. The snapshots used in this test are generated on GitHub Actions
3539
cy.get('canvas[data-testid="seqTrackCanvas"]').compareSnapshot(
3640
'seq-track-canvas',
3741
)
@@ -40,6 +44,8 @@ describe('Simple tests for visuals', () => {
4044
cy.contains('Display types').trigger('mouseover')
4145
cy.contains('LinearApolloSixFrameDisplay').click()
4246
cy.wait(2000) // Wait for render
47+
// This may fail locally due to differences in runtime such as installed
48+
// fonts on. The snapshots used in this test are generated on GitHub Actions
4349
cy.get('canvas[data-testid="canvas"]').compareSnapshot(
4450
'linear-apollo-six-frame-display-canvas',
4551
)
@@ -54,6 +60,8 @@ describe('Simple tests for visuals', () => {
5460
cy.contains('Show...', { timeout: 10_000 }).click()
5561
cy.contains('Show all regions in assembly', { timeout: 10_000 }).click()
5662
cy.wait(2000) // Wait for render
63+
// This may fail locally due to differences in runtime such as installed
64+
// fonts on. The snapshots used in this test are generated on GitHub Actions
5765
cy.get('canvas[data-testid="canvas"]').compareSnapshot(
5866
'linear-apollo-display-canvas',
5967
)

0 commit comments

Comments
 (0)