bugsnag-maze-runner 10.8.0 → 10.9.0
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 +4 -4
- data/lib/features/steps/browser_steps.rb +4 -0
- data/lib/maze/configuration.rb +5 -1
- 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: 14062f1974a264eecd536a2c9b46087f85a3029a5273b49684b371ad8c62dedc
|
|
4
|
+
data.tar.gz: a4fd7c7b1c2ccf45a348d58a43008c83ed8fd692a3c0d44ca58748dcb17fdfd0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 72aacdb28c60a90545d733e285e0024828a4d974fa76ddc8479802f69c6b57764ffbe15429668f5876a23dc024336098b2ecd452f683de051bfab0741fca30fb
|
|
7
|
+
data.tar.gz: 86f8ae8f260e44105e956f70090313a0f0430421438ba7a95b454e9f3f8d648063b4ec8eec23ea75ba65d14f6389b1dc9f2a2dec838f656d31bc67642b523333
|
|
@@ -8,6 +8,10 @@ When('I navigate to the URL {string}') do |path|
|
|
|
8
8
|
$logger.error("#{exception.class} occurred during navigation attempt with message: #{exception.message}")
|
|
9
9
|
$logger.error("Restarting driver and retrying navigation to: #{path}")
|
|
10
10
|
Maze.driver.restart_driver
|
|
11
|
+
if Maze.config.reset_on_navigation_failure
|
|
12
|
+
$logger.info 'Resetting request lists as Maze.config.reset_on_navigation_failure is set'
|
|
13
|
+
Maze::Server.reset!
|
|
14
|
+
end
|
|
11
15
|
Maze.driver.navigate.to path
|
|
12
16
|
# If a further error occurs it will get thrown as normal
|
|
13
17
|
end
|
data/lib/maze/configuration.rb
CHANGED
|
@@ -15,6 +15,7 @@ module Maze
|
|
|
15
15
|
self.span_timestamp_validation = true
|
|
16
16
|
self.unmanaged_traces_mode = false
|
|
17
17
|
self.client_mode_validation = true
|
|
18
|
+
self.reset_on_navigation_failure = false
|
|
18
19
|
end
|
|
19
20
|
|
|
20
21
|
#
|
|
@@ -108,7 +109,7 @@ module Maze
|
|
|
108
109
|
attr_accessor :client_mode_validation
|
|
109
110
|
|
|
110
111
|
#
|
|
111
|
-
# General
|
|
112
|
+
# General Appium/Selenium configuration
|
|
112
113
|
#
|
|
113
114
|
|
|
114
115
|
# Element locator strategy, :id or :accessibility_id
|
|
@@ -138,6 +139,9 @@ module Maze
|
|
|
138
139
|
# Folder to push app files to on Android
|
|
139
140
|
attr_accessor :android_app_files_directory
|
|
140
141
|
|
|
142
|
+
# Call Maze::Server.reset! if browser navigation fails
|
|
143
|
+
attr_accessor :reset_on_navigation_failure
|
|
144
|
+
|
|
141
145
|
#
|
|
142
146
|
# Device farm specific configuration
|
|
143
147
|
#
|
data/lib/maze.rb
CHANGED
|
@@ -8,7 +8,7 @@ require_relative 'maze/timers'
|
|
|
8
8
|
# providing an alternative to the proliferation of global variables or singletons.
|
|
9
9
|
module Maze
|
|
10
10
|
|
|
11
|
-
VERSION = '10.
|
|
11
|
+
VERSION = '10.9.0'
|
|
12
12
|
|
|
13
13
|
class << self
|
|
14
14
|
attr_accessor :check, :driver, :internal_hooks, :mode, :start_time, :dynamic_retry, :public_address,
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bugsnag-maze-runner
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 10.
|
|
4
|
+
version: 10.9.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Steve Kirkland
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2025-12-
|
|
12
|
+
date: 2025-12-05 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: cucumber
|