What you’ll do
- Link a repository to Stably and authenticate
- Generate a Playwright-compatible test with the interactive AI agent
- Run the suite locally or in the cloud with automatic fixes
Prerequisites
- Node 18+ and npm
- Playwright available in the project (
npx playwright installif you’re starting fresh) - Stably account: Signup at app.stably.ai or grab an API key from Settings → API Keys
Step-by-step
1
Authenticate and initialize
STABLY_API_KEY. This creates stably.config.yaml and links your project to Stably Cloud.2
Generate a test with AI
tests/login.spec.ts), and keeps it editable like any other test file.3
Run and auto-fix locally
--project smoke to target a group.4
Optional: run in Stably Cloud
What you get
- A Stably-linked repository with config and cached auth
- Playwright tests generated by the AI agent, ready for version control
- Automated fixes on every run, locally or in the cloud