fastlane-plugin-android_testlab_script_swit 0.1.943 → 0.1.945
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: 9f3bc8866c1e11428287eece186ffaa0363a56d495116ff6d0cf088e6079722a
|
4
|
+
data.tar.gz: 397725755ceed3690e61643fd86ba01a39adcf7150a5a90b92379a839258a73c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: feee984278efcfe63fd944db4e1926700af6b00fe0b722d9818d5d13a8518efa77300bff1d172e8c62104805559c9d253c499d8b8a9ca0660c0cac5a7c0cbab1
|
7
|
+
data.tar.gz: edb98b4c179b46ae6016e8d366db65abc5c7649062ef31093a38b3970ac3e26a0b653f1b248bb5e21c94060ac8eb28aa39f3d7d081680c618cf1b688d1931443
|
data/lib/fastlane/plugin/android_testlab_script_swit/actions/android_testlab_script_swit_action.rb
CHANGED
@@ -23,21 +23,31 @@ module Fastlane
|
|
23
23
|
|
24
24
|
# Activate service account
|
25
25
|
Helper.authenticate(params[:gcloud_key_file])
|
26
|
-
|
27
|
-
# RoboScriptOption
|
28
|
-
robo_script_option = params[:robo_script_path].nil? ? "" : "--robo-script #{params[:robo_script_path]} "
|
29
26
|
|
30
27
|
# Run Firebase Test Lab
|
31
|
-
|
32
|
-
# 딜레이
|
33
28
|
params[:devices].each_with_index do |device, index|
|
34
|
-
|
35
|
-
|
29
|
+
|
30
|
+
# 딜레이 추가
|
31
|
+
sleep(index * 90) # 각 디바이스별로 1분씩 증가하는 딜레이
|
32
|
+
|
33
|
+
# RoboScriptOption
|
34
|
+
robo_script_option = params[:robo_script_path].nil? ? "" : "--robo-script #{params[:robo_script_path]} "
|
35
|
+
|
36
|
+
Helper.run_tests(params[:gcloud_components_channel], "--type #{params[:type]} "\
|
37
|
+
"--app #{params[:app_apk]} "\
|
38
|
+
"#{"--test #{params[:app_test_apk]} " unless params[:app_test_apk].nil?}"\
|
39
|
+
"#{"--use-orchestrator " if params[:type] == "instrumentation" && params[:use_orchestrator]}"\
|
40
|
+
"--device model=#{device[:model]},version=#{device[:version]},locale=#{device[:locale]},orientation=#{device[:orientation]} "\
|
41
|
+
"--timeout #{params[:timeout]} "\
|
42
|
+
"--results-bucket #{results_bucket} "\
|
43
|
+
"--results-dir #{results_dir} "\
|
44
|
+
"#{params[:extra_options]} "\
|
45
|
+
"--robo-script #{robo_script_option} "\
|
46
|
+
"--format=json 1>#{Helper.if_need_dir(params[:console_log_file_name])}"
|
36
47
|
|
37
48
|
end
|
38
|
-
|
39
49
|
|
40
|
-
Helper.run_tests(params[:gcloud_components_channel], "--type #{params[:type]} "\
|
50
|
+
#Helper.run_tests(params[:gcloud_components_channel], "--type #{params[:type]} "\
|
41
51
|
"--app #{params[:app_apk]} "\
|
42
52
|
"#{"--test #{params[:app_test_apk]} " unless params[:app_test_apk].nil?}"\
|
43
53
|
"#{"--use-orchestrator " if params[:type] == "instrumentation" && params[:use_orchestrator]}"\
|
@@ -48,7 +58,7 @@ module Fastlane
|
|
48
58
|
"#{params[:extra_options]} "\
|
49
59
|
"#{robo_script_option}"\
|
50
60
|
"--format=json 1>#{Helper.if_need_dir(params[:console_log_file_name])}"
|
51
|
-
)
|
61
|
+
#)
|
52
62
|
|
53
63
|
# Fetch results
|
54
64
|
download_dir = params[:download_dir]
|