fastlane-plugin-android_testlab_script_swit 0.1.934 → 0.1.935

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: 579b713c5bf62659dff113faaa2b1600e0e287a60df2769201118c67daba9387
4
- data.tar.gz: b638242e6863d0577879d93408cff3721c06e09a9a24f7fa99c58d3a640f317b
3
+ metadata.gz: 56bcf5c2ad3bcf5ef463227a72acd7dc662dcbb7a2b64b8faa5d087d107fa43b
4
+ data.tar.gz: aa1a698bdb13fc4f82c0f6ddc99eae6c0e54c28631d4fc5e3bdbdf1673c03858
5
5
  SHA512:
6
- metadata.gz: be110cfae9d3e8345bd1322f34b6672b0ea5d651c072b07d7121fa0fdd5a76b31a96064a5cc652f1f890f126c5d87d523c54338de75e35e44cc17e9db337ca55
7
- data.tar.gz: 5f18864b2b3f364b935bd21acb246e53a703fd488013a82f8e4a9859e37bda1c1ee1c205c6b1080db88a233b1905ef04efb3c929cea31148c8d0c55796c8ecab
6
+ metadata.gz: 9ee25e6d62df9b70039986b3c7ebe46e8624f48ecfff34acc66bb5c4bd1be0c52a252fc853a789e9a809e80bd74c537b6402536623599e47f0eb6ed84a23b97a
7
+ data.tar.gz: a93e77a0738b90e76ee6d9add3484f7adfeb4716b41cc7160e7224ea4302936aacbf9673cda4c86e3d1c7b586ac7655cc2559f3c38e39945314ea118febf212c
@@ -28,7 +28,28 @@ module Fastlane
28
28
  robo_script_option = params[:robo_script_path].nil? ? "" : "--robo-script #{params[:robo_script_path]} "
29
29
 
30
30
  # Run Firebase Test Lab
31
- Helper.run_tests(params[:gcloud_components_channel], "--type #{params[:type]} "\
31
+
32
+ # 딜레이
33
+ params[:devices].each_with_index do |device, index|
34
+ # 딜레이 추가
35
+ sleep(index * 60) # 각 디바이스별로 1분씩 증가하는 딜레이
36
+
37
+ # Run Firebase Test Lab for the current device
38
+ Helper.run_tests(params[:gcloud_components_channel], "--type #{params[:type]} "\
39
+ "--app #{params[:app_apk]} "\
40
+ "#{"--test #{params[:app_test_apk]} " unless params[:app_test_apk].nil?}"\
41
+ "#{"--use-orchestrator " if params[:type] == "instrumentation" && params[:use_orchestrator]}"\
42
+ "--device model=#{device[:model]},version=#{device[:version]},locale=#{device[:locale]},orientation=#{device[:orientation]} "\
43
+ "--timeout #{params[:timeout]} "\
44
+ "--results-bucket #{results_bucket} "\
45
+ "--results-dir #{results_dir} "\
46
+ "#{params[:extra_options]} "\
47
+ "#{robo_script_option}"\
48
+ "--format=json 1>#{Helper.if_need_dir(params[:console_log_file_name])}"
49
+ end
50
+
51
+
52
+ #Helper.run_tests(params[:gcloud_components_channel], "--type #{params[:type]} "\
32
53
  "--app #{params[:app_apk]} "\
33
54
  "#{"--test #{params[:app_test_apk]} " unless params[:app_test_apk].nil?}"\
34
55
  "#{"--use-orchestrator " if params[:type] == "instrumentation" && params[:use_orchestrator]}"\
@@ -39,7 +60,7 @@ module Fastlane
39
60
  "#{params[:extra_options]} "\
40
61
  "#{robo_script_option}"\
41
62
  "--format=json 1>#{Helper.if_need_dir(params[:console_log_file_name])}"
42
- )
63
+ #)
43
64
 
44
65
  # Fetch results
45
66
  download_dir = params[:download_dir]
@@ -48,7 +69,7 @@ module Fastlane
48
69
  json.each do |status|
49
70
  axis = status["axis_value"]
50
71
  Helper.if_need_dir("#{download_dir}/#{axis}")
51
- Helper.copy_from_gcs("#{results_bucket}/#{results_dir}/#{axis}", download_dir)
72
+ Helper.copy_from_gcs("#{results_bucket}/#{results_dirresults_dir}/#{axis}", download_dir)
52
73
  Helper.set_public("#{results_bucket}/#{results_dir}/#{axis}")
53
74
  end
54
75
  end
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module AndroidTestlabScriptSwit
3
- VERSION = "0.1.934"
3
+ VERSION = "0.1.935"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-android_testlab_script_swit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.934
4
+ version: 0.1.935
5
5
  platform: ruby
6
6
  authors:
7
7
  - 나비이쁜이
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-30 00:00:00.000000000 Z
11
+ date: 2023-11-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler