Skip to content

Commit

Permalink
test(e2e): attempt to stabilize tagging test
Browse files Browse the repository at this point in the history
  • Loading branch information
ozyx committed Aug 16, 2023
1 parent 1d42c4e commit d0b3279
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion e2e/tests/functional/plugins/plot/tagging.e2e.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,10 @@ test.describe('Plot Tagging', () => {
await expect(page.getByText('No tags to display for this item')).toBeVisible();

const canvas = page.locator('canvas').nth(1);

//Wait for canvas to stabilize.
await waitForPlotsToRender(page);

await expect(canvas).toBeInViewport();
await canvas.hover({ trial: true });

// click on the tagged plot point
Expand Down

0 comments on commit d0b3279

Please sign in to comment.