mirror of
https://github.com/langgenius/dify.git
synced 2026-10-04 13:47:55 +08:00
fix(e2e): align Agent node selection and workflow triggers (#42421)
This commit is contained in:
2 files changed
+9
-3
No files matched your search
@@ -93,6 +93,12 @@ jobs:
|
||||
- 'web/app/components/base/chat/chat-with-history/**'
|
||||
- 'web/app/components/base/chat/chat/**'
|
||||
- 'web/app/components/base/voice-input/**'
|
||||
- 'web/app/components/workflow/index.tsx'
|
||||
- 'web/app/components/workflow/block-selector/**'
|
||||
- 'web/app/components/workflow/hooks/use-node-keyboard-interactions.ts'
|
||||
- 'web/app/components/workflow/hooks/use-nodes-interactions.ts'
|
||||
- 'web/app/components/workflow/hooks/use-nodes-sync-draft.ts'
|
||||
- 'web/app/components/workflow/nodes/_base/**'
|
||||
- 'web/app/components/workflow/nodes/agent-v2/**'
|
||||
- 'web/i18n/en-US/agent-v-2.json'
|
||||
- 'web/i18n/en-US/common.json'
|
||||
|
||||
@@ -46,10 +46,10 @@ Given(
|
||||
|
||||
When('I open the Agent v2 workflow node panel', async function (this: DifyWorld) {
|
||||
const page = this.getPage()
|
||||
const agentNode = page.getByRole('button', { name: 'Agent', exact: true })
|
||||
const agentNodeTitle = page.getByTitle('Agent', { exact: true })
|
||||
|
||||
await expect(agentNode).toBeVisible({ timeout: 30_000 })
|
||||
await agentNode.click()
|
||||
await expect(agentNodeTitle).toBeVisible({ timeout: 30_000 })
|
||||
await agentNodeTitle.click()
|
||||
await expect(page.getByRole('button', { name: 'Output Variables' })).toBeVisible()
|
||||
})
|
||||
|
||||
|
||||
Reference in new issue
Block a user