fastlane-plugin-android_testlab_script_swit 0.1.934 → 0.1.936

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: ba2b1f1bcdb9553e06bd6badef802ebcc878a30b6f48523c3bcca1559d1972ac
4
+ data.tar.gz: a9b0e9f5c453d5566156dda656e6ae81a5877dfc60a55dbb4a614f666541f0f5
5
5
  SHA512:
6
- metadata.gz: be110cfae9d3e8345bd1322f34b6672b0ea5d651c072b07d7121fa0fdd5a76b31a96064a5cc652f1f890f126c5d87d523c54338de75e35e44cc17e9db337ca55
7
- data.tar.gz: 5f18864b2b3f364b935bd21acb246e53a703fd488013a82f8e4a9859e37bda1c1ee1c205c6b1080db88a233b1905ef04efb3c929cea31148c8d0c55796c8ecab
6
+ metadata.gz: 28b0dae44828b5ea3f25020e870169258fc5f09091d7ddbfb3d184de01ef80426d1cbf1b3bdf9b6592ba1be363a34346ba5ac1dcc84d165c3a2275c0cace3d31
7
+ data.tar.gz: c007a1cbf4f79ea01f433fe3f7248c03631b3de6d8fd95fe2052fd9fe9325b4c1791ff7955d8c25dff2f583a2accfd0fa6d6cca792e52c4bcff91aacbc96e07b
@@ -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.936"
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.936
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