Skip to content

Commit e10c463

Browse files
committed
fix: SSR when rendering multiple "root" component.
1 parent 42e407e commit e10c463

15 files changed

Lines changed: 34 additions & 6 deletions

playwright/tests/ssr.test.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,16 @@ import { fileURLToPath } from "url";
66
test.describe.configure({ mode: "serial" });
77
test.use({ viewport: { width: 480, height: 360 } });
88
test.describe("ssr", () => {
9-
const urls = ["/context-svelte", "/context-react", "/preprocessor"];
9+
const urls = [
10+
"/context-svelte",
11+
"/context-react",
12+
"/preprocessor",
13+
"/hooks",
14+
"/dynamic",
15+
"/input",
16+
"/react-router/home",
17+
"/react-router/about",
18+
];
1019

1120
test("client-rendered", async ({ page }) => {
1221
// Create Screenshots using Client Side Rendering.
4.62 KB
Loading
2.88 KB
Loading
199 Bytes
Loading
7.32 KB
Loading
7.36 KB
Loading
4.62 KB
Loading
2.88 KB
Loading
199 Bytes
Loading
7.32 KB
Loading

0 commit comments

Comments
 (0)