Skip to content

Commit

Permalink
chore(deps): update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mkosir committed Feb 1, 2024
1 parent 8ce237e commit 2e3b42e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions e2e/events.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,14 @@ test("should trigger 'onEnter' event with 'mouseenter' event type when mouse ent
"Event 'onEnter' triggered by 'mouseenter' event type.",
);
});

test("should trigger 'onLeave' event with 'mouseleave' event type when mouse enters tilt element", async ({ page }) => {
const content = page.frameLocator(IFRAME_LOCATOR);

await content.getByLabel('onMove').uncheck();
await content.getByTestId('topMidLeft').hover({ position: { x: 10, y: 10 } });
await content.getByText('Track events:').hover();
await expect(content.getByTestId('evenDescription')).toHaveText(
"Event 'onLeave' triggered by 'mouseleave' event type.",
);
});

0 comments on commit 2e3b42e

Please sign in to comment.