Skip to content

Commit

Permalink
replace launch app for activate_app
Browse files Browse the repository at this point in the history
  • Loading branch information
joshedney committed Nov 28, 2024
1 parent 9bdfd59 commit 81bf3a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions features/steps/app_steps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def relaunch_crashed_app
when 'ios'
# Wait for the app to stop running before relaunching
step 'the app is not running'
Maze.driver.activate_app
Maze.driver.activate_app Maze.driver.app_id
when 'macos'
sleep 4
launch_app
Expand All @@ -132,7 +132,7 @@ def kill_and_relaunch_app
case Maze::Helper.get_current_platform
when 'ios'
Maze.driver.close_app
Maze.driver.activate_app
Maze.driver.activate_app Maze.driver.app_id
when 'macos'
run_macos_app # This will kill the app if it's running
when 'watchos'
Expand Down

0 comments on commit 81bf3a7

Please sign in to comment.