diff --git a/cypress.config.ts b/cypress.config.ts index 3c8a8c1387..e390c41a54 100644 --- a/cypress.config.ts +++ b/cypress.config.ts @@ -1,7 +1,12 @@ -import { defineConfig } from 'cypress'; +import { defineConfig } from 'cypress' export default defineConfig({ - e2e: { - baseUrl: 'http://localhost:61812', - }, -}); + e2e: { + // We've imported your old cypress plugins here. + // You may want to clean this up later by importing these. + setupNodeEvents(on, config) { + return require('./cypress/plugins/index.js')(on, config) + }, + baseUrl: 'http://localhost:61812', + }, +}) diff --git a/cypress/integration/basic.js b/cypress/e2e/basic.cy.js similarity index 100% rename from cypress/integration/basic.js rename to cypress/e2e/basic.cy.js diff --git a/cypress/integration/widgets.js b/cypress/e2e/widgets.cy.js similarity index 100% rename from cypress/integration/widgets.js rename to cypress/e2e/widgets.cy.js diff --git a/cypress/support/index.js b/cypress/support/e2e.js similarity index 100% rename from cypress/support/index.js rename to cypress/support/e2e.js