ci 수정
CI / test (push) Successful in 4m50s
CI / e2e (push) Has been skipped
CI / pr_and_merge (push) Successful in 1m40s

This commit is contained in:
2025-12-07 19:46:56 +09:00
parent 243083261f
commit 4bb4c83054
9 changed files with 21 additions and 12 deletions
+3 -3
View File
@@ -178,7 +178,7 @@ describe("FormControllerPanel", () => {
).toBeTruthy();
});
it("Google Sheets 가이드 모달의 Apps Script 코드가 컨트롤러에 매핑된 전송 키와 작성일시를 포함해야 한다", () => {
it("Google Sheets 가이드 모달의 Apps Script 코드가 컨트롤러에 매핑된 전송 키와 작성일시를 포함해야 한다", async () => {
const formBlock = makeFormBlock("form-webhook", {
submitTarget: "webhook",
fieldIds: ["input-name", "input-email"],
@@ -214,9 +214,9 @@ describe("FormControllerPanel", () => {
);
const guideButton = screen.getByRole("button", { name: "Google Sheets 연동 가이드" });
guideButton.click();
fireEvent.click(guideButton);
const scriptTextarea = screen.getByDisplayValue(/function doPost/) as HTMLTextAreaElement;
const scriptTextarea = (await screen.findByDisplayValue(/function doPost/)) as HTMLTextAreaElement;
expect(scriptTextarea.value).toContain("params.name || \"\"");
expect(scriptTextarea.value).toContain("params.email || \"\"");