diff --git a/cypress.json b/cypress.json index 470c720..57ff9bf 100644 --- a/cypress.json +++ b/cypress.json @@ -1,3 +1,3 @@ { - "pluginsFile": "tests/e2e/plugins/index.js" + "pluginsFile": "tests/frontend/e2e/plugins/index.js" } diff --git a/jest.config.js b/jest.config.js index e9098bd..4deed0c 100644 --- a/jest.config.js +++ b/jest.config.js @@ -20,7 +20,7 @@ module.exports = { 'jest-serializer-vue' ], testMatch: [ - '**/tests/backend/unit/**/*.spec.(js|jsx|ts|tsx)|**/__tests__/*.(js|jsx|ts|tsx)' + '**/tests/frontend/unit/**/*.spec.(js|jsx|ts|tsx)|**/__tests__/*.(js|jsx|ts|tsx)' ], testURL: 'http://localhost/' } diff --git a/tests/frontend/e2e/plugins/index.js b/tests/frontend/e2e/plugins/index.js index e841276..e9a9c7f 100644 --- a/tests/frontend/e2e/plugins/index.js +++ b/tests/frontend/e2e/plugins/index.js @@ -15,10 +15,10 @@ module.exports = (on, config) => { // })) return Object.assign({}, config, { - fixturesFolder: 'tests/e2e/fixtures', - integrationFolder: 'tests/e2e/specs', - screenshotsFolder: 'tests/e2e/screenshots', - videosFolder: 'tests/e2e/videos', - supportFile: 'tests/e2e/support/index.js' + fixturesFolder: 'tests/frontend/e2e/fixtures', + integrationFolder: 'tests/frontend/e2e/specs', + screenshotsFolder: 'tests/frontend/e2e/screenshots', + videosFolder: 'tests/frontend/e2e/videos', + supportFile: 'tests/frontend/e2e/support/index.js' }) }