bugsnag-maze-runner 8.12.0 → 8.12.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: 8a017d7683954e867a7ce32bf3d1b0a6391a27b86ed8a4dad3861d30e9090499
4
- data.tar.gz: 7c0c32bfc1e03fbe59c714ddd6766bf9e0e4bd413c2470b4268b6f5843d73f04
3
+ metadata.gz: 3762714f1e7360f56d166b5b03a857da81bae9a13a2cf304638cda47a0a192da
4
+ data.tar.gz: d1db769adbb399e9b4a4cbd4c63db6dbf128de730504c3382c3b885a803bc3d9
5
5
  SHA512:
6
- metadata.gz: 8b7a5be493f590641dbbd23bbe9effd0dac6a5207ee1f66401c1511c92765396df08f2a4016ce640af41c7705dd785b836211fb6f680543f8cbd8a5676678f95
7
- data.tar.gz: 841b495ddff85d3047afffa356730136f80873a13f7bf0fdb777983eb6fca93a3acb0c5bf5c37287c6382b16234299bef2e7c535628064ae337a847a651896f3
6
+ metadata.gz: a7150ffbcf0259314d085e2ade70f31589e0386fe01e2b2d656fe88c99868b9f098bb4c45ac0708cee81d2d1b62e94a5959985ef515d3008db35f513b4fd4e3e
7
+ data.tar.gz: 2ef4b990914573038c66c1ff824681d9ba29752ea5746831d303a9ee2e5b3706cc66734a6c307387dfbb1a72df99a7e1f6e0f34f65af848a5d987a9615029d69
@@ -91,46 +91,44 @@ module Maze
91
91
  end
92
92
 
93
93
  def make_android_hash(device)
94
- # Doubling up on capabilities in both the `appium:options` and `appium` sub dictionaries.
94
+ # Tripling up on capabilities in the `appium:options`, `appium` sub dictionaries and base dictionary.
95
95
  # See PLAT-11087
96
+ appium_options = {
97
+ 'automationName' => 'UiAutomator2',
98
+ 'autoGrantPermissions' => true,
99
+ 'uiautomator2ServerInstallTimeout' => 60000
100
+ }
96
101
  hash = {
97
102
  'platformName' => 'Android',
98
103
  'deviceName' => 'Android Phone',
99
- 'appium:options' => {
100
- 'automationName' => 'UiAutomator2',
101
- 'autoGrantPermissions' => true,
102
- 'uiautomator2ServerInstallTimeout' => 60000
103
- },
104
- 'appium' => {
105
- 'automationName' => 'UiAutomator2',
106
- 'autoGrantPermissions' => true,
107
- 'uiautomator2ServerInstallTimeout' => 60000
108
- },
104
+ 'appium:options' => appium_options,
105
+ 'appium' => appium_options,
109
106
  'bitbar:options' => {
110
107
  'device' => device,
111
108
  }
112
109
  }
110
+ hash.merge!(appium_options)
113
111
  hash.freeze
114
112
  end
115
113
 
116
114
  def make_ios_hash(device)
117
- # Doubling up on capabilities in both the `appium:options` and `appium` sub dictionaries.
115
+ # Tripling up on capabilities in the `appium:options`, `appium` sub dictionaries and base dictionary.
118
116
  # See PLAT-11087
119
- {
117
+ appium_options = {
118
+ 'automationName' => 'XCUITest',
119
+ 'shouldTerminateApp' => 'true'
120
+ }
121
+ hash = {
120
122
  'platformName' => 'iOS',
121
123
  'deviceName' => 'iPhone device',
122
- 'appium:options' => {
123
- 'automationName' => 'XCUITest',
124
- 'shouldTerminateApp' => 'true'
125
- },
126
- 'appium' => {
127
- 'automationName' => 'XCUITest',
128
- 'shouldTerminateApp' => 'true'
129
- },
124
+ 'appium:options' => appium_options,
125
+ 'appium' => appium_options,
130
126
  'bitbar:options' => {
131
127
  'device' => device
132
128
  }
133
- }.freeze
129
+ }
130
+ hash.merge!(appium_options)
131
+ hash.freeze
134
132
  end
135
133
  end
136
134
  end
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.12.0'
10
+ VERSION = '8.12.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: 8.12.0
4
+ version: 8.12.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: 2023-11-07 00:00:00.000000000 Z
11
+ date: 2023-11-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cucumber