diff --git a/test/cypress/integration/api/Settings.spec.js b/test/cypress/integration/api/Settings.spec.js index 5b9d636f..5b68d342 100644 --- a/test/cypress/integration/api/Settings.spec.js +++ b/test/cypress/integration/api/Settings.spec.js @@ -10,6 +10,7 @@ describe('Settings endpoints', () => { }); cy.randomString(12).then((str) => { settingName = 'cypressSetting_' + str; + settingName = settingName.trim(); }); }); diff --git a/test/cypress/integration/api/Users.spec.js b/test/cypress/integration/api/Users.spec.js index ade53df2..b28ebe48 100644 --- a/test/cypress/integration/api/Users.spec.js +++ b/test/cypress/integration/api/Users.spec.js @@ -11,6 +11,7 @@ describe('Users endpoints', () => { }); cy.randomString(10).then((str) => { uniqueEmail = 'jc_' + str + '@example.com'; + uniqueEmail = uniqueEmail.trim(); }); });