From e25ca611d89364dfb41138d72ca1025cfeccd102 Mon Sep 17 00:00:00 2001 From: Joel Date: Mon, 24 Aug 2026 13:16:37 +0000 Subject: [PATCH] fix: failed e2e test in agent caused by changed copywriting (#41187) --- .../step-definitions/agent-v2/build-draft.steps.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/e2e/features/step-definitions/agent-v2/build-draft.steps.ts b/e2e/features/step-definitions/agent-v2/build-draft.steps.ts index 5de92e42562..2ec1e1c45f5 100644 --- a/e2e/features/step-definitions/agent-v2/build-draft.steps.ts +++ b/e2e/features/step-definitions/agent-v2/build-draft.steps.ts @@ -280,10 +280,9 @@ Then('I should see the Agent v2 Build mode confirmation state', async function ( await expect(page.getByText('Build mode', { exact: true })).toBeVisible() await expect( - page.getByText('Configure can only be updated by the agent in this mode.'), - ).toBeVisible() - await expect( - page.getByText('Shape this setup through the chat on the right, then Apply.'), + page.getByText( + "You're in Build mode. Shape this setup by chatting with the agent, then Apply.", + ), ).toBeVisible() })