bugsnag-maze-runner 10.7.2 → 10.7.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 044dd7f75f4e2f981e5eec58370010a26c5eddf676d28bf3b5861d69d4a83acf
4
- data.tar.gz: 73d7a0d459d4480b4a391fbd6e72fce68c2cfd72429aee354458fe6b718fd618
3
+ metadata.gz: 460723532ac7cdbb236e248fcc171b87641be8c480c190c9ae9d36acf1fe8f0b
4
+ data.tar.gz: a5796d5ee2b0e5882c4c8d552a905e08b724e325561d7cda01dbe6c4815c3011
5
5
  SHA512:
6
- metadata.gz: 25ce7b78efb7d28ecfaaf1ebf5d2c79d399972c134f7b2f1cce5d63bf44f534d04e5184e1cc00cb47c40e5c7a22bf0c4503d048ee0a0d3d687204f4ae66ed10f
7
- data.tar.gz: d5f62fc01eaa36e1b5698c0a5b8dcc674779c42bb1469d91624363311b3ac73a1947d18aefcff6954d4f0299f907efe3bfe87ec239fa6df321bf9fd6e785fa4d
6
+ metadata.gz: 776888ccd312f6754f91b2816abc8cc2bbeeb0e21fdee5de6eede8fb67d0dacf0d13de47896d5914b0950445aff259e638ffb9576dac9fed79ce3a5c8beeab49
7
+ data.tar.gz: 0337eabade7c9431d0b917f23b416aef835852ad57235d7e910366a239992554cc8d3a83ca11f2cf0cd2ffe15f8972c3d97be518c55262351adbdf5ba0f9fbe1
@@ -1,5 +1,6 @@
1
1
  require 'bugsnag'
2
2
  require 'json'
3
+ require 'uri'
3
4
 
4
5
  # Custom error class for reporting successful Appium sessions
5
6
  class Success < StandardError
@@ -23,6 +24,13 @@ module Maze
23
24
  @start_attempts = 0
24
25
  end
25
26
 
27
+ def sanitize_url(url)
28
+ uri = URI.parse(url)
29
+ uri.user = nil
30
+ uri.password = nil
31
+ uri.to_s
32
+ end
33
+
26
34
  def start_session
27
35
  prepare_session
28
36
 
@@ -81,10 +89,14 @@ module Maze
81
89
 
82
90
  def attempt_start_driver(config)
83
91
  config.capabilities = device_capabilities
92
+
93
+
94
+
84
95
  driver = Maze::Driver::Appium.new config.appium_server_url,
85
96
  config.capabilities,
86
97
  config.locator
87
98
 
99
+ $logger.info "Creating Appium session with #{sanitize_url(config.appium_server_url)}..."
88
100
  result = driver.start_driver
89
101
  if result
90
102
  # Log details of this session
@@ -11,20 +11,6 @@ chrome_latest:
11
11
  browserVersion: 'latest'
12
12
  resolution: '1920x1080'
13
13
 
14
- chrome_72:
15
- platformName: 'Windows'
16
- osVersion: '10'
17
- browserName: 'chrome'
18
- browserVersion: '72'
19
- resolution: '1920x1080'
20
-
21
- chrome_43:
22
- platformName: 'Windows'
23
- osVersion: '10'
24
- browserName: 'chrome'
25
- browserVersion: '43'
26
- resolution: '1920x1080'
27
-
28
14
  firefox:
29
15
  platformName: 'Windows'
30
16
  osVersion: '11'
@@ -38,13 +24,6 @@ firefox_latest:
38
24
  browserVersion: 'latest'
39
25
  resolution: '1920x1080'
40
26
 
41
- firefox_78:
42
- platformName: 'Windows'
43
- osVersion: '10'
44
- browserName: 'firefox'
45
- browserVersion: '78'
46
- resolution: '1920x1080'
47
-
48
27
  ie_11:
49
28
  platformName: 'Windows'
50
29
  osVersion: '10'
@@ -52,7 +52,6 @@ module Maze
52
52
  # Starts the Appium driver
53
53
  def start_driver
54
54
  begin
55
- $logger.info 'Starting Appium driver...'
56
55
  time = Time.now
57
56
  super
58
57
  $logger.info "Appium driver started in #{(Time.now - time).to_i}s"
data/lib/maze.rb CHANGED
@@ -8,7 +8,7 @@ require_relative 'maze/timers'
8
8
  # providing an alternative to the proliferation of global variables or singletons.
9
9
  module Maze
10
10
 
11
- VERSION = '10.7.2'
11
+ VERSION = '10.7.3'
12
12
 
13
13
  class << self
14
14
  attr_accessor :check, :driver, :internal_hooks, :mode, :start_time, :dynamic_retry, :public_address,
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bugsnag-maze-runner
3
3
  version: !ruby/object:Gem::Version
4
- version: 10.7.2
4
+ version: 10.7.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Kirkland
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2025-11-05 00:00:00.000000000 Z
12
+ date: 2025-11-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: cucumber