QUALITY PLATFORM · 2026

E2E 테스트와 AI 자동 수정

E2E testing and AI repair

공용 스테이지에 배포하지 않고도 PR별 독립 환경에서 E2E 테스트를 실행하도록 개선했습니다. 테스트 실패 시 AI가 원인을 분석하고 수정안을 제안합니다.

Enabled E2E tests in an isolated environment for each PR, without deploying to shared staging. When tests fail, AI analyzes the cause and proposes a fix.

규모·성과

70 → 12 min 전체 E2E 실행 시간

담당 업무

설계 · 구현 · 운영, 1인 전담

사용 기술

Playwright · TypeScript · Slack · GitHub · Mac Studio

배경

E2E를 실행하려면 먼저 공용 스테이지에 배포해야 했고, 일회성 CI 러너는 로컬 통합환경에 접근할 수 없었습니다. 실패 뒤 원인 조사와 반복 결함 수정도 사람의 작업으로 남아 있었습니다.

과정

  • 실행 위치 자체를 상시 운영되는 로컬 봇으로 옮겨, PR마다 소스에서 격리 환경을 프로비저닝했습니다.
  • 테스트를 병렬화하고 실행·진행·결과를 하나의 Slack 흐름으로 정리했습니다.
  • 실패 결과는 이슈 등록, AI 원인 분석, 테스트 코드 수정 Draft PR의 세 단계로 연결했습니다.

결과

  • 배포 없이 PR 코드 자가검증
  • 전체 실행 시간 약 70분에서 12분으로 단축
  • 아침 회귀 테스트와 실패 후처리 자동화 복원
At a glance

70 → 12 min full E2E runtime

Role

Sole owner across design, implementation, and operations

Stack

Playwright · TypeScript · Slack · GitHub · Mac Studio

Context

Running E2E tests required a deployment to a shared stage, while ephemeral CI runners could not reach the local integration environment. Failure investigation and recurring test repairs also remained manual.

Process

  • Moved execution to a persistent local bot that provisions an isolated environment from source for every PR.
  • Parallelized tests and consolidated execution, progress, and results into a single Slack workflow.
  • Connected failures to issue creation, AI root-cause analysis, and a draft repair PR.

Outcome

  • PR validation without a stage deployment
  • Reduced full runtime from about 70 minutes to 12
  • Restored scheduled regression coverage and automated failure follow-up