Endform
v0.85.2Find failing, flaky, and slow Playwright tests on Endform and keep your suite healthy as it grows.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
live_test_run
Runs JavaScript inside the paused checkpoint of a live session started with live_test_start. The code runs in the test's scope with access to fixtures such as page, and may use multiple statements and await. Returns stdout, stderr, exitCode, a fresh inline ARIA snapshot, and paths to artifacts such as screenshots. A non-zero exitCode means the code threw; the session remains paused and this tool can be called repeatedly.
| Parameter | Type | Description |
|---|---|---|
code * | string | JavaScript to execute inside the paused test scope. The code may use `await` and access test fixtures such as `page`. |
sessionId * | string | Live session ID returned by `live_test_start`. |
live_test_start
Starts a live session paused inside one Playwright test on Endform's remote infrastructure. Test selection follows Playwright conventions and must match exactly one test; narrow it with testFileFilters, grep, grepInvert, or project. Playwright grep patterns match the full title chain. A testFileFilter may include file.spec.ts:LINE to select a test declaration. The separate line input is the 1-based source line to pause before and defaults to the first statement inside the selected test body. Returns a sessionId, checkpoint, paths, and an inline initial ARIA snapshot. Then use live_test_run and…
| Parameter | Type | Description |
|---|---|---|
config | string | null | Playwright configuration file or test directory, like Playwright `--config`. |
grep | array | Only selects tests whose full Playwright title chain matches these regular expressions, including the project, file, describe blocks, and test title. |
grepInvert | array | Excludes tests with titles matching these regular expressions, like Playwright `--grep-invert`. |
line | integer | null | 1-based source line to pause before. Defaults to the first statement inside the selected test body. |
organizationId | string | null | Endform organization ID. Defaults to the organization configured for the repository or active login. |
project | array | Only selects tests from these Playwright projects, like Playwright `--project`. |
testFileFilters | array | Filters test files using regular expressions matched against absolute paths, like Playwright positional test filters. A filter may include a test declaration line, for example `tests/checkout.spec.ts:… |
live_test_status
Shows the state of a live session started with live_test_start: starting, paused (ready for live_test_run), running (code is executing), ended, or stale. A paused response includes a fresh inline ARIA snapshot.
| Parameter | Type | Description |
|---|---|---|
sessionId * | string | Live session ID returned by `live_test_start`. |
live_test_stop
Stops a live session started with live_test_start and cleans up its client-side and runner resources. Call this when finished debugging instead of waiting for the 15-minute session limit.
| Parameter | Type | Description |
|---|---|---|
sessionId * | string | Live session ID returned by `live_test_start`. |
suite_run_start
Runs Playwright tests on Endform from a local project, as `endform test` does when run in the given directory. Omit testFileFilters, grep, grepInvert, and project to run the whole suite. Returns as soon as the suite has started, with a suiteRunId for suite_run_status and suite_run_stop. The run carries on in the background on this machine.
| Parameter | Type | Description |
|---|---|---|
directory * | string | Absolute path of the directory to run from, as if `endform test` were started there. |
config | string | null | Playwright configuration file or test directory, like Playwright `--config`. Relative paths resolve against `directory`. |
grep | array | Only selects tests whose full Playwright title chain matches these regular expressions, including the project, file, describe blocks, and test title. |
grepInvert | array | Excludes tests with titles matching these regular expressions, like Playwright `--grep-invert`. |
maxFailures | integer | null | Stops the suite after this many failures. Defaults to the Playwright config, and 0 removes the limit. |
organizationId | string | null | Endform organization ID. Defaults to the organization configured for the repository or active login. |
project | array | Only selects tests from these Playwright projects, like Playwright `--project`. |
repeatEach | integer | null | Runs each selected test this many times, like Playwright `--repeat-each`. To measure how flaky a test is, select it, set retries to 0, and repeat it, for example 100 times before a fix and 100 times a… |
retries | integer | null | Maximum retries for each failed test. Defaults to the Playwright config. |
testFileFilters | array | Filters test files using regular expressions matched against absolute paths, like Playwright positional test filters. A filter may include a test declaration line, for example `tests/checkout.spec.ts:… |
suite_run_status
Shows the progress of a suite run started with suite_run_start. status is running until the tests and local cleanup have finished, then passed, failed, stopped, or error. failures, reportUrl, and resultsPath are set once the run is over. Use status to tell whether the suite passed, because counts.failed can include quarantined tests.
| Parameter | Type | Description |
|---|---|---|
suiteRunId * | string | Suite run ID returned by `suite_run_start`. |
suite_run_stop
Stops a suite run started with suite_run_start, cancels its remaining tests, and cleans up its local web servers. Returns the final status. Stopping a run that is already over just returns its status.
| Parameter | Type | Description |
|---|---|---|
suiteRunId * | string | Suite run ID returned by `suite_run_start`. |