Skip to content

Commit

Permalink
fix: Cypress 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
deipanema committed Oct 14, 2024
1 parent 48a4556 commit c64a52e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 3 additions & 0 deletions cypress/e2e/spec.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,8 @@ describe("로그인 페이지 테스트", () => {
cy.get('input[placeholder="이메일"]').type("[email protected]");
cy.get('input[placeholder="비밀번호"]').type("wrongnumber");
cy.contains("로그인").click();

// 실패 시 에러 메시지 확인
cy.contains("로그인에 실패했습니다. 다시 시도해 주세요.");
});
});
4 changes: 1 addition & 3 deletions src/setupTests.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import "@testing-library/jest-dom";

/* msw */

beforeAll(() => {});
beforeEach(() => {});

afterEach(() => {
/**
Expand Down

0 comments on commit c64a52e

Please sign in to comment.