mirror of
https://github.com/langgenius/dify.git
synced 2026-07-18 07:44:36 -04:00
fix(e2e): follow agent roster create menu (#39020)
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user