fastlane-plugin-android_testlab_script_swit 0.1.944 → 0.1.945
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
    
        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,12 +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 | 
            -
                     | 
| 28 | 
            +
                    params[:devices].each_with_index do |device, index|
         | 
| 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])}"
         | 
| 47 | 
            +
             | 
| 48 | 
            +
                    end
         | 
| 49 | 
            +
                    
         | 
| 50 | 
            +
                    #Helper.run_tests(params[:gcloud_components_channel], "--type #{params[:type]} "\
         | 
| 32 51 | 
             
                              "--app #{params[:app_apk]} "\
         | 
| 33 52 | 
             
                              "#{"--test #{params[:app_test_apk]} " unless params[:app_test_apk].nil?}"\
         | 
| 34 53 | 
             
                              "#{"--use-orchestrator " if params[:type] == "instrumentation" && params[:use_orchestrator]}"\
         | 
| @@ -39,7 +58,7 @@ module Fastlane | |
| 39 58 | 
             
                              "#{params[:extra_options]} "\
         | 
| 40 59 | 
             
                              "#{robo_script_option}"\
         | 
| 41 60 | 
             
                              "--format=json 1>#{Helper.if_need_dir(params[:console_log_file_name])}"
         | 
| 42 | 
            -
                    )
         | 
| 61 | 
            +
                    #)
         | 
| 43 62 |  | 
| 44 63 | 
             
                    # Fetch results
         | 
| 45 64 | 
             
                    download_dir = params[:download_dir]
         |