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

Ember exam failing when browser ID not found, return 0 #750

Merged
merged 4 commits into from
Oct 28, 2021

Conversation

step2yeung
Copy link
Collaborator

There has sporadic reports of ember-exam failing for "Browser ID not found" in v4.0.9, even though all the tests from execution has completed. So failing the test execution when all tests pass because of test infrastructure is a bad experience for users.

Context: getBrowserId is used for the debug logs & execution file to map the test modules to a browser Id. The logs from the failure has always been from writing to the debug logs. My hunch is the launcher settings is cleared (a race condition) before it's used to for the debug log.

This change will console.warn rather than throw new Error when there are problems with getting the browserId from launcher.settings.test_page. This way, the execution should finish successfully even if it wasn't able to get the browserId.

@step2yeung step2yeung merged commit b62bed3 into ember-cli:master Oct 28, 2021
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