bugsnag-maze-runner 8.14.1 → 8.15.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/support/internal_hooks.rb +1 -1
- data/lib/maze/client/appium/bb_devices.rb +2 -0
- data/lib/maze/configuration.rb +6 -0
- data/lib/maze/option/parser.rb +8 -0
- data/lib/maze/option/processor.rb +2 -0
- data/lib/maze/option.rb +2 -0
- data/lib/maze/servlets/command_servlet.rb +0 -5
- 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: cebeb631cc91a03c41573b39a4977d0d21af876299e851f359176d98c672231c
|
|
4
|
+
data.tar.gz: 0e8ae1131849a1a215347103764f0691b0a760016e404265c879f7e255cf0942
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1036bf6e74cf99b3f784e4d552740d23fc8df33806822620a0371672d41ae77f49c39e9ac7fdf4f2f42facf9d08dbbd9e1b894d0915912a5081de5f8e38a71f0
|
|
7
|
+
data.tar.gz: d5094c3dd7c71135b270d5a5b087e58923bb1f1be8c4cbd549b5d83f88c442789155f38ec6ad2315e27459c50b19f4375846e0b850614263dc1a257129046006
|
|
@@ -146,7 +146,7 @@ After do |scenario|
|
|
|
146
146
|
|
|
147
147
|
# Log all received requests to the console if the scenario fails and/or config says to
|
|
148
148
|
if (scenario.failed? && Maze.config.log_requests) || Maze.config.always_log
|
|
149
|
-
$stdout.puts '^^^ +++'
|
|
149
|
+
$stdout.puts '^^^ +++' if ENV['BUILDKITE']
|
|
150
150
|
output_received_requests('errors')
|
|
151
151
|
output_received_requests('sessions')
|
|
152
152
|
output_received_requests('traces')
|
|
@@ -99,6 +99,8 @@ module Maze
|
|
|
99
99
|
'uiautomator2ServerInstallTimeout' => 60000,
|
|
100
100
|
'uiautomator2ServerLaunchTimeout' => 60000
|
|
101
101
|
}
|
|
102
|
+
appium_options['appActivity'] = Maze.config.app_activity unless Maze.config.app_activity.nil?
|
|
103
|
+
appium_options['appPackage'] = Maze.config.app_package unless Maze.config.app_package.nil?
|
|
102
104
|
hash = {
|
|
103
105
|
'platformName' => 'Android',
|
|
104
106
|
'deviceName' => 'Android Phone',
|
data/lib/maze/configuration.rb
CHANGED
|
@@ -137,6 +137,12 @@ module Maze
|
|
|
137
137
|
# Test browser version
|
|
138
138
|
attr_accessor :browser_version
|
|
139
139
|
|
|
140
|
+
# The appActivity to be set in the Appium capabilities
|
|
141
|
+
attr_accessor :app_activity
|
|
142
|
+
|
|
143
|
+
# The appPackage to be set in the Appium capabilities
|
|
144
|
+
attr_accessor :app_package
|
|
145
|
+
|
|
140
146
|
# Appium version to use
|
|
141
147
|
attr_accessor :appium_version
|
|
142
148
|
|
data/lib/maze/option/parser.rb
CHANGED
|
@@ -134,6 +134,14 @@ module Maze
|
|
|
134
134
|
'Device farm access key. Consumes env var from environment based on farm set',
|
|
135
135
|
short: :none,
|
|
136
136
|
type: :string
|
|
137
|
+
opt Option::APP_ACTIVITY,
|
|
138
|
+
'The appActivity to set in the Appium capabilities (for BitBar only)',
|
|
139
|
+
short: :none,
|
|
140
|
+
type: :string
|
|
141
|
+
opt Option::APP_PACKAGE,
|
|
142
|
+
'The appPackage to set in the Appium capabilities (for BitBar only)',
|
|
143
|
+
short: :none,
|
|
144
|
+
type: :string
|
|
137
145
|
opt Option::APPIUM_VERSION,
|
|
138
146
|
'The Appium version to use',
|
|
139
147
|
short: :none,
|
|
@@ -47,6 +47,8 @@ module Maze
|
|
|
47
47
|
end
|
|
48
48
|
config.locator = options[Maze::Option::A11Y_LOCATOR] ? :accessibility_id : :id
|
|
49
49
|
config.capabilities_option = options[Maze::Option::CAPABILITIES]
|
|
50
|
+
config.app_activity = options[Maze::Option::APP_ACTIVITY]
|
|
51
|
+
config.app_package = options[Maze::Option::APP_PACKAGE]
|
|
50
52
|
config.legacy_driver = !ENV['USE_LEGACY_DRIVER'].nil?
|
|
51
53
|
config.start_tunnel = options[Maze::Option::TUNNEL]
|
|
52
54
|
|
data/lib/maze/option.rb
CHANGED
|
@@ -21,7 +21,9 @@ module Maze
|
|
|
21
21
|
|
|
22
22
|
# Generic device farm options
|
|
23
23
|
ACCESS_KEY = 'access-key'
|
|
24
|
+
APP_ACTIVITY = 'app-activity'
|
|
24
25
|
APP_BUNDLE_ID = 'app-bundle-id'
|
|
26
|
+
APP_PACKAGE = 'app-package'
|
|
25
27
|
APPIUM_VERSION = 'appium-version'
|
|
26
28
|
BROWSER = 'browser'
|
|
27
29
|
BROWSER_VERSION = 'browser-version'
|
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.
|
|
10
|
+
VERSION = '8.15.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: 8.
|
|
4
|
+
version: 8.15.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:
|
|
11
|
+
date: 2024-01-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cucumber
|