1
0
forked from baron/baron-sso

devfront Playwright 실패 케이스 수정

This commit is contained in:
2026-06-10 16:28:39 +09:00
parent 01bde0925d
commit 1b075e049f
2 changed files with 23 additions and 7 deletions

View File

@@ -49,12 +49,12 @@ test.describe("DevFront developer request and management", () => {
await page.locator("#reason").fill("Need to test OIDC integration");
// Submit
const submitBtn = page.getByRole("button", {
name: "신청하기",
exact: true,
});
await submitBtn.scrollIntoViewIfNeeded();
await submitBtn.click();
await page
.locator("form")
.filter({ has: page.locator("#reason") })
.evaluate((form) => {
(form as HTMLFormElement).requestSubmit();
});
// Verify Status - Look for "Pending" or "대기" anywhere
await expect(page.locator("body")).toContainText(/대기|Pending/);