[일지] 2026.01.18

김재만·2026년 1월 18일

작업한 것

  • Playwright 튜토리얼
    • package.json e2e테스트 스크립트 추가 및 baseURL 추가
      // package.json
      {
        ...,
        "scripts": {
          "start": "react-scripts start",
          "build": "react-scripts build",
          "test": "react-scripts test",
          "eject": "react-scripts eject",
          "test:e2e": "playwright test",
          "test:e2e:ui": "playwright test --ui"
        },
        ...
      }
      
      // playwright.config.ts
      
      export default defineConfig({
        ...,
        use: {
          /* Base URL to use in actions like `await page.goto('')`. */
          baseURL: 'http://localhost:3000',
      
          /* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
          trace: 'on-first-retry',
        },
        ...
      })
  • TDD 연습
    • 반복 + 테스트 목록 작성

다음 작업

  • 회원가입 기능 구현 및 테스트 작성하기

마무리

아이고 어렵다

profile
듣는 것을 좋아하는 개발자입니다

0개의 댓글