Skip to content

Commit f602bad

Browse files
committed
Wait for drawer to disappear
1 parent 16c8561 commit f602bad

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ describe('Simple tests for visuals', () => {
1212
// eslint-disable-next-line cypress/no-unnecessary-waiting
1313
cy.wait(5000) // Wait for the gene model to render. It would be better to ensure some element of the canvas is actually there
1414

15+
// Wait for the Job list drwaer to disappear so we don't affect the size of the image
16+
cy.get('input[value="JobList"]', { timeout: 60_000 }).should('not.exist')
17+
1518
cy.get('canvas[data-testid="overlayCanvas"]').compareSnapshot('gene-model')
1619
})
1720
})

0 commit comments

Comments
 (0)