Browse Source

Fixed an issue where the faker would make a password too short.

master
Zed A. Shaw 3 months ago
parent
commit
d13d29d9c6
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      __tests__/utils.js

+ 3
- 0
__tests__/utils.js View File

@@ -28,6 +28,9 @@ exports.login = async (user, start) => {
}

exports.register = async (main_user, page) => {
// force the password requirements
if(main_user.password.length < 6) main_user.password += main_user.password;

await page.waitForSelector(t.sel('register-panel'));
await t.has_content(page, t.sel('register-panel'), "Register Today");



Loading…
Cancel
Save