From 51cb861cbe2ddfd857e954ee39370ee58db390f7 Mon Sep 17 00:00:00 2001 From: Maria Z <129901200+ma-zah@users.noreply.github.com> Date: Tue, 17 Sep 2024 16:05:54 +0200 Subject: [PATCH] Update maintain-tests.mdx --- maintain-tests.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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).