Skip to content

⚙️[기능추가][Test] E2E 테스트 플로우 신규 작성 — Patrol 핵심 6개 플로우 #858

Description

@Cassiiopeia

📝 현재 문제점

FE↔BE API 명세 전수 점검(#857) 결과, E2E 테스트가 로그인 플로우만 존재하고 핵심 비즈니스 플로우가 전무한 상태.

현재 존재하는 테스트:

  • integration_test/basic_test.dart — 앱 기동
  • integration_test/login_test.dart — 로그인 화면 UI
  • integration_test/flows/login_flow_test.dart — 로그인 플로우
  • integration_test/simple_auto_login_test.dart — 자동 로그인

물품 등록, 거래 요청/수락/거절, 채팅, 알림, 신고, 회원 차단 등 핵심 비즈니스 플로우에 대한 E2E 커버리지 전무.

🛠️ 해결 방안 / 제안 기능

Patrol 기반 E2E 테스트 6개 플로우 신규 작성:

  1. integration_test/flows/item_post_flow_test.dart — 물품 등록 (이미지 업로드, 카테고리 선택)
  2. integration_test/flows/trade_request_flow_test.dart — 거래 요청 → 수락 / 거절
  3. integration_test/flows/chat_trade_complete_flow_test.dart — 채팅 → 거래 완료 요청 → 확인
  4. integration_test/flows/notification_flow_test.dart — 알림 읽음 / 삭제 / 전체삭제
  5. integration_test/flows/report_flow_test.dart — 물품/사용자 신고
  6. integration_test/flows/member_block_flow_test.dart — 회원 차단 / 해제

⚙️ 작업 내용

  • integration_test/flows/ 하위 6개 테스트 파일 신규 작성
  • 기존 integration_test/helpers/app_helper.dart, test_credentials.dart 헬퍼 활용
  • 각 플로우는 자동 로그인(simple_auto_login_test.dart) 패턴 기반으로 시작

🔗 관련 이슈

🙋‍♂️ 담당자

  • 프론트엔드: 이름

Metadata

Metadata

Assignees

Labels

작업중작업이 진행 중인 상태

Type

No type

Projects

Status
작업중

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions