bahmutov / cypress-split

Split Cypress specs across parallel CI machines for speed
MIT License
199 stars 22 forks source link

Question about cypress.config.ts when using plugins/index.js #191

Closed gabrielfer closed 6 months ago

gabrielfer commented 6 months ago

Hello @bahmutov, first all thank you for this plugin.

export default defineConfig({
  e2e: {
    video: false,
    screenshotOnRunFailure: false,
    fixturesFolder: false,
    setupNodeEvents(on, config) {
      return require('./cypress/plugins/index.js')(on, config);
    },
  }
});

This is my current cypress.config.ts, in this case should I add the cypressSplit() in the index.js file?

bahmutov commented 6 months ago

YesSent from my iPhoneOn Dec 20, 2023, at 10:11, Gabriel Fernandes @.***> wrote: Hello @bahmutov, first all thank you for this plugin. export default defineConfig({ e2e: { video: false, screenshotOnRunFailure: false, fixturesFolder: false, setupNodeEvents(on, config) { return require('./cypress/plugins/index.js')(on, config); }, } });

This is my current cypress.config.ts, in this case should I add the cypressSplit() in the index.js file?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>