Skip to content

Commit e02cce0

Browse files
Merge pull request #2386 from bugsnag/tms/maze-v11
Update Maze Runner to v11
2 parents 7632b1e + 3e7a26b commit e02cce0

3 files changed

Lines changed: 4 additions & 7 deletions

File tree

Gemfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,9 @@ source "https://rubygems.org"
44
#gem 'bugsnag-maze-runner', path: '../maze-runner'
55

66
# Or a specific release:
7-
gem 'bugsnag-maze-runner', '~>10.0'
7+
gem 'bugsnag-maze-runner', '~>11.0'
88

99
# Or follow master:
1010
#gem 'bugsnag-maze-runner', git: 'https://github.com/bugsnag/maze-runner'
1111

1212
gem "license_finder", "~> 7.0"
13-
14-
gem "openssl", "~> 4.0"

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ services:
5050
PUBLISH_PASS:
5151

5252
maze-runner:
53-
image: 855461928731.dkr.ecr.us-west-1.amazonaws.com/maze-runner-releases:latest-v10-cli
53+
image: 855461928731.dkr.ecr.us-west-1.amazonaws.com/maze-runner-releases:latest-v11-cli
5454
environment:
5555
<<: *common-environment
5656
BITBAR_USERNAME:

features/steps/android_steps.rb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,8 @@ def execute_command(action, scenario_name = '')
2929
end
3030

3131
def press_at(x, y)
32-
touch_action = Appium::TouchAction.new
33-
touch_action.press({x: x, y: y}).wait(1).release
3432
begin
35-
touch_action.perform
33+
Maze::Api::Appium::UiManager.new.touch_at(x, y)
3634
rescue Selenium::WebDriver::Error::ServerError
3735
# Just ignore it, the press still seems to work
3836
end
@@ -125,6 +123,7 @@ def wait_for_app_state(expected_state)
125123
(1..count).each { |i|
126124
begin
127125
press_at 500, 300
126+
sleep 1
128127
rescue Selenium::WebDriver::Error::ElementNotInteractableError, Selenium::WebDriver::Error::InvalidElementStateError
129128
# Ignore it
130129
end

0 commit comments

Comments
 (0)