fix failing test because of whitespace in randstring
This commit is contained in:
parent
560f3d9b29
commit
6d0bf1c68b
@ -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();
|
||||
});
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user