Skip to content

Commit

Permalink
Misc
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Aug 8, 2024
1 parent 535e448 commit ff8f15d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ const PileupRendering = observer(function (props: {
<div
ref={ref}
data-testid={[
'pileup',
'pileup-overlay',
sortedBy?.type,
colorBy?.type,
colorBy?.tag,
Expand Down
2 changes: 1 addition & 1 deletion products/jbrowse-web/src/tests/Alignments.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ test('opens an alignments track and clicks feature', async () => {
expectCanvasMatch(await f1.findByTestId(pv('1..4000-0'), ...opts))
expectCanvasMatch(await f2.findByTestId(pv('1..4000-0'), ...opts))

const track = await findAllByTestId('pileup_overlay_canvas')
const track = await findAllByTestId('pileup')
fireEvent.mouseMove(track[0], { clientX: 200, clientY: 20 })
fireEvent.click(track[0], { clientX: 200, clientY: 40 })
fireEvent.mouseDown(track[0], { clientX: 200, clientY: 20 })
Expand Down
4 changes: 2 additions & 2 deletions products/jbrowse-web/src/tests/ReadVsRef.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ test('launch read vs ref panel', async () => {
await findByTestId(hts('volvox_alignments_pileup_coverage'), {}, delay),
)

const track = await findAllByTestId('pileup_overlay_canvas', {}, delay)
const track = await findAllByTestId('pileup-overlay', {}, delay)
fireEvent.mouseMove(track[0], { clientX: 200, clientY: 20 })
fireEvent.click(track[0], { clientX: 200, clientY: 40 })
fireEvent.contextMenu(track[0], { clientX: 200, clientY: 20 })
Expand All @@ -41,7 +41,7 @@ test('launch read vs ref dotplot', async () => {
await findByTestId(hts('volvox_alignments_pileup_coverage'), {}, delay),
)

const track = await findAllByTestId('pileup_overlay_canvas', {}, delay)
const track = await findAllByTestId('pileup-overlay', {}, delay)
fireEvent.mouseMove(track[0], { clientX: 200, clientY: 20 })
fireEvent.click(track[0], { clientX: 200, clientY: 40 })
fireEvent.contextMenu(track[0], { clientX: 200, clientY: 20 })
Expand Down

0 comments on commit ff8f15d

Please sign in to comment.