This commit is contained in:
Yury Semikhatsky 2025-02-24 10:41:42 -08:00
parent 513ea8d7af
commit 41e604777c

View file

@ -25,7 +25,8 @@ test('pointer events', async ({ page }) => {
</script> </script>
`); `);
await page.getByText('Hello!').click(); await page.getByText('Hello!').click();
expect(await page.evaluate(() => (window as any).events)).toEqual(['pointermove', 'pointerdown', 'pointerup']); expect(await page.evaluate(() => (window as any).events))
.toEqual(['pointermove', 'pointerdown', 'pointerup']);
}); });
``` ```