mirror of
https://github.com/langgenius/dify.git
synced 2026-02-24 09:55:09 +00:00
test: update hit testing spec to verify component rendering with hidden option
This commit is contained in:
@@ -2142,8 +2142,8 @@ describe('Integration: Hit Testing Flow', () => {
|
||||
fireEvent.click(submitButton)
|
||||
|
||||
await waitFor(() => {
|
||||
// Verify component is rendered
|
||||
expect(screen.getByRole('textbox')).toBeInTheDocument()
|
||||
// Verify component is rendered (use hidden: true in case dialog opened)
|
||||
expect(screen.getByRole('textbox', { hidden: true })).toBeInTheDocument()
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user