From 2d4501394df03c51ead7821610bd947c9d1a8793 Mon Sep 17 00:00:00 2001 From: bs-ashwanipathak <105654795+bs-ashwanipathak@users.noreply.github.com> Date: Sat, 3 Feb 2024 05:59:16 +0530 Subject: [PATCH] Update nightwatch.conf.js On Windows an error is thrown if there's no value in src_folders. The --test parameter is ignored on Windows. On OS X is working without this change. --- resources/config/nightwatch.conf.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/config/nightwatch.conf.js b/resources/config/nightwatch.conf.js index 3e8b066..9bf15df 100644 --- a/resources/config/nightwatch.conf.js +++ b/resources/config/nightwatch.conf.js @@ -22,7 +22,7 @@ const browserStack = { } const nightwatchConfigs = { - src_folders: [], + src_folders: ["./tests/specs/e2e/*.js"], live_output: true, plugins: ['@nightwatch/browserstack'],