FreeRules, agents & hooks
TypeScript, React and Node.js rules
- 174174 downloads
- 225225 likes
- 237237 saves
- Cursor
Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans
Use this resource to write isolated Playwright API tests that check status codes and responses
New
Free
In a terminal, from the folder you want:
npx --yes palatekit@latest install playwright-api-testing-ruleFirst time: connect the CLI with
npx --yes palatekit@latest loginCursor sets up pw-api-plugin, groups tests by endpoint with test.describe, checks status codes and response bodies, and covers error cases. Tests do not rely on the server's existing state.
Mostly picked by
Updated November 2, 2026
You say
“Write the tests for the user creation endpoint, success and error cases.”

Rule published by PatrickJS under the CC0-1.0 license, delivered in its original version.
Listed unmodified
« playwright-api-testing-cursorrules-prompt-file » (PatrickJS, CC0-1.0) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.
–
No ratings yet
Loading reviews…