e2e-testing
Playwright로 엔드투엔드 테스트 자동화
수동 테스트는 느리고 오류가 발생하기 쉽습니다. 이 스킬은 Playwright를 사용한 자동화된 E2E 테스트를 설정부터 CI/CD 통합까지 7단계 워크플로우로 제공합니다.
تنزيل ZIP المهارة
رفع في Claude
اذهب إلى Settings → Capabilities → Skills → Upload skill
فعّل وابدأ الاستخدام
اختبرها
استخدام "e2e-testing". Set up E2E testing for a React application
النتيجة المتوقعة:
Creates Playwright configuration file, installs dependencies, sets up test directory structure, and provides example test file with login flow test
استخدام "e2e-testing". Run cross-browser tests
النتيجة المتوقعة:
Executes test suite against Chromium, Firefox, and WebKit browsers with detailed pass/fail reports and screenshot artifacts for failed tests
التدقيق الأمني
آمنStatic analyzer flagged 34 patterns (30 external_commands, 4 blocker) but all are false positives. The SKILL.md file is documentation, not executable code. Backticks are markdown formatting for skill references, not shell commands. No actual code execution or dangerous patterns exist.
درجة الجودة
ماذا يمكنك بناءه
QA 엔지니어의 회귀 테스트 자동화
모든 코드 변경 시 자동으로 실행되어 프로덕션 배포 전에 회귀를 탐지하는 포괄적인 E2E 테스트 스위트 설정.
테스트주도 개발을 구현하는 개발자
기능 개발과 함께 자동화된 브라우저 테스트를 생성하여 지원되는 모든 브라우저에서 사용자 플로우가 올바르게 작동하도록 보장.
CI/CD 파이프라인을 구축하는 DevOps 팀
병렬 실행, 아티팩트, 테스트 보고서가 포함된 배포 워크플로우에 자동화된 E2E 테스트 통합.
جرّب هذه الموجهات
Use @playwright-skill to set up Playwright testing in my project. Install dependencies, configure test framework, and create a basic test file.
Use @e2e-testing-patterns to design an E2E test strategy for my application. Identify critical user flows that need automated testing.
Use @playwright-skill to implement visual regression testing. Set up baseline images and add visual assertions to detect UI changes.
Use @github-actions-templates to create a GitHub Actions workflow that runs E2E tests in parallel across browsers and uploads test artifacts.
أفضل الممارسات
- 유지관리 가능한 테스트를 위해 페이지 객체 패턴을 사용하여 테스트 로직과 페이지 구조를 분리하세요
- 하드코딩된 타임아웃 대신 Playwright 자동 대기관 기능을 사용하여 적절한 대기 전략을 구현하세요
- CI에서는 헤드리스 모드로, 로컬 디버깅에서는 헤디드 모드로 테스트를 실행하세요
تجنب
- Playwright의 기본 제공 자동 대기 기능 대신 하드코딩된 대기 지연 사용
- 격리된 테스트 대신 특정 테스트 실행 순서에 의존하는 테스트 작성
- 환경 변수 대신 일반 텍스트에 테스트 자격 증명 저장