diff --git a/frontend/cypress/e2e/application.second-personal-information.cy.ts b/frontend/cypress/e2e/application.second-personal-information.cy.ts index 621e6b2c..54ba8674 100644 --- a/frontend/cypress/e2e/application.second-personal-information.cy.ts +++ b/frontend/cypress/e2e/application.second-personal-information.cy.ts @@ -54,4 +54,16 @@ describe("2번째 인적사항 e2e 테스트", () => { console.log("Alert message:", text); }); }); + + it("전공을 입력하지 않고 복수전공, 부전공을 입력 후 버튼 클릭", () => { + cy.goSecondPersonalInformation(); + cy.get("input.my-2.border.rounded-lg.p-4.w-full").eq(1).type("건축학과"); + cy.get("input.my-2.border.rounded-lg.p-4.w-full").eq(2).type("물리학과"); + cy.get( + ".flex-1.rounded-md.flex.justify-center.items-center.p-4.bg-dark.text-white" + ).click(); + cy.on("window:alert", (text) => { + console.log("Alert message:", text); + }); + }); });