front tests setup

This commit is contained in:
Milos Stojanovic
2019-06-26 11:50:00 +02:00
parent d4c37a497f
commit 80332a2775
3 changed files with 7 additions and 7 deletions

View File

@@ -1,3 +1,3 @@
{ {
"pluginsFile": "tests/e2e/plugins/index.js" "pluginsFile": "tests/frontend/e2e/plugins/index.js"
} }

View File

@@ -20,7 +20,7 @@ module.exports = {
'jest-serializer-vue' 'jest-serializer-vue'
], ],
testMatch: [ 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/' testURL: 'http://localhost/'
} }

View File

@@ -15,10 +15,10 @@ module.exports = (on, config) => {
// })) // }))
return Object.assign({}, config, { return Object.assign({}, config, {
fixturesFolder: 'tests/e2e/fixtures', fixturesFolder: 'tests/frontend/e2e/fixtures',
integrationFolder: 'tests/e2e/specs', integrationFolder: 'tests/frontend/e2e/specs',
screenshotsFolder: 'tests/e2e/screenshots', screenshotsFolder: 'tests/frontend/e2e/screenshots',
videosFolder: 'tests/e2e/videos', videosFolder: 'tests/frontend/e2e/videos',
supportFile: 'tests/e2e/support/index.js' supportFile: 'tests/frontend/e2e/support/index.js'
}) })
} }