Skip to content

Commit

Permalink
Add some integration test timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Jan 16, 2025
1 parent caaf591 commit 91d3611
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions products/jbrowse-web/src/tests/LGVSynteny.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ beforeEach(() => {
doBeforeEach()
})

const delay = { timeout: 5000 }
const delay = { timeout: 50000 }
const opts = [{}, delay]

test('nav to synteny from right click', async () => {
Expand All @@ -22,7 +22,7 @@ test('nav to synteny from right click', async () => {
await view.navToLocString('ctgA:30,222..33,669')
await user.click(await findByTestId(hts('volvox_ins.paf'), ...opts))

const track = await findAllByTestId('pileup-overlay-strand')
const track = await findAllByTestId('pileup-overlay-strand', ...opts)
fireEvent.mouseMove(track[0]!, { clientX: 200, clientY: 5 })
fireEvent.contextMenu(track[0]!, { clientX: 200, clientY: 5 })
fireEvent.click(await findByText('Launch synteny view for this position'))
Expand All @@ -43,7 +43,7 @@ test('nav to synteny from feature details', async () => {
await view.navToLocString('ctgA:30,222..33,669')
await user.click(await findByTestId(hts('volvox_ins.paf'), ...opts))

const track = await findAllByTestId('pileup-overlay-strand')
const track = await findAllByTestId('pileup-overlay-strand', ...opts)
fireEvent.mouseMove(track[0]!, { clientX: 200, clientY: 5 })
fireEvent.click(track[0]!, { clientX: 200, clientY: 5 })
fireEvent.click(
Expand Down

0 comments on commit 91d3611

Please sign in to comment.