From 7faea03f5cba25920e6fad04d8caf006fdf42e06 Mon Sep 17 00:00:00 2001 From: Andres Bott Date: Thu, 4 Jan 2024 19:04:53 +0100 Subject: [PATCH] fix: allow curly braces in password string (#438) --- ui.tests/.gitignore | 4 +++- ui.tests/test-module/cypress/support/aem.js | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ui.tests/.gitignore b/ui.tests/.gitignore index 536aca34db..bb61be7796 100644 --- a/ui.tests/.gitignore +++ b/ui.tests/.gitignore @@ -1 +1,3 @@ -secret \ No newline at end of file +secret +test-module/cypress/results +!test-module/cypress/results/.gitkeep \ No newline at end of file diff --git a/ui.tests/test-module/cypress/support/aem.js b/ui.tests/test-module/cypress/support/aem.js index 21e0a487db..4c67a4896a 100644 --- a/ui.tests/test-module/cypress/support/aem.js +++ b/ui.tests/test-module/cypress/support/aem.js @@ -44,7 +44,7 @@ Cypress.Commands.add('AEMLogin', function (username, password) { cy.get('#login').should('have.attr', 'action', '/libs/granite/core/content/login.html/j_security_check') cy.get('#username').type(username) - cy.get('#password').type(password, { log: false }) + cy.get('#password').type(password, { log: false, parseSpecialCharSequences: false }) cy.get('#submit-button').click() cy.get('coral-shell-content', { timeout: 5000 }).should('exist')