본문으로 건너뛰기
Skillpedia
테스트48k · #4503

e2e-testing-patterns

하는 일

웹사이트나 애플리케이션이 올바르게 작동하는지 자동으로 확인하는 테스트를 만드는 데 도움을 줍니다. 변경을 했을 때 무언가 깨지지 않도록 보장하여, 새 버전을 더 자신 있게 출시할 수 있게 합니다.

사용하는 경우

  • ✓웹사이트 기능을 확인하는 자동 테스트를 만들 때.
  • ✓통과해야 하는 테스트가 까닭 없이 실패할 때.
  • ✓웹사이트의 가장 중요한 부분이 항상 작동하도록 할 때.

스킬 링크

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/e2e-testing-patterns/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/e2e-testing-patterns/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“잘못된 비밀번호를 입력했을 때 로그인이 올바르게 실패하는지 어떻게 테스트할 수 있나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

사용자가 하는 단계(버튼 클릭, 양식 입력 등)를 정의하고, 결과가 기대한 대로인지 확인하는 방식으로 작동합니다. 이를 자동으로 수행해 많은 시나리오를 빠르게 테스트합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

E2E Testing Patterns

Build reliable, fast, and maintainable end-to-end test suites that provide confidence to ship code quickly and catch regressions before users do.

Use this skill when

  • Implementing end-to-end test automation
  • Debugging flaky or unreliable tests
  • Testing critical user workflows
  • Setting up CI/CD test pipelines
  • Testing across multiple browsers
  • Validating accessibility requirements
  • Testing responsive designs
  • Establishing E2E testing standards

Do not use this skill when

  • You only need unit or integration tests
  • The environment cannot support stable UI automation
  • You cannot provision safe test accounts or data

Instructions

  1. Identify critical user journeys and success criteria.
  2. Build stable selectors and test data strategies.
  3. Implement isolated tests with observable assertions and tracing; diagnose retries rather than counting a retry as an ordinary pass.
  4. Run in CI with parallelization and artifact capture.

Safety

  • Avoid running destructive tests against production.
  • Use dedicated test data and scrub sensitive output.

Resources

  • resources/implementation-playbook.md for detailed E2E patterns and templates.

Worked example

Input: invalid login sometimes appears successful because the test reads the error before rendering finishes. Use a dedicated fixture account and assert await expect(page.getByRole('alert')).toContainText('Invalid credentials'). Run the test without retries and confirm the dashboard remains inaccessible. Expected: the failure state is observed reliably; a delayed error cannot silently pass.

Inputs and prerequisites

An authorized test URL, isolated accounts/data, the installed browser runner and known success/failure states. The playbook uses project-specific routes and adapters; install only the dependencies your existing suite needs.

Limitations

  • A mocked backend or payment provider proves only the mocked boundary; retain separate real integration checks.
  • Automated accessibility scans miss interaction and assistive-technology problems.
  • Retries, larger timeouts and updated snapshots can hide regressions; preserve first-failure evidence.
  • Browser tooling cannot validate a locked or unavailable interactive environment. Report that gap and continue independent tests.
자주 묻는 질문

엔드 투 엔드 테스트란 무엇인가요?

작업의 처음부터 끝까지 웹사이트나 애플리케이션을 사용하는 사용자의 전체 경험을 흉내 내는 테스트입니다.

안정적인 테스트가 왜 중요한가요?

안정적인 테스트는 새 변경이 기존 기능을 깨뜨리지 않도록 보장해, 더 빠르게 새 버전을 출시할 수 있는 자신감을 줍니다.

‘플레이키(flaky) 테스트’란 무엇인가요?

코드를 바꾸지 않았는데도 통과하기도 하고 실패하기도 하는 테스트입니다. 그래서 믿기 어렵습니다.

상세 정보

작성자의 원본 설명

Build reliable, fast, and maintainable end-to-end test suites that provide confidence to ship code quickly and catch regressions before users do.

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#4503
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬