From fe96bea1f0de0c27b3eb22fdff58248e43927809 Mon Sep 17 00:00:00 2001 From: yyh <92089059+lyzno1@users.noreply.github.com> Date: Wed, 15 Jul 2026 20:39:51 +0800 Subject: [PATCH] fix(e2e): follow agent roster create menu (#39020) --- e2e/features/step-definitions/agent-v2/agent-roster.steps.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/e2e/features/step-definitions/agent-v2/agent-roster.steps.ts b/e2e/features/step-definitions/agent-v2/agent-roster.steps.ts index 97351d72a62..25c0cb69973 100644 --- a/e2e/features/step-definitions/agent-v2/agent-roster.steps.ts +++ b/e2e/features/step-definitions/agent-v2/agent-roster.steps.ts @@ -11,7 +11,8 @@ When('I create an Agent v2 test agent from the Agent Roster', async function (th const agentDescription = 'Created by Dify E2E through the Agent Roster UI.' await page.goto('/agents') - await page.getByRole('button', { name: 'Create agent' }).click() + await page.getByRole('button', { name: 'Create' }).click() + await page.getByRole('menuitem', { name: 'Create from Blank' }).click() const dialog = page.getByRole('dialog', { name: 'Create agent' }) await expect(dialog).toBeVisible()