diff --git a/src/react-components/ory/user-consent-card.spec.tsx b/src/react-components/ory/user-consent-card.spec.tsx index 6cb822bf2..895c6dc27 100644 --- a/src/react-components/ory/user-consent-card.spec.tsx +++ b/src/react-components/ory/user-consent-card.spec.tsx @@ -26,5 +26,7 @@ test("ory consent card login flow", async ({ mount }) => { "https://test_policy_uri/", ]) await consentComponent.expectAllowSubmit() + + await expect(component).toBeVisible() await expect(component).toHaveScreenshot() })