Skip to content

Commit 6d0bf1c

Browse files
committed
fix failing test because of whitespace in randstring
1 parent 560f3d9 commit 6d0bf1c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

test/cypress/integration/api/Settings.spec.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ describe('Settings endpoints', () => {
1010
});
1111
cy.randomString(12).then((str) => {
1212
settingName = 'cypressSetting_' + str;
13+
settingName = settingName.trim();
1314
});
1415
});
1516

test/cypress/integration/api/Users.spec.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ describe('Users endpoints', () => {
1111
});
1212
cy.randomString(10).then((str) => {
1313
uniqueEmail = 'jc_' + str + '@example.com';
14+
uniqueEmail = uniqueEmail.trim();
1415
});
1516
});
1617

0 commit comments

Comments
 (0)