Overview
Stably Cloud provides scalable infrastructure for running your Playwright tests with high parallelism, AI-powered features, and comprehensive reporting. Your tests run in the cloud while using your existingplaywright.config.ts configuration.
Prerequisites
Publish Your Tests
Before running tests in the cloud, ensure your latest tests are published from the UI.
Get API Key
Obtain your API key from the settings page for API and CI integrations.
Running Tests in the Cloud
You can trigger cloud execution using several methods:- Web Editor
- Stably CLI
- REST API
- GitHub Action
- Scheduled Runs
Using the Stably Web Editor
The easiest way to run tests in the cloud is directly from the Stably dashboard:- Navigate to your project in the Stably dashboard
- Select the tests you want to run
- Click the Run button
- Choose your run configuration (projects, grep patterns, environment)
- Monitor results in real-time from the dashboard
Web Editor Guide
Learn more about the Stably Web Editor
Cloud Execution Features
High Parallelism
Run up to 100 workers in parallel for faster test execution. Contact us if you need more.
AI Auto-Heal
Tests automatically adapt to minor UI changes, reducing maintenance burden.
Smart Reporting
Get detailed insights with screenshots, traces, and AI-powered failure analysis.
Environment Management
Easily switch between environments and manage test data variables.
Monitoring Test Runs
After triggering a test run, you can monitor progress:View Real-Time Progress
Navigate to your Stably dashboard to see:
- Real-time test execution status
- Pass/fail rates
- Test duration and performance metrics
Review Results
Once tests complete, access:
- Detailed test reports with screenshots
- Trace files for debugging failures
- AI-generated failure analysis
- Historical trends and analytics
Receive Notifications
Get alerts via:
- Email notifications
- Slack messages
- GitHub PR comments
Best Practices
Use Project Organization
Use Project Organization
Organize tests into logical projects (smoke, regression, critical) for flexible execution strategies.
Leverage High Parallelism
Leverage High Parallelism
Take advantage of cloud workers by ensuring your tests are independent and can run in parallel.
Configure Retries
Configure Retries
Set appropriate retry counts for different test types. Critical tests might need fewer retries, while flaky tests might need more.
Monitor Resource Usage
Monitor Resource Usage
Track your test execution time and optimize slow tests to reduce costs and improve feedback time.
Troubleshooting
API Authentication Errors
API Authentication Errors
Problem: Getting 401 or 403 errors when using the APISolution: Verify your API key is correct and has proper permissions. Get a new key from the settings page.
Project Not Found
Project Not Found
Problem: Error saying specified project doesn’t existSolution: Ensure the project name matches exactly what’s defined in your
playwright.config.tsHigh Execution Time
High Execution Time
Problem: Tests are taking longer than expectedSolution:
- Increase worker count for better parallelism
- Check if tests have dependencies preventing parallel execution
- Review individual test timeouts