-
Notifications
You must be signed in to change notification settings - Fork 0
VSCode Extension API
ewyct edited this page Apr 11, 2026
·
2 revisions
A dedicated VS Code extension (lastest-vscode) provides full IDE integration for managing and running visual regression tests without leaving your editor.
- Tree view of all tests organized by functional area in the Activity Bar
- See test status (passing, failing, new) at a glance
- Click to view test details
- Run individual tests or all tests directly from VS Code
- View results inline
- Live build status and test counts in the VS Code status bar
- Quick access to the Lastest dashboard
- WebSocket-based live updates for test run progress
- See results as they come in without polling
| Command | Description |
|---|---|
lastest.refreshTests |
Refresh the test list |
lastest.runTest |
Run a specific test |
lastest.runAllTests |
Run all tests |
lastest.openInBrowser |
Open test in Lastest UI |
lastest.connect |
Connect to Lastest server |
The extension is powered by a backend API at /api/v1/:
| Resource | Operations |
|---|---|
| Repos | List, get repositories |
| Functional Areas | List, create, manage test areas |
| Tests | CRUD operations, run individual tests |
| Builds | Trigger and monitor builds |
| Runs | View test run results |
SSE (Server-Sent Events) stream at /api/v1/events for real-time updates:
- Build status changes
- Test completion events
- Runner status updates
API access uses DB-backed session tokens via Authorization: Bearer <token> headers. Generate API keys from Settings > Agents & API Access.
Lastest Wiki
Getting Started
Core Features
- Visual Diffing
- AI Configuration
- Agent Monitoring
- Gamification
- Scheduled Runs
- Bug Reports
- Settings Reference
Integrations
- GitHub Integration
- GitLab Integration
- Google Sheets Integration
- Custom Webhooks
- VSCode Extension API
- MCP Server
Deployment & CI
Administration
Reference