From 48e67dd50fc94ae514370accd68259e202fdb35c Mon Sep 17 00:00:00 2001 From: Domenico Gemoli Date: Wed, 15 Apr 2020 00:03:05 +0200 Subject: [PATCH] Fixing globals.js import I tried scaffolding a new vue-cli project with e2e tests with nightwatch, and it wasn't picking up changes in globals.js. After a bit of digging it seems that the globals.js that was added during the scaffolding wasn't actually being used. Adding this line fixed it. --- packages/@vue/cli-plugin-e2e-nightwatch/nightwatch.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/@vue/cli-plugin-e2e-nightwatch/nightwatch.config.js b/packages/@vue/cli-plugin-e2e-nightwatch/nightwatch.config.js index c4ad7af8c6..a5406d8829 100644 --- a/packages/@vue/cli-plugin-e2e-nightwatch/nightwatch.config.js +++ b/packages/@vue/cli-plugin-e2e-nightwatch/nightwatch.config.js @@ -28,6 +28,7 @@ const defaultSettings = { page_objects_path: 'tests/e2e/page-objects', custom_assertions_path: 'tests/e2e/custom-assertions', custom_commands_path: 'tests/e2e/custom-commands', + globals_path: path.resolve('tests/e2e/globals.js'), test_workers: concurrentMode, test_settings: { default: {