diff --git a/maintain-tests.mdx b/maintain-tests.mdx index cee52ba..c8003b1 100644 --- a/maintain-tests.mdx +++ b/maintain-tests.mdx @@ -64,7 +64,7 @@ Since we dogfood our own end-to-end tests, we have discovered this easy hack: 1. go to the test case 2. check the **prompt** - if it's not matching the desired flow anymore, adjust it 3. click `regenerate steps` -4. select the first step that broke +4. select the last step you wish to keep 5. confirm `generate steps` The **AI agent** will re-generate steps of your test and validate them. If it's alright, click `save & run`. If it needs adjustment, this is [how you edit test cases](/edit-test-case.mdx).