Created
July 11, 2019 06:35
-
-
Save iconnor/119a39a787a7c66e8c2ab587b21d56c6 to your computer and use it in GitHub Desktop.
How cypress runs over staging
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = (on, config) => { | |
// `on` is used to hook into various events Cypress emits | |
// `config` is the resolved Cypress config | |
if (config.env.environment === 'staging') { | |
config.defaultCommandTimeout = 30000; | |
config.chromeWebSecurity = false; | |
config.baseUrl = 'https://staging.yourserveraddress.com'; | |
} | |
return config; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment