Migrate MouseTracking and Terminal to playwright proxy

Fixes #5555
This commit is contained in:
Daniel Imms
2025-12-30 05:37:09 -08:00
parent a8a4455189
commit 0b9a7cb856
2 changed files with 97 additions and 103 deletions
+2 -4
View File
@@ -176,10 +176,8 @@ test.describe('Mouse Tracking Tests', () => {
});
test.beforeEach(async () => {
await ctx.page.evaluate(`
window.calls = [];
window.term.options.fontSize = ${fontSize};
`);
await ctx.page.evaluate(`window.calls = [];`);
await ctx.proxy.setOption('fontSize', fontSize);
await ctx.proxy.resize(cols, rows);
});