const random = require('./helpers/random');
// eslint-disable-next-line import/no-unresolved, import/extensions
const account = require('./e2e_account');
const value = random(20);
const data = {
server: 'https://mobile.rocket.chat',
...account,
alternateServer: 'https://stable.rocket.chat',
users: {
regular: {
username: `userone${value}`,
password: '123',
email: `mobile+regular${value}@rocket.chat`
},
alternate: {
username: `usertwo${value}`,
email: `mobile+alternate${value}@rocket.chat`,
totpSecret: 'NA4GOMZGHBQSK6KEFRVT62DMGJJGSYZJFZIHO3ZOGVXWCYZ6MMZQ'
profileChanges: {
username: `userthree${value}`,
email: `mobile+profileChanges${value}@rocket.chat`
existing: {
username: `existinguser${value}`,
email: `mobile+existing${value}@rocket.chat`
}
channels: {
detoxpublic: {
name: 'detox-public'
detoxpublicprotected: {
name: 'detox-public-protected',
joinCode: '123'
groups: {
private: {
name: `detox-private-${value}`
name: `detox-alternate-${value}`
alternate2: {
name: `detox-alternate2-${value}`
teams: {
name: `detox-team-${value}`
registeringUser: {
username: `newuser${value}`,
password: `password${value}`,
email: `mobile+registering${value}@rocket.chat`
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`
registeringUser4: {
username: `newuserfour${value}`,
password: `passwordfour${value}`,
email: `mobile+registeringfour${value}@rocket.chat`
random: value
};
module.exports = data;