selenium: Apply relPath() to the exclude option for CirrusSearch
authorTimo Tijhof <krinklemail@gmail.com>
Wed, 2 May 2018 03:42:05 +0000 (04:42 +0100)
committerKrinkle <krinklemail@gmail.com>
Wed, 2 May 2018 16:50:50 +0000 (16:50 +0000)
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

index 00fce66..ca9f846 100644 (file)
@@ -41,7 +41,7 @@ exports.config = {
        ],
        // Patterns to exclude.
        exclude: [
-               './extensions/CirrusSearch/tests/selenium/specs/**/*.js'
+               relPath( './extensions/CirrusSearch/tests/selenium/specs/**/*.js' )
        ],
 
        // ============