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(); });