fix failing test because of whitespace in randstring

This commit is contained in:
Jamie Curnow committed 2023-01-10 12:47:01 +10:00
1 parent 560f3d9b29
commit 6d0bf1c68b
2 files changed
+2

No files matched your search

@@ -10,6 +10,7 @@ describe('Settings endpoints', () => {
});
cy.randomString(12).then((str) => {
settingName = 'cypressSetting_' + str;
settingName = settingName.trim();
});
});
@@ -11,6 +11,7 @@ describe('Users endpoints', () => {
});
cy.randomString(10).then((str) => {
uniqueEmail = 'jc_' + str + '@example.com';
uniqueEmail = uniqueEmail.trim();
});
});