Using the JavaScript Client
An introduction to the Stoobly JavaScript client library for E2E testing
What is stoobly-js?
Installation
npm install stoobly --save-devRunning the Agent from npm Scripts
{
"scripts": {
"stoobly:mock": "stoobly-agent scaffold workflow up mock --detached",
"stoobly:mock:down": "stoobly-agent scaffold workflow down mock",
"test:mock": "npm run stoobly:mock && (npx playwright test; code=$?; npm run stoobly:mock:down; exit $code)"
}
}Core Concepts
Intercept Modes
Mode
Description
Use Case
Scenarios
Sessions
Context
Where to Go Next
Last updated