Skip to content

Commit

Permalink
Merge branch 'main' into tiered-notifies
Browse files Browse the repository at this point in the history
  • Loading branch information
joshedney authored Nov 28, 2024
2 parents 193cec8 + e3681c8 commit 052b8bc
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

- Ensure selenium related errors are always reported [706](https://github.com/bugsnag/maze-runner/pull/706)

## Fixes

- Fix issue where the incorrect `buildId` was being pulled from `Maze.driver.session_capabilities` [707](https://github.com/bugsnag/maze-runner/pull/707)

# 9.20.0 - 2024/11/21

## Enhancements
Expand Down
1 change: 1 addition & 0 deletions lib/maze.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
# Glues the various parts of MazeRunner together that need to be accessed globally,
# providing an alternative to the proliferation of global variables or singletons.
module Maze

VERSION = '9.21.0'

class << self
Expand Down
7 changes: 6 additions & 1 deletion lib/maze/client/appium/base_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,16 @@ def start_session
Maze.driver.session_capabilities['appPackage']
when 'ios'
unless app_id = Maze.driver.session_capabilities['CFBundleIdentifier']
app_id = Maze.driver.session_capabilities['bundleID']
app_id = Maze.driver.session_capabilities['bundleId']
end
app_id
end

if Maze.driver.app_id.nil?
$logger.error "Failed to determine app id."
$logger.debug "session_capabilities: #{Maze.driver.session_capabilities.inspect}"
end

# Ensure the device is unlocked
begin
Maze.driver.unlock
Expand Down

0 comments on commit 052b8bc

Please sign in to comment.