summaryrefslogtreecommitdiffstats
path: root/vid-automation/TestNg-UI-half.xml
diff options
context:
space:
mode:
authorIttay Stern <ittay.stern@att.com>2020-05-07 10:13:03 +0300
committerEylon Malin <eylon.malin@intl.att.com>2020-05-07 13:07:35 +0000
commitfc0d29339279109558dbf2484d7e9fe8f2d78113 (patch)
tree083a1f997079d468690a6c7fd678474cd3ffb336 /vid-automation/TestNg-UI-half.xml
parent8fde9d565e5e148ed2bacb6e2686dd45051290fc (diff)
Move some tests from group 3 to group 5
Issue-ID: VID-647 Change-Id: Ic6d97cb7a7c1ce7c47dbfd8717553b9fb1225eca Signed-off-by: Ittay Stern <ittay.stern@att.com>
Diffstat (limited to 'vid-automation/TestNg-UI-half.xml')
-rw-r--r--vid-automation/TestNg-UI-half.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/vid-automation/TestNg-UI-half.xml b/vid-automation/TestNg-UI-half.xml
index d76aa6fde..fe192da6e 100644
--- a/vid-automation/TestNg-UI-half.xml
+++ b/vid-automation/TestNg-UI-half.xml
@@ -43,6 +43,16 @@
if (selectPart == 0) return true;
+ for (groupName: groups.keySet()) {
+ // There's a non-obvious case here:
+ // If there's a "partialGroup" group, and it is *not* for current `selectPart` then
+ // don't run the test -- even if it is in a Class which does belong to the `selectPart`
+ // classes list
+ if (groupName.startsWith("partialGroup_")) {
+ return groupName.equals("partialGroup_" + selectPart);
+ }
+ }
+
methodClass = method.getDeclaringClass().toString();
for (c: classes2) {
if (methodClass.contains(c)) return selectPart==2;