From 79085d04c5669beb3bd088d508ec9b9b4ecb7818 Mon Sep 17 00:00:00 2001 From: aeneasr <3372410+aeneasr@users.noreply.github.com> Date: Fri, 10 Jan 2025 14:44:33 +0100 Subject: [PATCH] chore: synchronize workspaces --- .../cypress/integration/profiles/email/login/error.spec.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/e2e/cypress/integration/profiles/email/login/error.spec.ts b/test/e2e/cypress/integration/profiles/email/login/error.spec.ts index 67624d5b0019..a72c0193e73d 100644 --- a/test/e2e/cypress/integration/profiles/email/login/error.spec.ts +++ b/test/e2e/cypress/integration/profiles/email/login/error.spec.ts @@ -5,6 +5,7 @@ import { appPrefix, gen } from "../../../../helpers" import { routes as express } from "../../../../helpers/express" import { routes as react } from "../../../../helpers/react" +// playwright:migrated describe("Basic email profile with failing login flows", () => { ;[ { @@ -29,6 +30,7 @@ describe("Basic email profile with failing login flows", () => { cy.visit(route) }) + // playwright:migrated it("fails when CSRF cookies are missing", () => { cy.get(`${appPrefix(app)}input[name="identifier"]`).type( "i-do-not-exist", @@ -38,6 +40,7 @@ describe("Basic email profile with failing login flows", () => { cy.shouldHaveCsrfError({ app }) }) + // playwright:migrated it("fails when a disallowed return_to url is requested", () => { cy.shouldErrorOnDisallowedReturnTo( route + "?return_to=https://not-allowed", @@ -45,7 +48,10 @@ describe("Basic email profile with failing login flows", () => { ) }) + // playwright:migrated - partially describe("shows validation errors when invalid signup data is used", () => { + + // playwright:migrated it("should show an error when the identifier is missing", () => { // the browser will prevent the form from submitting if the fields are empty since they are required // here we just remove the required attribute to make the form submit