Skip to content

Commit

Permalink
Normal
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Nov 21, 2024
1 parent 693b4f3 commit 01610bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion products/jbrowse-web/src/tests/AlignmentsFilters.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ async function testFilterTrack(
)
await user.type(await screen.findByPlaceholderText('Enter tag value'), value)
await user.click(await screen.findByText('Submit'))
await screen.findAllByTestId(`pileup-overlay-${tag}`, ...opts)
await screen.findAllByTestId(`pileup-overlay-normal-${tag}`, ...opts)
const f1 = within(await screen.findByTestId('Blockset-pileup'))
expectCanvasMatch(await f1.findByTestId(pv(key), ...opts))
}
Expand Down
4 changes: 2 additions & 2 deletions products/jbrowse-web/src/tests/AlignmentsSort.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ test('selects a sort, sort by base pair', async () => {
await user.click(await screen.findByTestId('track_menu_icon', ...opts))
await user.click(await screen.findByText('Sort by...'))
await user.click(await screen.findByText('Base pair'))
await screen.findAllByTestId('pileup-overlay-Base pair', ...opts)
await screen.findAllByTestId('pileup-overlay-Base pair-normal', ...opts)
const f1 = within(await screen.findByTestId('Blockset-pileup'))
expectCanvasMatch(await f1.findByTestId(pv('13196..13230-0'), ...opts))
await new Promise(resolve => setTimeout(resolve, 1000))
await user.click(await screen.findByTestId('zoom_out'))
await screen.findAllByTestId('pileup-overlay-Base pair', ...opts)
await screen.findAllByTestId('pileup-overlay-Base pair-normal', ...opts)
const f2 = within(await screen.findByTestId('Blockset-pileup'))
expectCanvasMatch(await f2.findByTestId(pv('13161..13230-0'), ...opts))
}, 35000)

0 comments on commit 01610bb

Please sign in to comment.