bugsnag-maze-runner 9.1.0 → 9.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/maze/client/appium/bb_client.rb +7 -8
- data/lib/maze/hooks/appium_hooks.rb +6 -1
- data/lib/maze/server.rb +1 -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: bc79eb9902d0209a3c73e30fec55492e406f49f310c7e186a793705d82641bc2
|
4
|
+
data.tar.gz: 259c557ff4100a51a9f3b6d3a0e9323139543e94c50d29125bd757750acf4dcc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e28c079a60645e507be8db04d715c886559ded8c34d1e1b36127de943af33b81c11f1b6e4d5f756c06c3442fa90f8b1d6814f8fbe77a16c074f60e56c2a39840
|
7
|
+
data.tar.gz: b278bf5a9acaed1e348f268442d5477c5ca509452b6ef4c036e8a72c444a810ffac8bb04fc1aa4e6dac4aff42124e1fdea94721713a5a366e69fe4f3d0e3d278
|
@@ -55,15 +55,13 @@ module Maze
|
|
55
55
|
# Doubling up on capabilities in both the `appium:options` and `appium` sub dictionaries.
|
56
56
|
# See PLAT-11087
|
57
57
|
config = Maze.config
|
58
|
+
common_caps = {
|
59
|
+
'noReset' => true,
|
60
|
+
'newCommandTimeout' => 600
|
61
|
+
}
|
58
62
|
capabilities = {
|
59
|
-
'appium:options' =>
|
60
|
-
|
61
|
-
'newCommandTimeout' => 600
|
62
|
-
},
|
63
|
-
'appium' => {
|
64
|
-
'noReset' => true,
|
65
|
-
'newCommandTimeout' => 600
|
66
|
-
},
|
63
|
+
'appium:options' => common_caps,
|
64
|
+
'appium' => common_caps,
|
67
65
|
'bitbar:options' => {
|
68
66
|
# Some capabilities probably belong in the top level
|
69
67
|
# of the hash, but BitBar picks them up from here.
|
@@ -73,6 +71,7 @@ module Maze
|
|
73
71
|
'testTimeout' => 7200
|
74
72
|
}
|
75
73
|
}
|
74
|
+
capabilities.deep_merge! common_caps
|
76
75
|
capabilities.deep_merge! BitBarClientUtils.dashboard_capabilities
|
77
76
|
capabilities.deep_merge! BitBarDevices.get_available_device(config.device)
|
78
77
|
capabilities['bitbar:options']['appiumVersion'] = config.appium_version unless config.appium_version.nil?
|
@@ -32,7 +32,12 @@ module Maze
|
|
32
32
|
|
33
33
|
# Reset the server to ensure that test fixtures cannot fetch
|
34
34
|
# commands from the previous scenario (in idempotent mode).
|
35
|
-
|
35
|
+
begin
|
36
|
+
Maze.driver.terminate_app Maze.driver.app_id
|
37
|
+
rescue Selenium::WebDriver::Error::UnknownError
|
38
|
+
$logger.warn 'terminate_app failed, using the slower but more forceful close_app instead'
|
39
|
+
Maze.driver.close_app
|
40
|
+
end
|
36
41
|
Maze::Server.reset!
|
37
42
|
Maze.driver.activate_app Maze.driver.app_id
|
38
43
|
end
|
data/lib/maze/server.rb
CHANGED
@@ -221,6 +221,7 @@ module Maze
|
|
221
221
|
server.mount '/dart-symbol', Servlets::Servlet, :sourcemaps
|
222
222
|
server.mount '/ndk-symbol', Servlets::Servlet, :sourcemaps
|
223
223
|
server.mount '/proguard', Servlets::Servlet, :sourcemaps
|
224
|
+
server.mount '/dsym', Servlets::Servlet, :sourcemaps
|
224
225
|
server.mount '/command', Servlets::CommandServlet
|
225
226
|
server.mount '/commands', Servlets::AllCommandsServlet
|
226
227
|
server.mount '/logs', Servlets::LogServlet
|
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.1
|
10
|
+
VERSION = '9.2.1'
|
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.1
|
4
|
+
version: 9.2.1
|
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
|
+
date: 2024-02-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cucumber
|