From 1e2b4015ff05f565d3f6c7699395171624398f52 Mon Sep 17 00:00:00 2001 From: ShaMan123 Date: Sat, 11 Nov 2023 06:32:47 +0200 Subject: [PATCH] apply review --- e2e/tests/SSR/index.spec.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/e2e/tests/SSR/index.spec.ts b/e2e/tests/SSR/index.spec.ts index ab08f79303d..22480c2fead 100644 --- a/e2e/tests/SSR/index.spec.ts +++ b/e2e/tests/SSR/index.spec.ts @@ -19,6 +19,8 @@ test.describe('SSR', () => { test.beforeAll(({}, testInfo) => { testInfo.setTimeout(60 * 1000); + // import `startSandbox` directly once ESM is supported + // https://playwright.dev/docs/release-notes#improved-typescript-support task = exec(`npm start next -- -p ${PORT} --no-watch`, { cwd: process.cwd(), }); @@ -52,7 +54,7 @@ test.describe('SSR', () => { await page.getByRole('textbox').press('Control+a'); await page .getByRole('textbox') - .fill("fabric supports SSR!\nIsn't that amazing?!"); + .fill('fabric can be used in SSR frameworks'); await page.waitForTimeout(50); expect(await page.screenshot()).toMatchSnapshot(); });