本文へ移動
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.

インストール方法を見る

含まれるファイル(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.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

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/ossrules602026年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/ossrules602026年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/ossrules602026年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/ossrules602026年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/ossrules602026年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/ossrules602026年9月21日 更新

modem-dev のスキルをすべて見る

このスキルの問題を報告する