From 17ae89ff2256bc7885aeb10393eb3687a20eed78 Mon Sep 17 00:00:00 2001 From: yyh <92089059+lyzno1@users.noreply.github.com> Date: Mon, 31 Aug 2026 01:24:04 +0000 Subject: [PATCH] fix(e2e): target agent roster list items (#41453) --- e2e/features/step-definitions/agent-v2/agent-edit.steps.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/features/step-definitions/agent-v2/agent-edit.steps.ts b/e2e/features/step-definitions/agent-v2/agent-edit.steps.ts index 29cbc883992..0a30ed03150 100644 --- a/e2e/features/step-definitions/agent-v2/agent-edit.steps.ts +++ b/e2e/features/step-definitions/agent-v2/agent-edit.steps.ts @@ -86,7 +86,7 @@ When( const copyName = createE2EResourceName('Agent', 'copy') await page.goto('/agents') - const card = page.getByRole('article', { name: agentName, exact: true }) + const card = page.getByRole('listitem', { name: agentName, exact: true }) await expect(card).toBeVisible({ timeout: 30_000 }) await card.hover()