2018-05-23 13:39:18 +00:00
|
|
|
const random = require('./helpers/random');
|
|
|
|
const value = random(20);
|
|
|
|
const data = {
|
2021-04-19 14:31:43 +00:00
|
|
|
server: 'https://mobile.rocket.chat',
|
|
|
|
adminUser: 'e2e_admin',
|
|
|
|
adminPassword: 'p7mFh4yLwCRXSnMvG',
|
2019-03-01 14:40:22 +00:00
|
|
|
alternateServer: 'https://stable.rocket.chat',
|
2020-07-15 16:28:34 +00:00
|
|
|
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 }`
|
2021-06-11 18:23:43 +00:00
|
|
|
},
|
|
|
|
alternate: {
|
|
|
|
name: `detox-alternate-${ value }`
|
2020-07-22 16:32:21 +00:00
|
|
|
}
|
|
|
|
},
|
2021-05-12 19:01:29 +00:00
|
|
|
teams: {
|
|
|
|
private: {
|
|
|
|
name: `detox-team-${ 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`
|
|
|
|
},
|
2021-04-19 14:31:43 +00:00
|
|
|
registeringUser4: {
|
|
|
|
username: `newuserfour${ value }`,
|
|
|
|
password: `passwordfour${ value }`,
|
|
|
|
email: `mobile+registeringfour${ value }@rocket.chat`
|
|
|
|
},
|
2018-05-23 13:39:18 +00:00
|
|
|
random: value
|
|
|
|
}
|
2019-05-28 13:03:08 +00:00
|
|
|
module.exports = data;
|