diff --git a/frontend/cypress/plugins/index.js b/frontend/cypress/plugins/index.js index aa9918d2..662ae65c 100644 --- a/frontend/cypress/plugins/index.js +++ b/frontend/cypress/plugins/index.js @@ -18,4 +18,12 @@ module.exports = (on, config) => { // `on` is used to hook into various events Cypress emits // `config` is the resolved Cypress config + on("before:browser:launch", (browser = {}, args) => { + if (browser.name === "chrome") { + // ^ make sure this is your browser name, you may + // be using 'canary' or 'chromium' for example, so change it to match! + args.push("--proxy-bypass-list=<-loopback>"); + return args; + } + }); }