write-e2e-test
Skill by usebruno
Write-e2e-test guides an AI assistant in writing Playwright end-to-end tests for Bruno. It covers spec placement, fixtures, helpers and test structure. It is for contributors who add or change tests under tests/.
Install write-e2e-test
Built from the published package, never by AI.
git clone --depth 1 https://github.com/usebruno/bruno /tmp/bruno && mkdir -p ~/.claude/skills && cp -r /tmp/bruno/.claude/skills/write-e2e-test ~/.claude/skills/write-e2e-testRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/usebruno/bruno /tmp/bruno && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/bruno/.claude/skills/write-e2e-test ~/.gemini/antigravity-cli/skills/write-e2e-testAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Write-e2e-test is an agent skill that tells an AI assistant how to write Playwright E2E tests for Bruno. It explains where specs go under tests/, which Playwright project to pick (default, auth, ssl or system-pac), and which fixtures and helpers to use from playwright/index.ts and tests/utils/page/. It also covers codegen as a starting point, wrapping steps in test.step, and locator rules that prefer data-testid.
The skill sets rules for test case ids, which go at the start of a test title in the form TC-2606: followed by a description. It also says to restore committed fixtures in afterAll when a test changes them, and it ends with a checklist and the command to run a spec. It is aimed at contributors to the Bruno repository who add tests, change existing ones, or reproduce a bug as an e2e spec.
Written from the project's SKILL.md and checked against it.
What it can do
- Spec placementPlaces specs under tests/<area>/ and picks a Playwright project.
- Codegen draftsRefactors output from npm run test:codegen into a cleaner spec.
- Fixture useUses fixtures such as page, pageWithUserData and createTmpDir.
- Helper useUses helpers in tests/utils/page/ such as createCollection, sendRequest and runCollection.
- Test structureArranges tests with test.step and focused assertions.
- Test case idsPuts a single mentioned TC id at the start of a test title.
- Stable locatorsPrefers data-testid and documented classes over brittle selectors.
- Fixture restoreRestores mutated committed fixtures in afterAll.
- Running specsGives the npx playwright test command and debug options.
What you need
- A checkout of the Bruno repository
- Playwright test setup defined in playwright.config.ts
- npm and npx to run the test scripts
Try asking
- Write an e2e test for creating a collection in Bruno
- Turn this bug report into a Playwright spec under tests/
- Add a regression e2e test for environment variables
Good to know
- Specs live in tests/, not e2e-tests/.
- The skill does not invent test case ids; they must come from the user.
- Final tests must not contain test.only or page.pause().
- The @sanity and @regression tags are added only when a type is mentioned.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/write-e2e-test/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md5 KB
Alternatives to write-e2e-test
All alternatives →Antigravity Workflows guides an assistant through multi-skill workflows for shipping a SaaS MVP, auditing web app security, building AI agents, running browser QA, and designing a domain model. It is for users who want several skills combined with verified checkpoints.
Guides building end-to-end test suites with Playwright and Cypress. It is for developers who write E2E tests, debug flaky tests, or set testing standards.
Upgrades Chrome or Firefox versions in the Flutter Web Engine and Framework tests. It verifies the version, updates config files, syncs CI builder JSON and runs local tests before the CIPD upload.
Builds reliable browser checks for real web workflows using semantic locators, bounded waits, isolated test data and explicit outcome checks. It is for developers and testers writing or debugging browser tests.
Diagnoses memory leaks in the Qwen Code CLI using heap snapshots and the chrome-devtools CLI. Built for developers investigating high memory use, unbounded growth, or object retention.
Guides an assistant through using Claude in Chrome, a browser extension whose tools act in the person's real Chrome with their own sign-ins. It is for users who want the assistant to work in their browser safely.
Compare with antigravity-workflows, e2e-testing-patterns or upgrade-browser
write-e2e-test: common questions
Where do Bruno e2e specs go?
Specs go in tests/<area>/<name>.spec.ts. The skill says to reuse an existing area folder or add one.
Which Playwright projects does Bruno use?
The skill lists default, system-pac, auth and ssl, and says to verify them in playwright.config.ts. Most specs use default.
How are test case ids handled?
When a user mentions an id, it goes at the start of the test title as TC-2606: followed by the description. Each test gets one id.
How do I install write-e2e-test?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is write-e2e-test free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is write-e2e-test safe to use?
It scores 89 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to write-e2e-test?
Similar skills: antigravity-workflows, e2e-testing-patterns, upgrade-browser, browser-automation.
