fastlane-plugin-android_testlab_script_swit 0.1.86 → 0.1.88
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8efcd44fe90effdd67b95f22b7568624bbc8eea3aceede3fef4b5d33bd8cdd29
|
4
|
+
data.tar.gz: e7de18bb1ccb2fba2a2981ae8dbe38c0c0301d52ff4b885b570a93d410bd85bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e20215b9af6941ab44dc895f8bd0aa98909e2edb1c2397b32d22510e43f8f0bbf77202f01532ae102f0f25904ddd00b32d711ec2d53b8f1166d2ef54c209f47
|
7
|
+
data.tar.gz: 28eb280d4298a5da2c57d331b977364f0df8933929f1f862f5a139ca133bebbe4eab0b1cd5be96f2ff0c88a36051539b7b928d7fb7549af23abdc246615cc9ad
|
data/lib/fastlane/plugin/android_testlab_script_swit/actions/android_testlab_script_swit_action.rb
CHANGED
@@ -60,11 +60,9 @@ module Fastlane
|
|
60
60
|
# 출력하기
|
61
61
|
UI.message("Outcome: #{outcome}, Test Details: #{test_details}")
|
62
62
|
|
63
|
-
parts.each_with_index do |part, index|
|
64
|
-
UI.message("Part #{index + 1}: #{part}")
|
65
|
-
end
|
66
|
-
|
67
63
|
params[:devices].each_with_index do |device, index|
|
64
|
+
UI.message("Part #{index + 1}: #{part}")
|
65
|
+
|
68
66
|
new_payload += "{\"type\": \"rt_section\", \"indent\": 1, \"elements\": [{\"type\": \"rt_text\", \"content\": \"Device#{index + 1}\"}]},
|
69
67
|
{\"type\": \"rt_section\", \"indent\": 2, \"elements\": [{\"type\": \"rt_text\", \"content\": \"model : #{device[:model]}\"}]},
|
70
68
|
{\"type\":\"rt_section\",\"indent\":2,\"elements\":[{\"type\":\"rt_text\",\"content\":\"OS Version : #{device[:version]}\"}]},
|
@@ -73,9 +71,21 @@ module Fastlane
|
|
73
71
|
{\"type\":\"rt_section\",\"indent\":2,\"elements\":[{\"type\":\"rt_text\",\"content\":\"Result : #{outcome}\"}]}"
|
74
72
|
|
75
73
|
new_payload += "," unless index == params[:devices].length - 1
|
74
|
+
|
76
75
|
end
|
77
76
|
end
|
78
77
|
|
78
|
+
# params[:devices].each_with_index do |device, index|
|
79
|
+
# new_payload += "{\"type\": \"rt_section\", \"indent\": 1, \"elements\": [{\"type\": \"rt_text\", \"content\": \"Device#{index + 1}\"}]},
|
80
|
+
# {\"type\": \"rt_section\", \"indent\": 2, \"elements\": [{\"type\": \"rt_text\", \"content\": \"model : #{device[:model]}\"}]},
|
81
|
+
# {\"type\":\"rt_section\",\"indent\":2,\"elements\":[{\"type\":\"rt_text\",\"content\":\"OS Version : #{device[:version]}\"}]},
|
82
|
+
# {\"type\":\"rt_section\",\"indent\":2,\"elements\":[{\"type\":\"rt_text\",\"content\":\"locale : #{device[:locale]}\"}]},
|
83
|
+
# {\"type\":\"rt_section\",\"indent\":2,\"elements\":[{\"type\":\"rt_text\",\"content\":\"orientation : #{device[:orientation]}\"}]},
|
84
|
+
# {\"type\":\"rt_section\",\"indent\":2,\"elements\":[{\"type\":\"rt_text\",\"content\":\"Result : #{outcome}\"}]}"
|
85
|
+
#
|
86
|
+
# new_payload += "," unless index == params[:devices].length - 1
|
87
|
+
# end
|
88
|
+
|
79
89
|
# Fetch results
|
80
90
|
download_dir = params[:download_dir]
|
81
91
|
if download_dir
|