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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2846c608ba08c4cd98faa8907c25e1d56ab36da97a56c28aa02aee8f39adf0b2
4
- data.tar.gz: 75e3d297031547a4478c83added87975d5205e973f7777eddfe99718da664d9f
3
+ metadata.gz: bc79eb9902d0209a3c73e30fec55492e406f49f310c7e186a793705d82641bc2
4
+ data.tar.gz: 259c557ff4100a51a9f3b6d3a0e9323139543e94c50d29125bd757750acf4dcc
5
5
  SHA512:
6
- metadata.gz: 51b9290030731e65a5f93df77000e17a404b5fab4ca8e728606d2c3f29be4b1846fe36cc2e3fbd034a1d0b100396f735d28bd969da158bc9118f14b14d70a5bf
7
- data.tar.gz: 023ae9dee40ce4d5e01d9a7f0bdd926754f1145d0a113ca91862841df5e6186a2884c36acdadcc34139e21f81743f2dc82b9330fabb119c9909343f4f7fa2562
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
- 'noReset' => true,
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
- Maze.driver.terminate_app Maze.driver.app_id
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.0'
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.0
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-01-26 00:00:00.000000000 Z
11
+ date: 2024-02-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cucumber