Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wait longer for the macOS test fixture to stop running #1662

Merged
merged 1 commit into from
Jun 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions features/steps/app_steps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
Loading