mirror of
https://github.com/xiaoxinpro/nginx-proxy-manager-zh.git
synced 2025-01-23 13:18:14 -05:00
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) => {
|
cy.randomString(12).then((str) => {
|
||||||
settingName = 'cypressSetting_' + str;
|
settingName = 'cypressSetting_' + str;
|
||||||
|
settingName = settingName.trim();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -11,6 +11,7 @@ describe('Users endpoints', () => {
|
|||||||
});
|
});
|
||||||
cy.randomString(10).then((str) => {
|
cy.randomString(10).then((str) => {
|
||||||
uniqueEmail = 'jc_' + str + '@example.com';
|
uniqueEmail = 'jc_' + str + '@example.com';
|
||||||
|
uniqueEmail = uniqueEmail.trim();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user