Polishing e2e test API. Added option to parse links and extract parameters from them. Added option to construct parameterizedlinks in "navigate".
This commit is contained in:
parent
328034bae0
commit
ccd37ac792
12 changed files with 308 additions and 147 deletions
|
@ -148,7 +148,6 @@ function updateMenu(res) {
|
|||
}
|
||||
|
||||
function validateEmail(address, checkBlocked, callback) {
|
||||
|
||||
let user = (address || '').toString().split('@').shift().toLowerCase().replace(/[^a-z0-9]/g, '');
|
||||
if (checkBlocked && blockedUsers.indexOf(user) >= 0) {
|
||||
return callback(new Error(util.format(_('Blocked email address "%s"'), address)));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue