SHA256
Улучшить ввод пароля при входе и регистрации
This commit is contained in:
@@ -26,7 +26,10 @@ test('пароль допускает один символ, а email можно
|
||||
const email = read('../js/pages/registration-email-view.js');
|
||||
assert.match(registration, /value\.length < 1/);
|
||||
assert.doesNotMatch(registration, /value\.length < 12/);
|
||||
assert.match(registration, /input\.type = 'text'/);
|
||||
assert.match(registration, /createExpandablePasswordTextarea\(\)/);
|
||||
const passwordField = read('../js/components/visible-password-field.js');
|
||||
assert.match(passwordField, /createExpandablePasswordTextarea/);
|
||||
assert.match(passwordField, /input\.tagName === 'TEXTAREA'/);
|
||||
assert.match(email, /let emailRequestId = 0/);
|
||||
assert.match(email, /requestId !== emailRequestId/);
|
||||
assert.match(email, /emailRequestId \+= 1/);
|
||||
|
||||
Reference in New Issue
Block a user