diff --git a/DOCUMENTATION.md b/DOCUMENTATION.md index 77574a65..5192c68f 100644 --- a/DOCUMENTATION.md +++ b/DOCUMENTATION.md @@ -111,7 +111,7 @@ Ask the project's agent to propose tests and show you the steps. A backend proje testsprite plan "Verify that a guest can complete checkout" --project "$PROJECT_ID" --steps ``` -Answer a question in a text message with `testsprite reply "your answer"`. For a question card, use the **Open in the portal** link to submit your answers. Review a proposed plan and use `reject "what to change"` to request a revision. Applying a test plan saves the cases. Applying a run proposal starts an execution. +Answer a question in a text message with `testsprite reply "your answer"`. For a question card, pass all answers together in the terminal, for example `testsprite apply --answer 1=b --answer 2=a,c`. Use the letters the card shows. The **Open in the portal** link also lets you answer there. Review a proposed plan and use `reject "what to change"` to request a revision. Applying a test plan saves the cases. Applying a run proposal starts an execution. ```bash testsprite apply --output json diff --git a/README.md b/README.md index 2c0449ae..832f40c2 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ PROJECT_ID=your-project-id testsprite project env create "$PROJECT_ID" --name staging --url https://staging.example.com ``` -**Get your first test.** Ask the project's agent to propose coverage. If it asks a question in a text message, answer with `testsprite reply "your answer"`. Review the proposed steps in the terminal and apply the plan when they match what you want to verify. For a backend project, attach the API specification with `--file ./openapi.yaml`. +**Get your first test.** Ask the project's agent to propose coverage. If it asks a question in a text message, answer with `testsprite reply "your answer"`. For a question card, submit all the numbered answers together with `testsprite apply --answer 1=b --answer 2=a,c`. Review the proposed steps in the terminal and apply the plan when they match what you want to verify. For a backend project, attach the API specification with `--file ./openapi.yaml`. ```bash testsprite plan "Verify that a guest can place an order with a test card" --project "$PROJECT_ID" --steps