fastlane-plugin-android_testlab_script_swit 0.1.932 → 0.1.933
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 98327db5dc73a4fcfd461f5a436ca9b449fe7e94dd41b01655782acd0c146c3f
|
|
4
|
+
data.tar.gz: ed4b920cb831ff2ba7319e0c4d757249967800359dff30faac6156a7905ff0a8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 72bb8822e1da662b01a72aefb36cd03753a8f59d5b7ebc85f793693a707564eec78a103d0cee0ea979c47b8c75548257758e760b4643c89953fc4d27962feef9
|
|
7
|
+
data.tar.gz: 2060b04b4189f035665cfc24a0c4019f24630b1886515748973a8854a72ac5e2095ae3f041a62909014e474862d9dccdeb63426f3a7b25f3be530e014985fba5
|
data/lib/fastlane/plugin/android_testlab_script_swit/actions/android_testlab_script_swit_action.rb
CHANGED
|
@@ -76,7 +76,7 @@ module Fastlane
|
|
|
76
76
|
swit_device_payload += "{\"type\":\"rt_section\",\"indent\":1,\"elements\":[{\"type\":\"rt_text\",\"content\":\"테스트 시간 : \"},{\"type\":\"rt_text\",\"content\":\"#{duration}\",\"styles\":{\"bold\":true}}]},"
|
|
77
77
|
|
|
78
78
|
# Firebase Test Lab Result Json
|
|
79
|
-
resultJson =
|
|
79
|
+
resultJson = File.read(params[:console_log_file_name])
|
|
80
80
|
|
|
81
81
|
swit_device_payload = resultJson.map.with_index do |item, device_index|
|
|
82
82
|
axis_value_parts = item["axis_value"].split('-')
|
|
@@ -93,10 +93,10 @@ module Fastlane
|
|
|
93
93
|
"{\"type\":\"rt_section\",\"indent\":2,\"elements\":[{\"type\":\"rt_text\", \"content\": \"OS: #{version} / Locale: #{locale} / Orientation: #{orientation}\"}]}, "
|
|
94
94
|
|
|
95
95
|
# 성공 여부
|
|
96
|
-
if outcome == '
|
|
96
|
+
if outcome == 'Passed'
|
|
97
97
|
device_payload +=
|
|
98
98
|
"{\"type\":\"rt_section\",\"elements\":[{\"type\":\"rt_text\",\"content\":\"결과 : \"},{\"type\":\"rt_emoji\",\"name\":\":tada:\"},{\"type\":\"rt_text\",\"content\":\" Passed \"},{\"type\":\"rt_emoji\",\"name\":\":tada:\"}]}"
|
|
99
|
-
elsif outcome == '
|
|
99
|
+
elsif outcome == 'Failed'
|
|
100
100
|
device_payload +=
|
|
101
101
|
"{\"type\":\"rt_section\",\"elements\":[{\"type\":\"rt_text\",\"content\":\"결과 : \"},{\"type\":\"rt_emoji\",\"name\":\":interrobang:\"},{\"type\":\"rt_text\",\"content\":\" Failed \"},{\"type\":\"rt_emoji\",\"name\": \":interrobang:\"}]}"
|
|
102
102
|
else # Skip or other outcomes
|