-
Notifications
You must be signed in to change notification settings - Fork 0
/
cypress.config.js
29 lines (28 loc) · 1.15 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
const { defineConfig } = require('cypress')
module.exports = defineConfig({
defaultCommandTimeout: 10000,
video: false,
screenshotOnRunFailure: false,
chromeWebSecurity: false,
retries: 2,
env: {
youth_pass_url:
'https://mbta.preprod.simpligov.com/preprod/portal/ShowWorkFlow/AnonymousEmbed/86cadfa6-e8ea-46f1-b6e8-62498f066962',
youth_pass_dashboard_url:
'https://mbta.preprod.simpligov.com/preprod/portal/Dashboard',
senior_url:
'https://mbta.preprod.simpligov.com/preprod/portal/ShowWorkFlow/AnonymousEmbed/4fd3d3fb-6b6a-4521-b214-896099a22af8',
blind_url:
'https://mbta.preprod.simpligov.com/preprod/portal/ShowWorkFlow/AnonymousEmbed/bc44cab3-9a58-4022-bd9f-e91699d681a1',
tap_url:
'https://mbta.preprod.simpligov.com/preprod/portal/ShowWorkFlow/AnonymousEmbed/933fc655-36f5-449d-9d37-dc9f1906477d',
},
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)
},
specPattern: 'cypress/automated-tests/**/*.cy.{js,jsx,ts,tsx}',
}
})