fastlane-plugin-android_testlab_script_swit 0.1.76 → 0.1.77
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: 31f2720d5a8e271527f36d63b7b539f6bbcf49bc18274ff301e2834d0b914439
|
4
|
+
data.tar.gz: 57f8d948ffda0714534c53ec5b82a3de8f08715026bd01a74a4c37717e0f3dd7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e041d0a69b92f1c12ed454d7d0ace6be710d586c0527a015ce37212062bd9441f8d46d6546cb132e55878471425174337c691183483ea6f2a1922a1ed191cb9d
|
7
|
+
data.tar.gz: b17bb5231f3484e448ef8cfa4d31385fa533a83f76bfefd5869bac771bcddaa5246a26067d2743ba58c6dd398d75966eadd62954150e367535f1b448ada15661
|
data/lib/fastlane/plugin/android_testlab_script_swit/actions/android_testlab_script_swit_action.rb
CHANGED
@@ -71,6 +71,15 @@ module Fastlane
|
|
71
71
|
# {"type":"rt_section","indent":2,"elements":[{"type\":\"rt_text\",\"content":{"orientation : #{device[:orientation]}"}}},
|
72
72
|
# {"type":"rt_section","indent":2,"elements":[{"type":"rt_text","content":{"Result : #{outcome}"}}},
|
73
73
|
# }
|
74
|
+
# end
|
75
|
+
|
76
|
+
# params[:devices].each_with_index do |device, index|
|
77
|
+
# new_payload = "[{\"type\": \"rt_section\", \"indent\": 1, \"elements\": [{\"type\": \"rt_text\", \"content\": \"Device#{index + 1}\"}]},
|
78
|
+
# {\"type\": \"rt_section\", \"indent\": 2, \"elements\": [{\"type\": \"rt_text\", \"content\": \"model : #{device[:model]}\"}]},
|
79
|
+
# {\"type\": \"rt_section\", \"indent\": 2, \"elements\": [{\"type\": \"rt_text\", \"content\": \"OS Version : #{device[:version]}\"}]},
|
80
|
+
# {\"type\": \"rt_section\", \"indent\": 2, \"elements\": [{\"type\": \"rt_text\", \"content\": \"locale : #{device[:locale]}\"}]},
|
81
|
+
# {\"type\": \"rt_section\", \"indent\": 2, \"elements\": [{\"type\": \"rt_text\", \"content\": \"orientation : #{device[:orientation]}\"}]},
|
82
|
+
# {\"type\": \"rt_section\", \"indent\": 2, \"elements\": [{\"type\": \"rt_text\", \"content\": \"Result : #{outcome}\"}]}]"
|
74
83
|
# end
|
75
84
|
|
76
85
|
params[:devices].each_with_index do |device, index|
|
@@ -78,8 +87,7 @@ module Fastlane
|
|
78
87
|
{\"type\": \"rt_section\", \"indent\": 2, \"elements\": [{\"type\": \"rt_text\", \"content\": \"model : #{device[:model]}\"}]},
|
79
88
|
{\"type\": \"rt_section\", \"indent\": 2, \"elements\": [{\"type\": \"rt_text\", \"content\": \"OS Version : #{device[:version]}\"}]},
|
80
89
|
{\"type\": \"rt_section\", \"indent\": 2, \"elements\": [{\"type\": \"rt_text\", \"content\": \"locale : #{device[:locale]}\"}]},
|
81
|
-
{\"type\": \"rt_section\", \"indent\": 2, \"elements\": [{\"type\": \"rt_text\", \"content\": \"orientation : #{device[:orientation]}\"}]}
|
82
|
-
{\"type\": \"rt_section\", \"indent\": 2, \"elements\": [{\"type\": \"rt_text\", \"content\": \"Result : #{outcome}\"}]}]"
|
90
|
+
{\"type\": \"rt_section\", \"indent\": 2, \"elements\": [{\"type\": \"rt_text\", \"content\": \"orientation : #{device[:orientation]}\"}]}"
|
83
91
|
end
|
84
92
|
|
85
93
|
# Fetch results
|