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.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
test(dify-ui): wait for filterable menu exit before accessibility scan (#43890)
yyhadfb580a5b84
diff --git a/packages/dify-ui/src/dropdown-menu/index.stories.tsx b/packages/dify-ui/src/dropdown-menu/index.stories.tsxindex 23a7f1e04ff..d03f77590f5 100644--- a/packages/dify-ui/src/dropdown-menu/index.stories.tsx+++ b/packages/dify-ui/src/dropdown-menu/index.stories.tsx@@ -685,11 +685,18 @@ export const Filterable: Story = {)await userEvent.click(trigger)- await body.findByRole('searchbox', { name: 'Filter actions' })+ const finalInput = await body.findByRole('searchbox', { name: 'Filter actions' })+ const popup = body.getByRole('menu')+ await waitFor(async () => {+ await expect(finalInput).toHaveFocus()+ })await userEvent.keyboard('{Shift>}{Tab}{/Shift}')await waitFor(async () => {await expect(trigger).toHaveFocus()})await expect(trigger).toHaveAttribute('aria-expanded', 'false')+ await waitFor(async () => {+ await expect(popup).not.toBeInTheDocument()+ })},}