From 235a3fbfe3bb59cfe04bd6e1400d81b6975b440e Mon Sep 17 00:00:00 2001 From: Alano Terblanche <18033717+Benehiko@users.noreply.github.com> Date: Tue, 26 Sep 2023 13:18:51 +0200 Subject: [PATCH] test: consent card --- src/react-components/ory/user-consent-card.spec.tsx | 2 ++ 1 file changed, 2 insertions(+) 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() })