2020-07-15 16:28:34 +00:00
|
|
|
const random = require('./helpers/random');
|
|
|
|
const value = random(20);
|
|
|
|
const data = {
|
2021-03-31 21:01:20 +00:00
|
|
|
server: 'http://localhost:3000',
|
2020-07-15 16:28:34 +00:00
|
|
|
adminUser: 'admin',
|
|
|
|
adminPassword: 'password',
|
|
|
|
alternateServer: 'https://stable.rocket.chat',
|
|
|
|
users: {
|
|
|
|
regular: {
|
|
|
|
username: `userone${ value }`,
|
|
|
|
password: '123',
|
2020-07-24 19:19:30 +00:00
|
|
|
email: `mobile+regular${ value }@rocket.chat`
|
2020-07-15 16:28:34 +00:00
|
|
|
},
|
|
|
|
alternate: {
|
|
|
|
username: `usertwo${ value }`,
|
|
|
|
password: '123',
|
2020-07-24 19:19:30 +00:00
|
|
|
email: `mobile+alternate${ value }@rocket.chat`,
|
2020-07-15 16:28:34 +00:00
|
|
|
totpSecret: 'NA4GOMZGHBQSK6KEFRVT62DMGJJGSYZJFZIHO3ZOGVXWCYZ6MMZQ'
|
|
|
|
},
|
|
|
|
profileChanges: {
|
|
|
|
username: `userthree${ value }`,
|
|
|
|
password: '123',
|
2020-07-24 19:19:30 +00:00
|
|
|
email: `mobile+profileChanges${ value }@rocket.chat`
|
2020-07-15 16:28:34 +00:00
|
|
|
},
|
|
|
|
existing: {
|
|
|
|
username: `existinguser${ value }`,
|
|
|
|
password: '123',
|
2020-07-24 19:19:30 +00:00
|
|
|
email: `mobile+existing${ value }@rocket.chat`
|
2020-07-15 16:28:34 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
channels: {
|
2020-07-22 16:32:21 +00:00
|
|
|
detoxpublic: {
|
2020-07-15 16:28:34 +00:00
|
|
|
name: 'detox-public'
|
2020-12-01 17:30:39 +00:00
|
|
|
},
|
|
|
|
detoxpublicprotected: {
|
|
|
|
name: 'detox-public-protected',
|
|
|
|
joinCode: '123'
|
2020-07-15 16:28:34 +00:00
|
|
|
}
|
|
|
|
},
|
2020-07-22 16:32:21 +00:00
|
|
|
groups: {
|
|
|
|
private: {
|
|
|
|
name: `detox-private-${ value }`
|
|
|
|
}
|
|
|
|
},
|
2020-07-15 16:28:34 +00:00
|
|
|
registeringUser: {
|
|
|
|
username: `newuser${ value }`,
|
|
|
|
password: `password${ value }`,
|
2020-07-24 19:19:30 +00:00
|
|
|
email: `mobile+registering${ value }@rocket.chat`
|
2020-07-15 16:28:34 +00:00
|
|
|
},
|
2021-04-01 19:27:46 +00:00
|
|
|
registeringUser2: {
|
|
|
|
username: `newusertwo${ value }`,
|
|
|
|
password: `passwordtwo${ value }`,
|
|
|
|
email: `mobile+registeringtwo${ value }@rocket.chat`
|
|
|
|
},
|
|
|
|
registeringUser3: {
|
|
|
|
username: `newuserthree${ value }`,
|
|
|
|
password: `passwordthree${ value }`,
|
|
|
|
email: `mobile+registeringthree${ value }@rocket.chat`
|
|
|
|
},
|
2020-07-15 16:28:34 +00:00
|
|
|
random: value
|
|
|
|
}
|
|
|
|
module.exports = data;
|