e2e
하는 일
이 스킬은 AI가 웹 앱과 모바일 앱을 위한 에이전트형 end-to-end 테스트를 작성하도록 안내합니다. 사용자가 하는 행동을 설명하고 화면에 나타나는 결과를 확인하는 테스트를 원하는 개발자를 위한 스킬입니다.
사용하는 경우
- ✓사용자가 웹 앱을 클릭하는 것처럼 자동으로 진행하는 테스트를 원할 때.
- ✓iOS 시뮬레이터나 Android 에뮬레이터에서 실행되는 앱의 테스트가 필요할 때.
- ✓특정 흐름을 거친 뒤 화면이나 API가 기대한 결과를 보여 주는지 확인하고 싶은 경우.
스킬 링크
https://github.com/kortix-ai/suna/blob/dev/.agents/skills/e2e/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“제 웹 앱에 로그인하고 대시보드가 제대로 열리는지 확인하는 end-to-end 테스트를 작성해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
AI는 앱용 설정 파일을 만들고, 에이전트가 각 목표를 수행하도록 하며, 정확한 검증 항목으로 화면을 확인합니다. 검증된 동작은 모델 호출 없이 캐시에서 다시 실행할 수 있습니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
e2e: agentic end-to-end tests in TypeScript
Kortix repository integration
Use pnpm test -- --agentic-only [files...] for this opt-in pilot. The wrapper
checks local listener ownership and rejects skipped or flaky selected tests.
MCP is for inspecting the app and finding locators; run tests through the root
wrapper. The config also checks listener ownership before MCP can start the app.
The MCP server allows one session.
Keep the existing testing and release gates. Do not add a pull-request CI
workflow or a second root test script. Use synthetic local data only. Keep
reports, traces, videos, and caches gitignored.
e2e runs UI tests with agent goals and exact assertions. agent.act drives
one goal; agent.assert, agent.waitFor, and agent.extract judge the
screen. screen, app, browser, and expect make exact interactions and
checks. The replay cache reruns verified actions and checks their recorded end
state without a model call; agent judgments still run live. UI targets use
@e2e-dev/web for browsers or @e2e-dev/mobile for iOS simulators and
Android emulators. A test that takes only app can check an API with fetch
and expect (topic writing-tests). Model sign-in commands are in
setup.
// e2e.config.ts
import type { E2EConfig } from 'e2e';
import { web } from '@e2e-dev/web';
import { gateway } from 'ai';
export default {
targets: [
{
engine: web(),
app: {
url: 'http://127.0.0.1:3000',
command: { executable: 'pnpm', args: ['dev'], log: '.e2e/logs/app.log' },
},
},
],
// The model behind every agent.* step: an AI SDK instance; gateway() from 'ai' reads AI_GATEWAY_API_KEY or a Vercel OIDC token.
agents: {
default: {
model: gateway('openai/gpt-6-luna-fast'),
system: 'You are a thorough QA agent. Verify every outcome on screen.',
},
},
} satisfies E2EConfig;
// tests/billing.e2e.ts
import { test } from '@e2e-dev/web';
import { expect } from 'e2e';
test('a member upgrades to Pro', async ({ app, agent, screen, browser }) => {
await app.open('/settings/billing');
await agent.act('upgrade the workspace to the Pro plan');
await expect(screen.getByRole('status')).toContainText('Pro');
await expect(browser).toHaveURL('/settings/billing');
});
Topics
Read the topic for the job before writing code. The files sit next to this
one; the installed CLI prints the same text with npx e2e guide <topic>
(e2e guide alone prints this page). For anything the topics do not cover,
the full documentation ships in the docs/ directory of the installed e2e
package (node_modules/e2e/docs in a single-package project); a link such as
/reference/cli is docs/reference/cli.mdx.
| Topic | File | Read it when |
|---|---|---|
setup |
references/setup.md | Adding e2e to a project, writing e2e.config.ts, starting the app from the config, mobile targets |
writing-tests |
references/writing-tests.md | Writing or fixing tests: fixtures, locators, actions, matchers, sign-in sessions, the browser fixture |
agent |
references/agent.md | Adding agent.* steps, picking a model, cost and budgets, the replay cache |
running |
references/running.md | CLI flags, reporters, .e2e/report.json, exit codes, CI |
explore |
references/explore.md | Exploring an app toward a goal without a test file: e2e explore, its budgets, verdict, and run.explore |
debugging |
references/debugging.md | A run failed: error codes and their fixes, --headed, --debug, --ai-trace |
mcp |
references/mcp.md | Driving the live app from a coding agent over MCP: e2e mcp, its tools, and the explore-then-write loop |
bug-bash |
references/bug-bash.md | Asked to bug bash, QA, or hunt for bugs across an app or a branch: parallel e2e explore charters, merging findings, proving each with a repro test |
Workflow
- Look at what exists:
e2e.config.tsore2e.config.mts, thetestsglob (defaulttests/**/*.e2e.ts),e2einpackage.json. Nothing there: followsetup. - Learn the screens before writing a test: routes, labels, roles, button text. Semantic locators need the accessible names the app renders, so read the components, o
자주 묻는 질문
모델 키가 필요한가요?
에이전트의 판단에는 여전히 모델이 필요하며, 스킬에는 모델 로그인 설정 단계가 들어 있습니다. 검증된 동작은 모델 없이 다시 실행할 수 있습니다.
어떤 플랫폼을 지원하나요?
Playwright를 통한 브라우저와 iOS 시뮬레이터 및 Android 에뮬레이터의 모바일 앱을 지원합니다.
API도 테스트할 수 있나요?
예. 앱만 사용하는 테스트에서도 fetch와 정확한 기댓값으로 API를 확인할 수 있습니다.
상세 정보
작성자의 원본 설명
Agentic end-to-end tests with e2e, the e2e runner. Covers scaffolding e2e.config.ts, picking the Playwright browser engine or the agent-device mobile engine, starting the app under test from the config, driving flows with agent.act, judging with agent.assert, agent.waitFor, and agent.extract, pinning values with screen, app, browser, and expect, shaping the agent (context, system prompt, tools, personas), the replay cache, the e2e CLI, reading .e2e/report.json, and bug bashes (parallel explore runs proven with repro tests). Use when a project depends on e2e, when asked for end-to-end, browser,
repo: kortix-ai/suna
인기도
- GitHub 스타
- 20k
- 순위
- #10374
- 라이선스
- —
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
claude-code
20k에이전트가 코딩, 검토, 계획 작업을 Anthropic의 Claude Code CLI에 맡기고 결과를 확인할 수 있도록 돕습니다.
codex-cli
20k에이전트가 코딩이나 검토 작업을 OpenAI의 Codex CLI에 맡기고 결과를 받아, 두 번째 모델이 작업을 확인하도록 돕습니다.
commit-dis
20k에이전트가 이 대화에서 바꾼 파일만 현재 Git 브랜치에 커밋 하나로 저장하도록 돕습니다. 푸시나 새 브랜치 생성은 하지 않습니다.
composio
20k에이전트가 Composio를 사용해 Gmail, Slack, GitHub, Notion 같은 앱을 연결하도록 돕습니다. 내 에이전트나 내가 만드는 제품에 쓸 수 있습니다.
비슷한 스킬
test-driven-development
311k에이전트가 기능이나 수정을 만들기 전에 실패하는 테스트를 먼저 쓰고, 그것을 통과시키는 가장 작은 코드를 작성하도록 가르칩니다.
verification-before-completion
311k에이전트가 작업, 수정, 빌드가 완료되었거나 통과했다고 말하기 전에 실제 점검을 실행하고 결과를 읽도록 가르칩니다.
migrate-to-shoehorn
310k테스트 파일의 위험한 타입 캐스팅을 shoehorn 라이브러리로 바꿔, 테스트가 일부 데이터만 써도 타입 검사를 통과하도록 돕습니다.