From 495a96b51f832de8cdcbe73b5969713ba930dcc1 Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Wed, 2 May 2018 04:42:05 +0100 Subject: [PATCH] selenium: Apply relPath() to the exclude option for CirrusSearch It seems relPath() is used for all other paths here. When I was running a single test from the /tests/selenium, I noticed wdio was logging to the console that it excluded ./extensions/CirrusSearch, which doesn't make sense from that directory. The other paths are fine. Change-Id: Ic89ae0a91cdb6590b7190ea44969e653e9e2d6ea --- tests/selenium/wdio.conf.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/selenium/wdio.conf.js b/tests/selenium/wdio.conf.js index 00fce66fb0..ca9f8465c4 100644 --- a/tests/selenium/wdio.conf.js +++ b/tests/selenium/wdio.conf.js @@ -41,7 +41,7 @@ exports.config = { ], // Patterns to exclude. exclude: [ - './extensions/CirrusSearch/tests/selenium/specs/**/*.js' + relPath( './extensions/CirrusSearch/tests/selenium/specs/**/*.js' ) ], // ============ -- 2.20.1