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

Add wait for browser #95

Merged
merged 1 commit into from
Jul 17, 2019
Merged

Conversation

birtles
Copy link
Collaborator

@birtles birtles commented Jul 12, 2019

As of about Firefox 64, on Windows Firefox uses a separate launcher process which then spawns the browser process. The launcher process will terminate quickly causing karma to think something failed.

As with Mozilla's own automation tests we should use -wait-for-browser to make the launcher process wait for the browser process to complete and return its exit code.

Unfortunately, killing the launcher process won't kill the browser process so this isn't a complete solution. However, killing the browser process is likely more complicated while simply getting the browser to launch at all is probably enough for local testing.

This builds on top of #94 so I expect you'll want to merge that first.

As of about Firefox 64, on Windows Firefox uses a separate launcher
process which then spawns the browser process. The launcher process will
terminate quickly causing karma to think something failed.

As with Mozilla's own automation tests we should use -wait-for-browser
to make the launcher process wait for the browser process to complete
and return its exit code.

Unfortunately, killing the launcher process won't kill the browser
process so this isn't a complete solution. However, killing the browser
process is likely more complicated while simply getting the browser to
launch at all is probably enough for local testing.
@birtles birtles merged commit 540c1dd into karma-runner:master Jul 17, 2019
@birtles birtles deleted the add-wait-for-browser branch July 17, 2019 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant