From 429fb7d2f2bcd1c1dcbcc97881ba323f5888ab70 Mon Sep 17 00:00:00 2001 From: clean-coder Date: Tue, 29 Oct 2024 07:17:00 +0100 Subject: [PATCH] fix keycloak html form change from input > button --- frontend/cypress/support/commands.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/cypress/support/commands.ts b/frontend/cypress/support/commands.ts index 8804dc3dc4..1fa1df2314 100644 --- a/frontend/cypress/support/commands.ts +++ b/frontend/cypress/support/commands.ts @@ -249,7 +249,7 @@ function loginWithCredentials(username: string, password: string) { cy.origin(Cypress.env('login_url'), { args: { username, password } }, ({ username, password }) => { cy.get('input[name="username"]').type(username); cy.get('input[name="password"]').type(password); - cy.get('input[type="submit"]').click(); + cy.get('button[type="submit"]').click(); cy.wait('@getCurrentUser', { responseTimeout: 10000 }); }); cy.url().then((url) => {