forked from baron/baron-sso
devfront Playwright 실패 케이스 수정
This commit is contained in:
@@ -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/);
|
||||
|
||||
Reference in New Issue
Block a user