-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathcypress.config.js
43 lines (42 loc) · 1.6 KB
/
cypress.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
const { defineConfig } = require('cypress')
module.exports = defineConfig({
projectId: 'tip3z9',
chromeWebSecurity: false,
retries: {
runMode: 2,
openMode: 0,
},
env: {
testAdmin: '[email protected]',
testAdminName: 'BrowserTestUser_Admin',
testCoordinator: '[email protected]',
testVolunteer: '[email protected]',
testVolunteerWithNoPermissions: '[email protected]',
testExpiredUser: '[email protected]',
testNotActivatedUser: '[email protected]',
testDeletedUser: '[email protected]',
testUnknownUser: '[email protected]',
testPwd: 'Browser_tests',
testNewPwd: 'Browser_tests_2',
testWeekPwd: 'browsertests',
testWrongPwd: 'wrongPwd',
incorrectLoginNotif: 'Incorrect login.',
genericErrLoginNotif:
'This email either does not have an active account associated with it, or access has expired. Contact your coordinator to enable your account.',
unknownEmailErrLoginNotif:
'There is no user with this email address in our systems. Check your spelling and try again.',
successPwdChangeNotif:
'Within a few minutes you will receive an e-mail with further instructions to reset your password.',
orgName: 'TestOrganisation',
auth0Domain: 'staging-login.boxtribute.org',
},
e2e: {
// We've imported your old cypress plugins here.
// You may want to clean this up later by importing these.
setupNodeEvents(on, config) {
return require('./cypress/plugins/index.js')(on, config)
},
baseUrl: 'https://staging.boxtribute.org',
specPattern: 'cypress/e2e/**/*.js',
},
})