write-and-verify-pw-test
Skill by appsmithorg
Writes a Playwright E2E test from a prompt and runs it against a live Appsmith deployment. Built for Appsmith developers and QA who want to verify a feature or flow. It retries up to 3 times to fix spec errors.
Install write-and-verify-pw-test
Built from the published package, never by AI.
git clone --depth 1 https://github.com/appsmithorg/appsmith /tmp/appsmith && mkdir -p ~/.claude/skills && cp -r /tmp/appsmith/.agents/skills/write-and-verify-pw-test ~/.claude/skills/write-and-verify-pw-testRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install write-and-verify-pw-test in Claude Code
git clone --depth 1 https://github.com/appsmithorg/appsmith /tmp/appsmith && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/appsmith/.agents/skills/write-and-verify-pw-test ~/.gemini/antigravity-cli/skills/write-and-verify-pw-testAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install write-and-verify-pw-test in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill writes a Playwright end-to-end test from a short prompt, then runs it against a live Appsmith deployment. It first configures the environment file with the target URL and login details. It reads the project's Playwright conventions, picks a test tier and directory, and writes the spec. The spec is linted with ESLint and run under the matching Playwright project, which handles signup and login first.
If the test fails, the skill classifies the failure. Spec errors are fixed and the test is re-run, up to 3 attempts. Suspected product bugs stop the retries and hand off to the diagnose-pw-failure skill. It is aimed at developers and QA engineers working on the Appsmith codebase who want to test a feature on a deployment.
Written from the project's SKILL.md and checked against it.
What it can do
- Environment setupConfigures app/client/playwright/.env with the target URL and login values through a script.
- Convention checkReads the Playwright rules for imports, selectors, waits, assertions and constants before writing.
- Test placementChooses a smoke, sanity, regression or ee tier and a matching Playwright project.
- Spec writingWrites the spec file, and a page object when one is needed, following project patterns.
- Lint checkRuns ESLint on the new spec file and fixes issues before the test is run.
- Test runRuns the spec under the correct project so the signup and login setup chain runs first.
- Retry loopFixes spec-side failures and re-runs the test, for up to 3 attempts.
- Result summaryReports pass or fail, the spec path, attempts made, and failure details or a diagnosis.
What you need
- Node.js with npx
- Chromium installed through Playwright
- Access to a target Appsmith deployment URL
- Login credentials for the deployment
Try asking
- Write a playwright test for the table filter on my dp and run it
- Create and run an e2e test for the login flow on https://my-dp.appsmith.com
- Verify this flow with playwright against my deployment
Good to know
- Product bugs stop the retry loop and switch to the diagnose-pw-failure skill.
- Default test tier is sanity when the caller does not specify one.
- Tests can take 60 seconds or more on the first run against a fresh deployment.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/write-and-verify-pw-test/SKILL.md, .agents/skills/write-and-verify-pw-test/scripts/configure-env.js. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md11 KB -
scripts/configure-env.js2 KB
Alternatives to write-and-verify-pw-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-and-verify-pw-test: common questions
What does the write-and-verify-pw-test skill do?
It writes a Playwright E2E test from a prompt and runs it against a live Appsmith deployment. It retries up to 3 times to fix failures in the spec.
When does it stop retrying a failing test?
It stops when the failure looks like a product bug, such as a 500 from the server or a connection refused error. It then switches to the diagnose-pw-failure skill.
Which tests does it write?
It picks a tier of smoke, sanity, regression or ee based on the request, and defaults to sanity. Feature subdirectories are required under sanity and regression.
How do I install write-and-verify-pw-test?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is write-and-verify-pw-test free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is write-and-verify-pw-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-and-verify-pw-test?
Similar skills: antigravity-workflows, e2e-testing-patterns, upgrade-browser, browser-automation.
