bugsnag-maze-runner 10.3.0 → 10.3.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 +4 -4
- data/lib/features/support/internal_hooks.rb +3 -1
- data/lib/maze/client/appium/bb_devices.rb +6 -14
- 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: 34fde3e2adce3c8ec6ae88e9a33849c46b69efdc0bd90e19c97e1a7c0c17ef7f
|
4
|
+
data.tar.gz: 98013cf51b56acf3bbcfa73ff31aee7688a4e4daa3a1beea449a42a12057654a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 116425d294374ef03e63f9e07087b2a4814bf62c57996b38a03b627ca73eb0ccbbed180ec857619e08256d158dd33baeaf03a50bf8a9a9fb39f567cfb00477c4
|
7
|
+
data.tar.gz: d93897ff48f7e96af4b0098e70522c4e31e1605aeed4c23b7a32dfac5c6dcbc9cfd695ec04c4d526a2be619c7f12ea8c30fe7c6e4835b5643e89b2c1d6dfc3b3
|
@@ -153,9 +153,11 @@ After do |scenario|
|
|
153
153
|
|
154
154
|
Maze::Proxy.instance.stop
|
155
155
|
|
156
|
+
# Unfold the previous scenario on Buildkite if it failed or had undefined steps
|
157
|
+
$stdout.puts '^^^ +++' if ENV['BUILDKITE'] && (scenario.failed? || scenario.status == :undefined)
|
158
|
+
|
156
159
|
# Log all received requests to the console if the scenario fails and/or config says to
|
157
160
|
if (scenario.failed? && Maze.config.log_requests) || Maze.config.always_log
|
158
|
-
$stdout.puts '^^^ +++' if ENV['BUILDKITE']
|
159
161
|
output_received_requests('errors')
|
160
162
|
output_received_requests('error config requests')
|
161
163
|
output_received_requests('sessions')
|
@@ -18,19 +18,11 @@ module Maze
|
|
18
18
|
if device_group_ids
|
19
19
|
# Device group found - find a free device in it
|
20
20
|
$logger.trace "Got group ids #{device_group_ids} for #{device_or_group_names}"
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
if device.nil?
|
25
|
-
raise 'There are no devices available'
|
26
|
-
else
|
27
|
-
$logger.info "#{group_count} device(s) currently available in group(s) '#{device_or_group_names}'"
|
28
|
-
end
|
21
|
+
group_count, device = api_client.find_device_in_groups(device_group_ids)
|
22
|
+
if device.nil?
|
23
|
+
raise 'There are no devices available'
|
29
24
|
else
|
30
|
-
#
|
31
|
-
$logger.info "Using device group #{device_or_group_names}"
|
32
|
-
group_id = true
|
33
|
-
device_name = device_group_ids.first
|
25
|
+
$logger.info "#{group_count} device(s) currently available in group(s) '#{device_or_group_names}'"
|
34
26
|
end
|
35
27
|
else
|
36
28
|
# See if there is a device with the given name
|
@@ -64,9 +56,9 @@ module Maze
|
|
64
56
|
|
65
57
|
case platform
|
66
58
|
when 'android'
|
67
|
-
make_android_hash(device_name
|
59
|
+
make_android_hash(device_name)
|
68
60
|
when 'ios'
|
69
|
-
make_ios_hash(device_name
|
61
|
+
make_ios_hash(device_name)
|
70
62
|
else
|
71
63
|
throw "Invalid device platform specified #{platform}"
|
72
64
|
end
|
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.
|
11
|
+
VERSION = '10.3.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.
|
4
|
+
version: 10.3.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-
|
12
|
+
date: 2025-09-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: cucumber
|