You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
557 B
22 lines
557 B
import { defineConfig } from 'cypress'
|
|
|
|
export default defineConfig({
|
|
e2e: {
|
|
setupNodeEvents(on, config) {
|
|
console.log(config) // see everything in here!
|
|
|
|
// modify config values
|
|
config.defaultCommandTimeout = 10000
|
|
config.baseUrl = 'https://insports.tv'
|
|
|
|
// modify env var value
|
|
config.env.ENV = 'staging'
|
|
config.env.EMAIL = 'manager@um-teh.ru'
|
|
config.env.PASS = '12345678'
|
|
config.env.DOMAIN = 'insports.tv'
|
|
|
|
// IMPORTANT return the updated config object
|
|
return config
|
|
},
|
|
},
|
|
})
|
|
|