bugsnag-maze-runner 10.3.2 → 10.4.1

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: 2ab0b1075e20f67cc4a64ec2f06109a61a2f620482c0e4f6eb0535635c088a3a
4
- data.tar.gz: 760d36e686f6728c4102b737e7528747feaf5f4ec06db9747314f64aca6b2131
3
+ metadata.gz: f745470ec2a7a2cb2b8dc9f022fbff21475388aa431ca48ba1bf32d7bd8698f3
4
+ data.tar.gz: 1ed4e8b8f1301faa0d3a3b2a79b8af811ed9e0099645b0adc1287c7e77ca67e8
5
5
  SHA512:
6
- metadata.gz: 10107bf874d70d9c36635b44011b218460ec7f922d38edf7fdcbeabe508e9c6150279ff3dda4a88fd3b014b5d7f8b3c489cea3bb4139693e8fb9370edc88b884
7
- data.tar.gz: cca4872bd90d935d8f2b96428e3da16f3ab8860b59555d685d74796588ebcef5f72f71157bd97512e05c1ba6a7e5f979ad0340692b8ccc3a2c7a2f00acda1234
6
+ metadata.gz: de7ae3599f1fb17e4b8b7ae482e70201c082d73edfe21ab887f1ed0cd71bc13b5e2893e1707a5c51723a1a9daf6dc340f64e402a4689cd4041c09b6974f2572e
7
+ data.tar.gz: 87a56b00c9f0293cc518172488e65651671118172a3624daae1647380fae23352c7976f600bf29e3c0e105141a307c024bd13fb1bae13c1b3a9f4630796bdc34
@@ -29,16 +29,24 @@ def assert_received_requests(request_count, list, list_name, precise = true, max
29
29
  count_now >= request_count
30
30
  end
31
31
 
32
+ invalid_requests = Maze::Server.invalid_requests.size_remaining
33
+ invalid_requests_message = if invalid_requests > 0
34
+ "\nNote: #{invalid_requests} invalid requests have been received in this scenario.\n"
35
+ else
36
+ ""
37
+ end
38
+
32
39
  unless received
33
40
  raise Test::Unit::AssertionFailedError.new <<-MESSAGE
34
- Expected #{request_count} #{list_name} but received #{list.size_remaining} within the #{timeout}s timeout.
35
- This could indicate that:
36
- - Bugsnag crashed with a fatal error.
37
- - Bugsnag did not make the requests that it should have done.
38
- - The requests were made, but not deemed to be valid (e.g. missing integrity header).
39
- - The requests made were prevented from being received due to a network or other infrastructure issue.
40
- Please check the Maze Runner and device logs to confirm.)
41
- MESSAGE
41
+ Expected #{request_count} #{list_name} but received #{list.size_remaining} within the #{timeout}s timeout.
42
+ #{invalid_requests_message}
43
+ This could indicate that:
44
+ - Bugsnag crashed with a fatal error.
45
+ - Bugsnag did not make the requests that it should have done.
46
+ - The requests were made, but not deemed to be valid (e.g. missing integrity header).
47
+ - The requests made were prevented from being received due to a network or other infrastructure issue.
48
+ Please check the Maze Runner and device logs to confirm.
49
+ MESSAGE
42
50
  end
43
51
 
44
52
  if precise
@@ -118,14 +118,15 @@ ios_10:
118
118
 
119
119
  ios_11:
120
120
  browserName: "iphone"
121
- device: "iPhone X"
121
+ device: "iPhone 8"
122
122
  os: "ios"
123
123
  osVersion: "11"
124
124
  realMobile: true
125
125
 
126
+ # Using iPad Pro here because no iPhone is available on BrowserStack with iOS 12
126
127
  ios_12:
127
128
  browserName: "iphone"
128
- device: "iPhone XS"
129
+ device: "iPad Pro 12.9 2018"
129
130
  os: "ios"
130
131
  osVersion: "12"
131
132
  realMobile: true
@@ -199,6 +200,13 @@ android_8:
199
200
  osVersion: "8.0"
200
201
  realMobile: true
201
202
 
203
+ android_9:
204
+ browserName: "Android Browser"
205
+ device: "Samsung Galaxy S10"
206
+ os: "android"
207
+ osVersion: "9.0"
208
+ realMobile: true
209
+
202
210
  android_13:
203
211
  browserName: "Android Browser"
204
212
  device: "Google Pixel 7"
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.3.2'
11
+ VERSION = '10.4.1'
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.3.2
4
+ version: 10.4.1
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-09-29 00:00:00.000000000 Z
12
+ date: 2025-10-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: cucumber