From: Timo Tijhof Date: Wed, 2 May 2018 03:42:05 +0000 (+0100) Subject: selenium: Apply relPath() to the exclude option for CirrusSearch X-Git-Tag: 1.34.0-rc.0~5555 X-Git-Url: http://git.cyclocoop.org/%7B%7B%20url_for%28%27admin_vote_add%27%29%20%7D%7D?a=commitdiff_plain;h=495a96b51f832de8cdcbe73b5969713ba930dcc1;p=lhc%2Fweb%2Fwiklou.git 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 --- 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' ) ], // ============