Remove webgl canvas check

It complicates loading the addon
This commit is contained in:
Daniel Imms
2023-09-08 12:37:53 -07:00
parent ebd27de4e1
commit 1798cab222
@@ -29,16 +29,5 @@ test.describe('WebGL Renderer Integration Tests', async () => {
test.skip(({ browserName }) => browserName === 'firefox');
}
test('dispose removes renderer canvases', async function(): Promise<void> {
strictEqual(await ctx.page.evaluate(`document.querySelectorAll('.xterm canvas').length`), 2);
await ctx.page.evaluate(`addon.dispose()`);
strictEqual(await ctx.page.evaluate(`document.querySelectorAll('.xterm canvas').length`), 0);
// Re-create webgl addon to avoid side effects impacting other tests
await ctx.page.evaluate(`
window.addon = new window.WebglAddon(true);
window.term.loadAddon(window.addon);
`);
});
injectSharedRendererTests(ctxWrapper);
});