Skip to content

Commit

Permalink
apply review
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaMan123 committed Nov 11, 2023
1 parent d4c6f31 commit 1e2b401
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion e2e/tests/SSR/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
});
Expand Down Expand Up @@ -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();
});
Expand Down

0 comments on commit 1e2b401

Please sign in to comment.