Skip to content

Commit

Permalink
Add a small extra timeout for observed flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Oct 22, 2021
1 parent 13b1555 commit 72f2892
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion products/jbrowse-web/src/tests/BasicLinearGenomeView.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,8 @@ describe('valid file tests', () => {
)
const trackRenderingContainer1 = await findByTestId(
'trackRenderingContainer-integration_test-volvox_filtered_vcf',
{},
{ timeout: 10000 },
)
const dragStartEvent = createEvent.dragStart(dragHandle0)
// Have to mock 'dataTransfer' because it's not supported in jsdom
Expand All @@ -170,7 +172,7 @@ describe('valid file tests', () => {
await waitFor(() =>
expect(state.session.views[0].tracks[0].id).toBe(trackId1),
)
})
}, 15000)

it('click and zoom in and back out', async () => {
const pluginManager = getPluginManager()
Expand Down

0 comments on commit 72f2892

Please sign in to comment.