Skip to content
Snippets Groups Projects
Commit c3f72a7c authored by Bela Toci's avatar Bela Toci
Browse files

test(fix): added script for verified user

parent 121d00d0
No related branches found
No related tags found
1 merge request!34feat:added script for verified user in cypress
Pipeline #56214 failed with stages
in 4 minutes and 59 seconds
......@@ -7,13 +7,18 @@ const User = require('../../models/user/user.model')
;(async () => {
try {
const email = process.argv[2]
const username = process.argv[3]
// const username = process.argv[3]
const givenNames = process.argv[3]
const surname = process.argv[4]
const username = process.argv[5]
const newUser = await User.insert({
username,
password: 'Password@123',
// username: 'user',
password: 'Test@123',
agreedTc: true,
isActive: true,
givenNames,
surname,
})
// eslint-disable-next-line no-console
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment