Effect-based Playwright test registration and modifiers.
import { Effect } from "effect";import { Playwright } from "effect-playwright";import { expect, test } from "effect-playwright/test";test.effect("loads a page", () => Effect.gen(function* () { const page = yield* Playwright.Page; yield* page.goto("data:text/html,<title>Effect</title>"); expect(yield* page.title).toBe("Effect"); }),); Copy
import { Effect } from "effect";import { Playwright } from "effect-playwright";import { expect, test } from "effect-playwright/test";test.effect("loads a page", () => Effect.gen(function* () { const page = yield* Playwright.Page; yield* page.goto("data:text/html,<title>Effect</title>"); expect(yield* page.title).toBe("Effect"); }),);
https://playwright.dev/docs/test-annotations
0.6.0
Readonly
Effect-based Playwright test registration and modifiers.
Example
See
https://playwright.dev/docs/test-annotations
Since
0.6.0