Error when executing multiple specs in firefox or edge or chrome in cypress

I've found following solutions

To Solve Chrome/Edge issue: disable GPU (Graphics processing Unit)

add this code in plugins/index.js

on('before:browser:launch', (browser, launchOptions) => {
    if ((browser.name === 'chrome' || browser.name === 'edge') && browser.isHeadless) {
      launchOptions.args.push('--disable-gpu');
      return launchOptions
    }
  });

In cypress 4.11.0 firefox issue is also resolved