---
title: "The runner saves the test it wrote in the browser"
method: POST
path: "/v1/worker/runs/{runId}/written-test"
tags: ["Runs", "The runner"]
---

# The runner saves the test it wrote in the browser

`POST /v1/worker/runs/{runId}/written-test`

## Request

- Base URL: `https://api.taada.dev`
- URL: `https://api.taada.dev/v1/worker/runs/{runId}/written-test`
- Auth: HTTP bearer

Tada’s own worker pool only, or the pass pinned to this very check. The steps the runner wrote on the app for a check asked in words are saved through the one save path as that check’s test, and the QA engine’s recording of them is kept. Answers `{ saved: true, testId, steps }`, or `{ saved: false, refusal }` with the sentence that says why.

## Path parameters

- `runId` string, uuid, required

## Request body

- object
  - `name` string, required
  - `steps` object[], required
    - `action` string, required
    - `expect` string
    - `role` string
  - `notCovered` object[]
    - `what` string, required
    - `why` string, required
  - `confirmed` object[]
    - `step` integer, required
    - `what` string, required
  - `recording` object, nullable
    - `key` string, required
    - `stepsDigest` string, required
    - `payload` object, required
  - `reusedFrom` object, nullable
    - `testId` string, uuid, required
    - `steps` integer, required
  - `language` string
  - `languageAfter` string
  - `points` object[]
    - `n` integer, required
    - `title` string, required
    - `sentence` string, required
    - `expect` string, nullable, required
    - `why` string

## Response `200`

Default Response

---

[API](https://skmtc.dev/taada/apis/tada.md) · [All operations](https://skmtc.dev/taada/apis/tada/llms.txt) · [OpenAPI document](https://skmtc.dev/taada/apis/tada/revisions/9079c5c8a580?raw)
