From 39070f7e52647b6de263ceecade0d1c912cb9b26 Mon Sep 17 00:00:00 2001 From: Steve Kirkland-Walton Date: Thu, 13 Jun 2024 15:32:27 +0100 Subject: [PATCH] Wait longer for the macOS test fixture to stop running --- features/steps/app_steps.rb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/features/steps/app_steps.rb b/features/steps/app_steps.rb index d51925d53..9c7a6d26c 100644 --- a/features/steps/app_steps.rb +++ b/features/steps/app_steps.rb @@ -62,8 +62,6 @@ case Maze::Helper.get_current_platform when 'ios' Maze.driver.app_state('com.bugsnag.fixtures.cocoa') == :not_running - when 'macos' - `lsappinfo info -only pid -app com.bugsnag.fixtures.macOSTestApp`.empty? else raise "Don't know how to query app state on this platform" end @@ -119,8 +117,7 @@ def relaunch_crashed_app step 'the app is not running' Maze.driver.launch_app when 'macos' - # Wait for the app to stop running before relaunching - step 'the app is not running' + sleep 4 launch_app when 'watchos' sleep 5 # We have no way to poll the app state on watchOS