From 0834b8f0c94bd919954da8cfbf52fd9259d6bc8a Mon Sep 17 00:00:00 2001 From: Daniel Dallos Date: Wed, 12 Sep 2018 09:14:44 +0200 Subject: [PATCH 1/2] added possibility to exclude test cases per capability --- types/webdriverio/index.d.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/types/webdriverio/index.d.ts b/types/webdriverio/index.d.ts index d3521cd41e..6f24ef5e2a 100644 --- a/types/webdriverio/index.d.ts +++ b/types/webdriverio/index.d.ts @@ -311,6 +311,10 @@ declare namespace WebdriverIO { // RC honorSystemProxy?: boolean; ensureCleanSession?: boolean; + + //exclude + exclude?: string[]; + } interface Cookie { From 6c94c489d7adb6aa69a830d8cbf1a3cfdb519920 Mon Sep 17 00:00:00 2001 From: Daniel Dallos Date: Wed, 12 Sep 2018 09:17:27 +0200 Subject: [PATCH 2/2] added per capability based specs --- types/webdriverio/index.d.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/types/webdriverio/index.d.ts b/types/webdriverio/index.d.ts index 6f24ef5e2a..945de64846 100644 --- a/types/webdriverio/index.d.ts +++ b/types/webdriverio/index.d.ts @@ -312,9 +312,11 @@ declare namespace WebdriverIO { honorSystemProxy?: boolean; ensureCleanSession?: boolean; - //exclude + // Exclude exclude?: string[]; + // Define which test specs should run (only on the desired capability) + specs?: string[]; } interface Cookie {