bugsnag-maze-runner 9.19.0 → 9.20.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/maze/aws_public_ip.rb +13 -0
- data/lib/maze/bugsnag_config.rb +1 -1
- data/lib/maze/client/selenium/bs_browsers.yml +21 -0
- data/lib/maze.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 28dc3c07d00916780e4defbb86b149a40a96451589add388acda492ebaf0d1cb
|
4
|
+
data.tar.gz: 8c56d49cebb512a16f4c4df2b6cdb9df25f4a0f002760bbc2875f1487403bda5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a10cbf491a0ac15c89c2ba9ae385530c4e5c6a38207f3c6f88c2d53ced5a1904615c3d28846ce03b90370517067b8f00f88ba1f5898e0d742c434a0827d6e43
|
7
|
+
data.tar.gz: fa6bc50b875cbce4a077be90e5f4561f5ff3f46e34debdb2298c530eef9e952fc722a0cc972cec387871a466d7a1fe6b3e33444cc438cc14fd2550e3170669ec
|
data/lib/maze/aws_public_ip.rb
CHANGED
@@ -43,6 +43,8 @@ module Maze
|
|
43
43
|
port = 0
|
44
44
|
count = 0
|
45
45
|
max_attempts = 30
|
46
|
+
invalid_response_retries = 0
|
47
|
+
max_invalid_retries = 2
|
46
48
|
|
47
49
|
# Give up after 30 seconds
|
48
50
|
while port == 0 && count < max_attempts do
|
@@ -54,6 +56,17 @@ module Maze
|
|
54
56
|
json_string = result[0][0].strip
|
55
57
|
json_result = JSON.parse(json_string)
|
56
58
|
port = json_result['NetworkSettings']['Ports']["#{local_port}/tcp"][0]['HostPort']
|
59
|
+
rescue NoMethodError => error
|
60
|
+
if invalid_response_retries >= max_invalid_retries
|
61
|
+
Bugsnag.notify error
|
62
|
+
$logger.error "Public port response was invalid or incomplete: #{json_string}"
|
63
|
+
$logger.error "This has occurred more than maximum allowed #{max_invalid_retries}, exiting port process"
|
64
|
+
return 0
|
65
|
+
else
|
66
|
+
invalid_response_retries += 1
|
67
|
+
$logger.warn "Public port response was invalid or incomplete: #{json_string}"
|
68
|
+
$logger.warn "Attempting to acquire public port again, retry attempt: #{invalid_response_retries}"
|
69
|
+
end
|
57
70
|
rescue StandardError => error
|
58
71
|
Bugsnag.notify error
|
59
72
|
$logger.error "Unable to parse public port from: #{json_string}"
|
data/lib/maze/bugsnag_config.rb
CHANGED
@@ -124,6 +124,20 @@ ios_12:
|
|
124
124
|
osVersion: "12"
|
125
125
|
realMobile: true
|
126
126
|
|
127
|
+
ios_13:
|
128
|
+
browserName: "iphone"
|
129
|
+
device: "iPhone 11"
|
130
|
+
os: "ios"
|
131
|
+
osVersion: "13"
|
132
|
+
realMobile: true
|
133
|
+
|
134
|
+
ios_14:
|
135
|
+
browserName: "iphone"
|
136
|
+
device: "iPhone 12"
|
137
|
+
os: "ios"
|
138
|
+
osVersion: "14"
|
139
|
+
realMobile: true
|
140
|
+
|
127
141
|
ios_15:
|
128
142
|
browserName: "iphone"
|
129
143
|
device: "iPhone 13"
|
@@ -144,6 +158,13 @@ ios_17:
|
|
144
158
|
osVersion: "17"
|
145
159
|
realMobile: true
|
146
160
|
|
161
|
+
ios_18:
|
162
|
+
browserName: "iphone"
|
163
|
+
device: "iPhone 13"
|
164
|
+
os: "ios"
|
165
|
+
osVersion: "18"
|
166
|
+
realMobile: true
|
167
|
+
|
147
168
|
android_4:
|
148
169
|
browserName: "Android Browser"
|
149
170
|
device: "Google Nexus 5"
|
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 = '9.
|
10
|
+
VERSION = '9.20.0'
|
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: 9.
|
4
|
+
version: 9.20.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steve Kirkland
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-11-
|
11
|
+
date: 2024-11-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cucumber
|