bugsnag-maze-runner 10.7.1 → 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 +4 -4
- data/lib/maze/client/appium/base_client.rb +12 -0
- data/lib/maze/client/selenium/bb_browsers.yml +0 -21
- data/lib/maze/driver/appium.rb +0 -1
- data/lib/maze/request_list.rb +4 -2
- 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: 460723532ac7cdbb236e248fcc171b87641be8c480c190c9ae9d36acf1fe8f0b
|
|
4
|
+
data.tar.gz: a5796d5ee2b0e5882c4c8d552a905e08b724e325561d7cda01dbe6c4815c3011
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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'
|
data/lib/maze/driver/appium.rb
CHANGED
data/lib/maze/request_list.rb
CHANGED
|
@@ -28,8 +28,10 @@ module Maze
|
|
|
28
28
|
clone = request.clone
|
|
29
29
|
# UUID and other metadata primarily used for commands, but no harm to set on everything
|
|
30
30
|
clone[:uuid] = SecureRandom.uuid
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
unless Maze.scenario.nil?
|
|
32
|
+
clone[:cucumber_scenario_name] = Maze.scenario.name
|
|
33
|
+
clone[:cucumber_scenario_location] = Maze.scenario.location
|
|
34
|
+
end
|
|
33
35
|
clone[:run_uuid] = Maze.run_uuid
|
|
34
36
|
@requests.append clone
|
|
35
37
|
@count += 1
|
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.
|
|
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.
|
|
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-
|
|
12
|
+
date: 2025-11-17 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: cucumber
|