diff --git a/src/react-components/ory/user-consent-card.spec.tsx b/src/react-components/ory/user-consent-card.spec.tsx index 895c6dc27..857ac8c75 100644 --- a/src/react-components/ory/user-consent-card.spec.tsx +++ b/src/react-components/ory/user-consent-card.spec.tsx @@ -18,6 +18,7 @@ test("ory consent card login flow", async ({ mount }) => { const component = await mount() + await expect(component).toBeVisible() const consentComponent = new ConsentPage(component) await consentComponent.expectScopeFields(defaults.requested_scope) @@ -26,7 +27,4 @@ test("ory consent card login flow", async ({ mount }) => { "https://test_policy_uri/", ]) await consentComponent.expectAllowSubmit() - - await expect(component).toBeVisible() - await expect(component).toHaveScreenshot() }) diff --git a/src/react-components/ory/user-consent-card.spec.tsx-snapshots/ory-consent-card-login-flow-1-chromium-linux.png b/src/react-components/ory/user-consent-card.spec.tsx-snapshots/ory-consent-card-login-flow-1-chromium-linux.png deleted file mode 100644 index a90dd1c7f..000000000 Binary files a/src/react-components/ory/user-consent-card.spec.tsx-snapshots/ory-consent-card-login-flow-1-chromium-linux.png and /dev/null differ diff --git a/src/react-components/ory/user-consent-card.spec.tsx-snapshots/ory-consent-card-login-flow-1-firefox-linux.png b/src/react-components/ory/user-consent-card.spec.tsx-snapshots/ory-consent-card-login-flow-1-firefox-linux.png deleted file mode 100644 index a706e856d..000000000 Binary files a/src/react-components/ory/user-consent-card.spec.tsx-snapshots/ory-consent-card-login-flow-1-firefox-linux.png and /dev/null differ diff --git a/src/react-components/ory/user-consent-card.spec.tsx-snapshots/ory-consent-card-login-flow-1-webkit-linux.png b/src/react-components/ory/user-consent-card.spec.tsx-snapshots/ory-consent-card-login-flow-1-webkit-linux.png deleted file mode 100644 index 164bc8796..000000000 Binary files a/src/react-components/ory/user-consent-card.spec.tsx-snapshots/ory-consent-card-login-flow-1-webkit-linux.png and /dev/null differ