From 3d9668f8fa2b86bf1d70246158c253372ceb53e1 Mon Sep 17 00:00:00 2001 From: jerch Date: Fri, 4 Oct 2024 15:50:36 +0200 Subject: [PATCH] fix dispose error in Terminal.test.ts --- test/playwright/Terminal.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/playwright/Terminal.test.ts b/test/playwright/Terminal.test.ts index aea90cdf00..ebc2136a7d 100644 --- a/test/playwright/Terminal.test.ts +++ b/test/playwright/Terminal.test.ts @@ -690,7 +690,7 @@ test.describe('API Integration Tests', () => { window.term = new Terminal(); window.term.dispose(); `); - strictEqual(await ctx.page.evaluate(`window.term._core._isDisposed`), true); + strictEqual(await ctx.page.evaluate(`window.term._core._store._isDisposed`), true); }); test('dispose (opened)', async () => { @@ -702,7 +702,7 @@ test.describe('API Integration Tests', () => { } catch {} } `); - strictEqual(await ctx.page.evaluate(`window.term._core._isDisposed`), true); + strictEqual(await ctx.page.evaluate(`window.term._core._store._isDisposed`), true); }); test('render when visible after hidden', async () => {