I also have this in my `cypress.config.ts` file to...
# e2e-testing
s
I also have this in my
cypress.config.ts
file to
--disable-application-cache
for extra approach, from docs https://docs.cypress.io/api/plugins/browser-launch-api:
Copy code
setupNodeEvents: async (on, config) => {
      on(
        'before:browser:launch',
        (
          // eslint-disable-next-line default-param-last
          browser = {
            name: '',
            family: 'chromium',
            channel: '',
            displayName: '',
            version: '',
            majorVersion: '',
            path: '',
            isHeaded: false,
            isHeadless: false,
          },
          launchOptions
        ) => {
          // `args` is an array of all the arguments that will be passed to browsers when it launches
          if (browser.family === 'chromium' && browser.name !== 'electron') {
            launchOptions.args.push('--auto-open-devtools-for-tabs', '--disable-application-cache');
            consola.info('Chromium flags set:', launchOptions.args);
          }
          return launchOptions;
        }
      );