Testorim

v0.4.1
io.github.sallar-ba/testorim Checked 4 days ago Published 2 months ago

AI browser tests from your coding agent: a verdict, failing steps, report, video and trace.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_projects List Testorim projects

List the projects (sites under test) in the API key's workspace, with each project's id and address.

list_tests List saved tests

List the saved tests (procedures) of a project. A saved test replays its recorded steps without re-planning, so it is faster and repeatable.

ParameterTypeDescription
projectId *stringProject id from list_projects.

run_test Run a browser test

Run a test in a real browser and return the verdict, the failing steps with the reason for each, the written report and links to the evidence. Pass testId to replay a saved test, or description to test anything in plain English, for example: "Sign up with a new email address and check that the dashboard opens and says Welcome." Waits for the verdict unless wait is false.

ParameterTypeDescription
baseUrlstringRun against this address instead of the project's own, for example a pull request's preview deployment. Must be publicly reachable.
descriptionstringWhat a visitor should do and what must be true at the end, in plain English. Name the buttons, fields and text as they appear on the page.
expectationstringUse fail for a negative test (for example, a wrong password must be refused). Default pass.
projectIdstringProject id from list_projects. Optional when testId is given.
testIdstringA saved test id from list_tests.
timeoutSecondsintegerHow long to wait for the verdict before returning the run as still in progress (default 600).
waitbooleanWait for the verdict (default true). With false, returns the run id at once; read it later with get_run.

get_run Get a run's result

Read a run's status, verdict, failing steps, report and evidence links.

ParameterTypeDescription
runId *stringRun id returned by run_test.

cancel_run Cancel a run

Stop a queued or running run. A cancelled run has no verdict.

ParameterTypeDescription
runId *stringRun id returned by run_test.

create_project Create a project

Create a project for a site so it can be tested. If the workspace already tests that address, the existing project is returned instead.

ParameterTypeDescription
baseUrl *stringThe site's public address, for example https://staging.example.com.
namestringA short name, for example the product's name.