Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

test(e2e): wait for app list before menu interaction (#39538)

yyha5703762c009
diff --git a/e2e/features/step-definitions/accessibility/keyboard-navigation.steps.ts b/e2e/features/step-definitions/accessibility/keyboard-navigation.steps.ts
index 824c98ac130..25bf478bc0c 100644
--- a/e2e/features/step-definitions/accessibility/keyboard-navigation.steps.ts
+++ b/e2e/features/step-definitions/accessibility/keyboard-navigation.steps.ts
@@ -72,6 +72,7 @@ When('I open and close the create app menu using the keyboard', async function (
const page = this.getPage()
const trigger = getCreateAppMenuTrigger(this)
+ await expect(page.getByRole('heading', { name: 'Build your first App' })).toBeVisible()
await trigger.press('Enter')
await expect(trigger).toHaveAttribute('aria-expanded', 'true')
await page.keyboard.press('Escape')