Skip to content

Commit 54db680

Browse files
author
Andrei Kamarouski
committed
add slotCapabilities to the android
1 parent 473617e commit 54db680

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

files/zbr-default-caps-gen.sh

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,14 @@ cat << EndOfMessage
1111
"appium:platformVersion":"${PLATFORM_VERSION}",
1212
"appium:deviceName": "${DEVICE_NAME}",
1313
"appium:udid": "${DEVICE_UDID}",
14-
"appium:automationName": "${AUTOMATION_NAME}"
14+
"appium:automationName": "${AUTOMATION_NAME}",
15+
"zebrunner:slotCapabilities": {
16+
"deviceName": "${DEVICE_NAME}",
17+
"platformName": "${PLATFORM_NAME}",
18+
"platformVersion": "${PLATFORM_VERSION}",
19+
"deviceType": "${DEVICETYPE}",
20+
"udid":"$DEVICE_UDID"
21+
}
1522
}
1623
EndOfMessage
1724
fi
@@ -38,7 +45,7 @@ cat << EndOfMessage
3845
"deviceName": "${DEVICE_NAME}",
3946
"platformName": "${PLATFORM_NAME}",
4047
"platformVersion": "${PLATFORM_VERSION}",
41-
"deviceType": "${DEVICE_TYPE}",
48+
"deviceType": "${DEVICETYPE}",
4249
"udid":"$DEVICE_UDID"
4350
}
4451
}

0 commit comments

Comments
 (0)