Skip to content

Commit

Permalink
test: tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
hi-ogawa committed Apr 17, 2024
1 parent 88aed7d commit 29a390f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/vue-ssr/e2e/basic.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { test, expect } from "@playwright/test";

test("basic", async ({ page }) => {
await page.goto("/");
const res = await page.goto("/");
expect(await res?.text()).toContain("hydrated: false");
await expect(page.locator("#root")).toContainText("hydrated: true");
await expect(page.locator("#root")).toContainText("Count: 0");
await page.getByRole("button", { name: "+" }).click();
Expand Down

0 comments on commit 29a390f

Please sign in to comment.