2021-07-02 17:39:39 +00:00
|
|
|
// eslint-disable-next-line import/no-unresolved
|
2020-07-15 16:28:34 +00:00
|
|
|
const random = require('./helpers/random');
|
2021-07-02 17:39:39 +00:00
|
|
|
|
2020-07-15 16:28:34 +00:00
|
|
|
const value = random(20);
|
|
|
|
const data = {
|
2021-07-02 17:39:39 +00:00
|
|
|
server: 'http://localhost:3000',
|
|
|
|
adminUser: 'admin',
|
|
|
|
adminPassword: 'password',
|
|
|
|
alternateServer: 'https://stable.rocket.chat',
|
|
|
|
users: {
|
|
|
|
regular: {
|
2021-09-13 20:41:05 +00:00
|
|
|
username: `userone${value}`,
|
2021-07-02 17:39:39 +00:00
|
|
|
password: '123',
|
2021-09-13 20:41:05 +00:00
|
|
|
email: `mobile+regular${value}@rocket.chat`
|
2021-07-02 17:39:39 +00:00
|
|
|
},
|
|
|
|
alternate: {
|
2021-09-13 20:41:05 +00:00
|
|
|
username: `usertwo${value}`,
|
2021-07-02 17:39:39 +00:00
|
|
|
password: '123',
|
2021-09-13 20:41:05 +00:00
|
|
|
email: `mobile+alternate${value}@rocket.chat`,
|
2021-07-02 17:39:39 +00:00
|
|
|
totpSecret: 'NA4GOMZGHBQSK6KEFRVT62DMGJJGSYZJFZIHO3ZOGVXWCYZ6MMZQ'
|
|
|
|
},
|
|
|
|
profileChanges: {
|
2021-09-13 20:41:05 +00:00
|
|
|
username: `userthree${value}`,
|
2021-07-02 17:39:39 +00:00
|
|
|
password: '123',
|
2021-09-13 20:41:05 +00:00
|
|
|
email: `mobile+profileChanges${value}@rocket.chat`
|
2021-07-02 17:39:39 +00:00
|
|
|
},
|
|
|
|
existing: {
|
2021-09-13 20:41:05 +00:00
|
|
|
username: `existinguser${value}`,
|
2021-07-02 17:39:39 +00:00
|
|
|
password: '123',
|
2021-09-13 20:41:05 +00:00
|
|
|
email: `mobile+existing${value}@rocket.chat`
|
2021-07-02 17:39:39 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
channels: {
|
|
|
|
detoxpublic: {
|
|
|
|
name: 'detox-public'
|
|
|
|
},
|
|
|
|
detoxpublicprotected: {
|
|
|
|
name: 'detox-public-protected',
|
|
|
|
joinCode: '123'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
groups: {
|
|
|
|
private: {
|
2021-09-13 20:41:05 +00:00
|
|
|
name: `detox-private-${value}`
|
2021-07-02 17:39:39 +00:00
|
|
|
},
|
|
|
|
alternate: {
|
2021-09-13 20:41:05 +00:00
|
|
|
name: `detox-alternate-${value}`
|
2021-10-26 16:11:50 +00:00
|
|
|
},
|
|
|
|
alternate2: {
|
|
|
|
name: `detox-alternate2-${value}`
|
2021-07-02 17:39:39 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
teams: {
|
|
|
|
private: {
|
2021-09-13 20:41:05 +00:00
|
|
|
name: `detox-team-${value}`
|
2021-07-02 17:39:39 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
registeringUser: {
|
2021-09-13 20:41:05 +00:00
|
|
|
username: `newuser${value}`,
|
|
|
|
password: `password${value}`,
|
|
|
|
email: `mobile+registering${value}@rocket.chat`
|
2021-07-02 17:39:39 +00:00
|
|
|
},
|
|
|
|
registeringUser2: {
|
2021-09-13 20:41:05 +00:00
|
|
|
username: `newusertwo${value}`,
|
|
|
|
password: `passwordtwo${value}`,
|
|
|
|
email: `mobile+registeringtwo${value}@rocket.chat`
|
2021-07-02 17:39:39 +00:00
|
|
|
},
|
|
|
|
registeringUser3: {
|
2021-09-13 20:41:05 +00:00
|
|
|
username: `newuserthree${value}`,
|
|
|
|
password: `passwordthree${value}`,
|
|
|
|
email: `mobile+registeringthree${value}@rocket.chat`
|
2021-07-02 17:39:39 +00:00
|
|
|
},
|
|
|
|
registeringUser4: {
|
2021-09-13 20:41:05 +00:00
|
|
|
username: `newuserfour${value}`,
|
|
|
|
password: `passwordfour${value}`,
|
|
|
|
email: `mobile+registeringfour${value}@rocket.chat`
|
2021-07-02 17:39:39 +00:00
|
|
|
},
|
|
|
|
random: value
|
|
|
|
};
|
2020-07-15 16:28:34 +00:00
|
|
|
module.exports = data;
|