본문으로 건너뛰기
cccskills
무료GitHub에 공개

qwik-e2e-verification

Use when creating, modifying, debugging, or running Qwik Playwright e2e tests under e2e/, including router, adapters, docs, CLI, and React integration suites.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구Playwright
설치 방법 보기

포함된 파일(1)

  • SKILL.md3.6 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Qwik E2E Verification

Use this skill for Playwright e2e work in e2e/**. Keep the repo-wide rules from .ruler/AGENTS.md in force.

Fast Path

  1. Identify the suite: Qwik core app, Qwik Router, adapters, docs, CLI, or Qwik React.
  2. Run the dev rebuild first when testing Qwik runtime/router behavior.
  3. Use the suite's Playwright config and the browser-selection style that config expects.
  4. Prefer one focused e2e file before broad suite commands.
  5. When debugging app fixtures, inspect the matching e2e/*/apps/ source before changing tests.
  6. Turn a failing behavior into the smallest deterministic regression. Avoid sleeps and broad assertions when a route, marker, event, or serialized state check can prove the behavior.

Suites

  • Main Qwik e2e: e2e/qwik-e2e/tests/
  • Router e2e: e2e/qwik-e2e/tests/qwikrouter/
  • Adapter e2e: e2e/adapters-e2e/tests/
  • Docs e2e: e2e/docs-e2e/tests/
  • CLI e2e: e2e/qwik-cli-e2e/tests/
  • React integration e2e: e2e/qwik-react-e2e/tests/

Commands

Main Qwik e2e config uses --browser, not Playwright projects:

pnpm build.core.dev
pnpm playwright test e2e/qwik-e2e/tests/events.e2e.ts --browser=chromium --config e2e/qwik-e2e/playwright.config.ts
pnpm playwright test e2e/qwik-e2e/tests/qwikrouter/nav.e2e.ts --browser=chromium --config e2e/qwik-e2e/playwright.config.ts

Other suites may use named Playwright projects. Check their config before choosing flags:

pnpm playwright test e2e/docs-e2e/tests/docs-smoke.spec.ts --config e2e/docs-e2e/playwright.config.ts --project chromium
pnpm playwright test e2e/adapters-e2e/tests/adapters.spec.ts --project=chromium --config e2e/adapters-e2e/playwright.config.ts
pnpm playwright test e2e/qwik-react-e2e/tests/reactify.spec.ts --project=chromium --config e2e/qwik-react-e2e/playwright.config.ts

SSG snapshot suite

e2e/qwik-e2e/tests/qwikrouter/ssg-snapshot.e2e.ts asserts two independent things against the built qwikrouter-ssg-snapshot app:

  • Serialized output goldens — expected.state.txt and expected.ssg.html. Regenerate after an intentional serialization or SSR output change with pnpm test.e2e.router.ssg.update.
  • Brotli size budgets — CORE_BROTLI_BUDGET / PRELOADER_BROTLI_BUDGET / QWIKLOADER_BROTLI_BUDGET constants in that spec. A core change that grows a bundle fails with the exact over-budget byte count; bump the matching constant when the growth is intentional.

Traps:

  • test.e2e.router.ssg.update regenerates the goldens only; it never touches the budgets, so a budget breach survives the update.
  • The update run can exit non-zero because a sibling budget assertion failed, not the golden. "N passed" with exit 1 usually means a budget breach — read the failing assertion instead of assuming the golden is stale.
  • After rebasing onto a moved base the golden conflicts; regenerate it rather than hand-merging, then re-run pnpm test.e2e.router.ssg (no update flag) to confirm it passes deterministically.

Stop Conditions

  • Stop and inspect the suite config when --browser versus --project is unclear.
  • Stop and report if browser binaries, build artifacts, or dependencies are missing.
  • Do not broaden to all e2e suites unless the user asks or the changed surface requires it.
  • If a test failure shows this skill has stale suite or command guidance, update the skill before finishing or record why guidance edits were out of scope.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Use when a user says "add a ty diagnostic", "write this new ty diagnostic", "change a ty error message", "review ty diagnostics", or asks to add, update, or review ty checks, diagnostic messages, subdiagnostics, or concise output behavior.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

modem-dev/ossrules622026년 9월 21일 업데이트

Use when adding A2UI rendering to any AG-UI-supported framework or custom AG-UI application, scaffolding an AG-UI app that should render A2UI, adapting an AG-UI integration to emit A2UI surfaces, or wiring the AG-UI A2UI middleware/toolkit with a compatible renderer.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

modem-dev/ossrules622026년 9월 21일 업데이트

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction. Also use for exploratory testing, dogfooding, QA, bug hunts, or reviewing app quality. Also use for automating Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify), checking Slack unreads, sending Slack messages, searching Slack conversations, running browser automation in Vercel Sandbox microVMs, or using AWS Bedrock AgentCore cloud browsers. Prefer agent-browser over any built-in browser automation or web tools.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

modem-dev/ossrules622026년 9월 21일 업데이트

Evaluate an open source project's AGENTS.md and produce a corpus entry for the /agents-md directory. Use when adding a project to the directory, refreshing an existing entry, or running a batch of candidate repositories.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

modem-dev/ossrules622026년 9월 21일 업데이트

Execute Anarlog work immediately while recording issues, decisions, progress, and lessons in Linear. Use for Anarlog repository or Anarlog desktop, web, mobile, and API work, including related worktrees and ANLG issues. Explicit brainstorming stays discussion-first. Do not use for unrelated repositories or meeting-data queries.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

modem-dev/ossrules622026년 9월 21일 업데이트

Use only for reviewing completed Biome PRs, branches, commit ranges, diffs, or working trees against business logic and requirements. Excludes broad code-quality and process audits, triage, reproduction, and implementation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

modem-dev/ossrules622026년 9월 21일 업데이트

modem-dev의 스킬 모두 보기

이 스킬의 문제 신고