bugsnag-maze-runner 8.0.0 → 8.0.2

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: 1a8fe53083056182a02bfe2c64ef7e5f16a94dc9a2cf7908e07be82d630aa7ca
4
- data.tar.gz: 232d9f91e5c489994e6b63a3f09f7b21edad67c01d88270b4365707cb5808c1c
3
+ metadata.gz: 75d2f1ce0990ec5a8d580a1bd3e9b70d8b9a4dac7350db35b92dc98d91030aee
4
+ data.tar.gz: f4b6442090aa19321583db6d7cf2189a2637659da40996cfee029f6b32b51e96
5
5
  SHA512:
6
- metadata.gz: 9a4dd6596a3dd44a6090d7c84155e3e30f2cff5b530a5b765df9e4fedce1aa153c6120604b555e44b3933dd5567479dc0b509b84ba5be8624b6e735b7d3316c0
7
- data.tar.gz: 501886299af0b042122474462a4fa92ac920d64122da62129bf35f8a624786dd158c88572ae4dafdbc66e023536193a6adb5979fdbd0a319fea9ca0e9ea680dd
6
+ metadata.gz: a06060657a765dadf0b51ed6472ad5d597619b8ad1b920dd751b8f22599a0470a48afa3c708e43fefcc19b897d1b4e12fb1bdb5dd3640575c93accfcd418f297
7
+ data.tar.gz: d0c61e16312abc8bae8632cd67a0163103899d0c50b4614a9466a333b9598760d91326a07e4507763a5b8ecd589ca9b6b33a24d4144aff32c954df295a9b0a76
@@ -16,7 +16,7 @@ end
16
16
  Then(/^the error is a valid browser payload for the error reporting API$/) do
17
17
  if !/^ie_(8|9|10)$/.match(Maze.config.browser)
18
18
  steps %(
19
- Then the error "Bugsnag-API-Key" header is not null
19
+ Then the error "Bugsnag-API-Key" header is present
20
20
  And the error "Content-Type" header equals one of:
21
21
  | application/json |
22
22
  | application/json; charset=UTF-8 |
@@ -48,7 +48,7 @@ end
48
48
  Then('the session is a valid browser payload for the session tracking API') do
49
49
  if !/^ie_(8|9|10)$/.match(Maze.config.browser)
50
50
  steps %(
51
- Then the session "Bugsnag-API-Key" header is not null
51
+ Then the session "Bugsnag-API-Key" header is present
52
52
  And the session "Content-Type" header equals one of:
53
53
  | application/json |
54
54
  | application/json; charset=UTF-8 |
@@ -2,7 +2,7 @@
2
2
 
3
3
  # @!group Header steps
4
4
 
5
- # Tests that a request header is not null
5
+ # Tests that a request header is present
6
6
  #
7
7
  # @step_input request_type [String] The type of request (error, session, build, etc)
8
8
  # @step_input header_name [String] The header to test
@@ -15,7 +15,7 @@ Then('the {request_type} {string} header is present') do |request_type, header_n
15
15
  "The #{request_type} '#{header_name}' header should be present")
16
16
  end
17
17
 
18
- # Tests that a request header is null
18
+ # Tests that a request header is not present
19
19
  #
20
20
  # @step_input request_type [String] The type of request (error, session, build, etc)
21
21
  # @step_input header_name [String] The header to test
@@ -22,8 +22,13 @@ module Maze
22
22
  when 'ios'
23
23
  Maze.driver.session_capabilities['CFBundleIdentifier'] # Present on BS and locally
24
24
  end
25
+
25
26
  # Ensure the device is unlocked
26
- Maze.driver.unlock
27
+ begin
28
+ Maze.driver.unlock
29
+ rescue => e
30
+ $logger.warn "Failed to unlock device: #{e}"
31
+ end
27
32
 
28
33
  log_run_intro
29
34
  end
@@ -27,7 +27,7 @@ chrome_72:
27
27
  resolution: '1920x1080'
28
28
 
29
29
  chrome_43:
30
- platform': 'Windows'
30
+ platform: 'Windows'
31
31
  osVersion: '10'
32
32
  browserName: 'chrome'
33
33
  version: '43'
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.0.0'
10
+ VERSION = '8.0.2'
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.0.0
4
+ version: 8.0.2
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-06-13 00:00:00.000000000 Z
11
+ date: 2023-06-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cucumber