fix failing test because of whitespace in randstring

This commit is contained in:
Jamie Curnow
2023-01-10 12:47:01 +10:00
parent 560f3d9b29
commit 6d0bf1c68b
2 changed files with 2 additions and 0 deletions

View File

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