forked from baron/baron-sso
16 lines
436 B
TypeScript
16 lines
436 B
TypeScript
import { expect, test } from "@playwright/test";
|
|
import { captureEvidence } from "./helpers/evidence";
|
|
|
|
test.afterEach(async ({ page }, testInfo) => {
|
|
if (testInfo.status === "passed") {
|
|
await captureEvidence(page, testInfo, testInfo.title);
|
|
}
|
|
});
|
|
|
|
test("has title", async ({ page }) => {
|
|
await page.goto("/");
|
|
|
|
// Expect a title "to contain" a substring.
|
|
await expect(page).toHaveTitle(/바론 개발자 서비스/);
|
|
});
|