We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a437d12 commit bd8454dCopy full SHA for bd8454d
1 file changed
test/playwright/Terminal.test.ts
@@ -389,7 +389,7 @@ test.describe('API Integration Tests', () => {
389
const y = termRect.top + dims.css.cell.height * 0.5;
390
await ctx.page.mouse.click(x, y);
391
392
- strictEqual(callCount, 2);
+ await pollFor(ctx.page, () => callCount, 2);
393
});
394
395
test('should not fire on mousedown when no prior selection', async () => {
@@ -401,6 +401,7 @@ test.describe('API Integration Tests', () => {
401
const x = termRect.left + dims.css.cell.width * 5;
402
403
404
+ await timeout(20);
405
406
strictEqual(callCount, 0);
407
0 commit comments