From 20c9192c056eae09b9548c55ac2982407c998345 Mon Sep 17 00:00:00 2001 From: Jungmin Date: Sat, 19 Oct 2024 10:12:49 +0900 Subject: [PATCH] test --- .circleci/config.yml | 2 +- cypress/e2e/spec.cy.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index aebabad..c7e7b61 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -14,7 +14,7 @@ jobs: steps: - cypress/install - cypress/run-tests: - cypress-command: "npx wait-on@latest http://localhost:3000 && npx cypress run" + cypress-command: "npx wait-on@latest http://localhost:3000 && npx cypress run --record" start-command: "npm run build && npm run start" workflows: diff --git a/cypress/e2e/spec.cy.ts b/cypress/e2e/spec.cy.ts index 0c05a47..8780cf6 100644 --- a/cypress/e2e/spec.cy.ts +++ b/cypress/e2e/spec.cy.ts @@ -8,7 +8,7 @@ describe("로그인 페이지 테스트", () => { cy.get('input[placeholder="비밀번호"]').type("012345678"); cy.contains("로그인").click(); - cy.wait("@dashboard").then((_) => { + cy.wait("@dashboard").then(() => { cy.contains("대시보드"); }); });