The Keystone CLI creates a secure tunnel between Keystone’s cloud-based test recorder and your local development environment. This means you can record tests against your local development server, including work-in-progress features on specific branches.Perfect for testing features before they’re deployed or validating changes in your local environment.
This creates a secure tunnel that allows Keystone’s cloud Studio to control your local browser and record tests against your local development environment.
This workflow is perfect for testing features on specific branches:
Copy
Ask AI
# Switch to your feature branchgit checkout feature/new-checkout-flow# Start your development servernpm run dev# Start the Keystone tunnelkeystone start --proxy# Record tests in Keystone Studio against localhost# Tests capture the new checkout flow from your branch
# Development workflowgit checkout -b feature/user-dashboardnpm run devkeystone start --proxy# Record tests in Studio against localhost# Tests validate new dashboard functionality# Save tests to run in CI later
# Bug fix workflow git checkout -b fix/login-errornpm run devkeystone start --proxy# Reproduce the bug in Studio recorder# Create test that validates the fix# Run test to confirm fix works
# API testing workflownpm run dev:api # Start local API servernpm run dev # Start frontendkeystone start --proxy# Record tests that interact with local API# Test various API scenarios and error states# Validate frontend behavior with real API responses