webapp-testing
Runs or writes Playwright tests for the 'careercopilot' webapp. Use when asked to 'run playwright' or 'write a new e2e test'.
$ Installer
git clone https://github.com/okgoogle13/careercopilot /tmp/careercopilot && cp -r /tmp/careercopilot/.claude/skills/webapp-testing ~/.claude/skills/careercopilot// tip: Run this command in your terminal to install the skill
SKILL.md
name: webapp-testing description: "Runs or writes Playwright tests for the 'careercopilot' webapp. Use when asked to 'run playwright' or 'write a new e2e test'."
WebApp Testing Workflow
-
Ask the user if they want to "run" existing tests or "write" a new test.
-
If "run":
- Ask for the test command (default:
yarn playwright test). - Run the command and report the full output.
- If it fails, suggest using the
root-cause-tracerskill to debug the log.
- Ask for the test command (default:
-
If "write":
- Ask for a description of the test (e.g., "test the login flow").
- Ask for the new test file name (e.g.,
login.spec.ts). - Consult
references/careercopilot-selectors.mdto use stabledata-testidselectors. - Write the new Playwright test code to
e2e/{{FILE_NAME}}. - Report success and ask the user if they want to run the new test.
Repository

okgoogle13
Author
okgoogle13/careercopilot/.claude/skills/webapp-testing
1
Stars
0
Forks
Updated3d ago
Added1w ago