fix(e2e): target agent roster list items (#41453)

This commit is contained in:
yyh authored and GitHub committed 2026-08-31 01:24:04 +00:00
1 parent fce29e6f6a
commit 17ae89ff22
1 file changed
+1 -1
@@ -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()