bugsnag-maze-runner 8.20.0 → 8.20.2

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: cbb51e2b8a46d712a8fab1d597a74c3a0867292a0f1b8b960f68803684449001
4
- data.tar.gz: 596422240fb5cfb8fc9cad5c3c57fe6b62172df6c691a4c827e482e7483fb4e5
3
+ metadata.gz: 9f19180ce1c15138c4641fa4a710edf6b2b9901451f027e25ac591ffc63f472b
4
+ data.tar.gz: ddb6eecf1925ab30fe05c9791b37496574c78af05132fb4d1fb5b76e6bbc3e90
5
5
  SHA512:
6
- metadata.gz: 19deeac0362c93c01bc6c3c93a4c16193ee6f01a1e5966d1fba89f6379b1b5809eb14393ece589aa3a9da032e03ec5ade4fb7c7accb3e9b7b9719fb0552fb03d
7
- data.tar.gz: f0e472fb5a6383bd0d7834a11792d564fbbe905b57be50e175bab133dc1a28810424493061a9dd32a5fcaf45ac27a8b1bdf13dcf23f54c2be13ef6d9127fa212
6
+ metadata.gz: b5dc031f9b0c8ed276114d5af4aab9b9303f3dd9f24bfbbb61e3ea18bf2f3e411b60f02d17bcfbadb182deb071963ce22b0769ecb937008617dfdfc0978b017f
7
+ data.tar.gz: 0ef965da10e254ecb5129c99e2fc488943234078df10fa3abd0e2e9c399ead9e75f74a46f8ae89cd8e4fa0657936eee686bb37c28a79b80f70957f17452de13d
@@ -22,7 +22,10 @@ module Maze
22
22
  when 'android'
23
23
  Maze.driver.session_capabilities['appPackage']
24
24
  when 'ios'
25
- Maze.driver.session_capabilities['CFBundleIdentifier'] # Present on BS and locally
25
+ unless app_id = Maze.driver.session_capabilities['CFBundleIdentifier']
26
+ app_id = Maze.driver.session_capabilities['bundleID']
27
+ end
28
+ app_id
26
29
  end
27
30
 
28
31
  # Ensure the device is unlocked
@@ -32,6 +32,8 @@ module Maze
32
32
  interval = 120
33
33
  elsif error.message.include? 'Appium Settings app is not running'
34
34
  interval = 10
35
+ elsif error.message.include? 'Could not proxy command to the remote server'
36
+ interval = 10
35
37
  else
36
38
  # Do not retry in any other case
37
39
  end
@@ -84,10 +84,8 @@ module Maze
84
84
  'IOS_16' => make_ios_hash('iPhone 14', '16'),
85
85
  'IOS_15' => make_ios_hash('iPhone 11 Pro', '15'),
86
86
  'IOS_14' => make_ios_hash('iPhone 11', '14'),
87
- 'IOS_13' => make_ios_hash('iPhone 8', '13'),
87
+ 'IOS_13' => make_ios_hash('iPhone 11', '13'),
88
88
  'IOS_12' => make_ios_hash('iPhone 8', '12'),
89
- 'IOS_11' => make_ios_hash('iPhone 8', '11'),
90
- 'IOS_10' => make_ios_hash('iPhone 7', '10')
91
89
  }
92
90
 
93
91
  # Specific Android devices
@@ -100,10 +98,8 @@ module Maze
100
98
 
101
99
  add_android 'Google Pixel 2', '9.0', hash # ANDROID_9_0_GOOGLE_PIXEL_2
102
100
  add_android 'Samsung Galaxy Note 9', '8.1', hash # ANDROID_8_1_SAMSUNG_GALAXY_NOTE_9
103
- add_android 'Samsung Galaxy J7 Prime', '8.1', hash # ANDROID_8_1_SAMSUNG_GALAXY_J7_PRIME
104
101
  add_android 'Samsung Galaxy Tab S4', '8.1', hash # ANDROID_8_1_SAMSUNG_GALAXY_TAB_S4
105
102
  add_android 'Samsung Galaxy Tab S3', '8.0', hash # ANDROID_8_0_SAMSUNG_GALAXY_TAB_S3
106
- add_android 'Google Pixel 2', '8.0', hash # ANDROID_8_0_GOOGLE_PIXEL_2
107
103
  add_android 'Samsung Galaxy S9', '8.0', hash # ANDROID_8_0_SAMSUNG_GALAXY_S9
108
104
  add_android 'Samsung Galaxy S9 Plus', '8.0', hash # ANDROID_8_0_SAMSUNG_GALAXY_S9_PLUS
109
105
 
@@ -119,18 +115,6 @@ module Maze
119
115
  add_ios 'iPhone 14 Pro', '16.0', hash # IOS_16_0_IPHONE_14_PRO
120
116
  add_ios 'iPhone 14 Pro Max', '16.0', hash # IOS_16_0_IPHONE_14_PRO_MAX
121
117
 
122
- add_ios 'iPhone 8 Plus', '11.0', hash # IOS_11_0_IPHONE_8_PLUS
123
- add_ios 'iPhone X', '11.0', hash # IOS_11_0_IPHONE_X
124
- add_ios 'iPhone SE', '11.0', hash # IOS_11_0_IPHONE_SE
125
- add_ios 'iPhone 6', '11.0', hash # IOS_11_0_IPHONE_6
126
- add_ios 'iPhone 6S', '11.0', hash # IOS_11_0_IPHONE_6S
127
- add_ios 'iPhone 6S Plus', '11.0', hash # IOS_11_0_IPHONE_6S_PLUS
128
- add_ios 'iPad 5th', '11.0', hash # IOS_11_0_IPAD_5TH
129
- add_ios 'iPad Mini 4', '11.0', hash # IOS_11_0_IPAD_MINI_4
130
- add_ios 'iPad Pro 9.7 2016', '11.0', hash # IOS_11_0_IPAD_PRO_9_7_2016
131
- add_ios 'iPad 6th', '11.0', hash # IOS_11_0_IPAD_6TH
132
- add_ios 'iPad Pro 12.9', '11.0', hash # IOS_11_0_IPAD_PRO_12_9
133
-
134
118
  hash
135
119
  end
136
120
  end
data/lib/maze.rb CHANGED
@@ -7,7 +7,7 @@ require_relative 'maze/timers'
7
7
  # Glues the various parts of MazeRunner together that need to be accessed globally,
8
8
  # providing an alternative to the proliferation of global variables or singletons.
9
9
  module Maze
10
- VERSION = '8.20.0'
10
+ VERSION = '8.20.2'
11
11
 
12
12
  class << self
13
13
  attr_accessor :check, :driver, :internal_hooks, :mode, :start_time, :dynamic_retry, :public_address,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bugsnag-maze-runner
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.20.0
4
+ version: 8.20.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Kirkland
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-16 00:00:00.000000000 Z
11
+ date: 2024-04-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cucumber
@@ -454,11 +454,11 @@ files:
454
454
  - lib/maze/wait.rb
455
455
  - lib/utils/deep_merge.rb
456
456
  - lib/utils/selenium_money_patch.rb
457
- homepage:
457
+ homepage:
458
458
  licenses:
459
459
  - MIT
460
460
  metadata: {}
461
- post_install_message:
461
+ post_install_message:
462
462
  rdoc_options: []
463
463
  require_paths:
464
464
  - lib
@@ -473,8 +473,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
473
473
  - !ruby/object:Gem::Version
474
474
  version: '0'
475
475
  requirements: []
476
- rubygems_version: 3.1.6
477
- signing_key:
476
+ rubygems_version: 3.5.3
477
+ signing_key:
478
478
  specification_version: 4
479
479
  summary: Bugsnag API request validation harness
480
480
  test_files: []