Skip to content

Commit 210793a

Browse files
committed
WIP
1 parent cfba5fb commit 210793a

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

test/e2e/index.test.ts

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -269,15 +269,17 @@ describe('e2e', () => {
269269
it.only('icon button trigger', async () => {
270270
await renderFixture('Tooltip/ControlledTooltip');
271271

272-
expect(screen.getByRole('tooltip')).to.equal(null);
272+
const tooltip = page.getByRole('tooltip');
273273

274-
await page.mouse.move(20, 20);
274+
expect(tooltip).to.equal(null);
275275

276-
expect(screen.getByRole('tooltip')).not.to.equal(null);
276+
// await page.mouse.move(20, 20);
277277

278-
await page.mouse.move(50, 50);
278+
// await expect(screen.getByRole('tooltip')).not.to.equal(null);
279279

280-
expect(screen.getByRole('tooltip')).to.equal(null);
280+
// await page.mouse.move(50, 50);
281+
282+
// await expect(screen.getByRole('tooltip')).to.equal(null);
281283
});
282284
});
283285
});

0 commit comments

Comments
 (0)