diff --git a/cypress.config.ts b/cypress.config.ts new file mode 100644 index 0000000..e2ff65a --- /dev/null +++ b/cypress.config.ts @@ -0,0 +1,9 @@ +import { defineConfig } from 'cypress'; + +export default defineConfig({ + e2e: { + excludeSpecPattern: [ + '**/*.html', + ], + }, +}); diff --git a/cypress.json b/cypress.json deleted file mode 100644 index 66e828a..0000000 --- a/cypress.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "ignoreTestFiles": [ - "**/*.html" - ] -} diff --git a/cypress/integration/1-default-editor/index.html b/cypress/e2e/1-default-editor/index.html similarity index 100% rename from cypress/integration/1-default-editor/index.html rename to cypress/e2e/1-default-editor/index.html diff --git a/cypress/integration/1-default-editor/preview.spec.js b/cypress/e2e/1-default-editor/preview.cy.js similarity index 100% rename from cypress/integration/1-default-editor/preview.spec.js rename to cypress/e2e/1-default-editor/preview.cy.js diff --git a/cypress/integration/1-default-editor/statusbar.spec.js b/cypress/e2e/1-default-editor/statusbar.cy.js similarity index 100% rename from cypress/integration/1-default-editor/statusbar.spec.js rename to cypress/e2e/1-default-editor/statusbar.cy.js diff --git a/cypress/integration/1-default-editor/visual.spec.js b/cypress/e2e/1-default-editor/visual.cy.js similarity index 100% rename from cypress/integration/1-default-editor/visual.spec.js rename to cypress/e2e/1-default-editor/visual.cy.js diff --git a/cypress/integration/2-url-prompt/index.html b/cypress/e2e/2-url-prompt/index.html similarity index 100% rename from cypress/integration/2-url-prompt/index.html rename to cypress/e2e/2-url-prompt/index.html diff --git a/cypress/integration/2-url-prompt/url-prompt.spec.js b/cypress/e2e/2-url-prompt/url-prompt.cy.js similarity index 100% rename from cypress/integration/2-url-prompt/url-prompt.spec.js rename to cypress/e2e/2-url-prompt/url-prompt.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