From 45e4df4e9c8b0648f1e6dc7323144d5c11a168ce Mon Sep 17 00:00:00 2001 From: KamilPawel Date: Sun, 25 Jun 2023 23:22:12 +0100 Subject: [PATCH] fix: fixed the frontend tests --- portal/tests/cypress/integration/independentStudent.spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/portal/tests/cypress/integration/independentStudent.spec.js b/portal/tests/cypress/integration/independentStudent.spec.js index c24620a0d..4d6841ded 100644 --- a/portal/tests/cypress/integration/independentStudent.spec.js +++ b/portal/tests/cypress/integration/independentStudent.spec.js @@ -16,10 +16,10 @@ describe("Independent student", () => { testRegistration(cy.signupAsIndependentStudent,["Test Name", "test@email.com", "pass", "pass"], false, PASSWORD_TOO_WEAK_MESSAGE); - testRegistration(cy.signupAsIndependentStudent,["Test Name", "test@email.com", "Password1!", "Password2!"], + testRegistration(cy.signupAsIndependentStudent,["Test Name", "test@email.com", "£EDCVFR$5tgb", "%TGBNHY^7ujm"], false, PASSWORD_DO_NOT_MATCH_MESSAGE); - testRegistration(cy.signupAsIndependentStudent,["///", "test@email.com", "Password1!", "Password1!"], + testRegistration(cy.signupAsIndependentStudent,["///", "test@email.com", "£EDCVFR$5tgb", "£EDCVFR$5tgb"], false, INVALID_NAME_MESSAGE); }); });