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

Tests hang up for headless browsers when --debug-on-fail option is enabled #2846

Closed
MargaritaLoseva opened this issue Sep 11, 2018 · 2 comments
Assignees
Labels
STATE: Auto-locked An issue has been automatically locked by the Lock bot. SYSTEM: runner TYPE: bug The described behavior is considered as wrong (bug).

Comments

@MargaritaLoseva
Copy link
Contributor

Are you requesting a feature or reporting a bug?

Bug

What is the current behavior?

If we run tests in a headless browser (Chrome headless) and with the --debug-on-fail option enabled, tests hang up.

@MargaritaLoseva MargaritaLoseva added TYPE: bug The described behavior is considered as wrong (bug). SYSTEM: runner labels Sep 11, 2018
@MargaritaLoseva MargaritaLoseva added this to the Planned milestone Sep 11, 2018
@miherlosev miherlosev modified the milestones: Planned, Sprint #19 Oct 1, 2018
@miherlosev miherlosev self-assigned this Oct 1, 2018
@AndreyBelym AndreyBelym modified the milestones: Sprint #19, Sprint #20 Oct 15, 2018
@AlexKamaev AlexKamaev assigned AlexKamaev and unassigned miherlosev Oct 18, 2018
@miherlosev
Copy link
Contributor

Running tests in headless mode with --debug-on-fail or --debug-mode options will cause an unexpected pause of the tests execution. For customers, it looks like a hung up.
In this case, we need to show a clear message about it.

VasilyStrelyaev added a commit to VasilyStrelyaev/testcafe that referenced this issue Oct 25, 2018
testcafe-build-bot added a commit to testcafe-build-bot/testcafe that referenced this issue Oct 25, 2018
testcafe-build-bot added a commit to testcafe-build-bot/testcafe that referenced this issue Oct 25, 2018
@lock
Copy link

lock bot commented Mar 28, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs or feature requests. For TestCafe API, usage and configuration inquiries, we recommend asking them on StackOverflow.

@lock lock bot added the STATE: Auto-locked An issue has been automatically locked by the Lock bot. label Mar 28, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Mar 28, 2019
kirovboris pushed a commit to kirovboris/testcafe-phoenix that referenced this issue Dec 18, 2019
…2846) (DevExpress#3003)

* [WIP]add warning when use t.debug in headless browsers (closes DevExpress#2846)

* fix

* define IsHeadlessBrowser method only in pluginHost
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
STATE: Auto-locked An issue has been automatically locked by the Lock bot. SYSTEM: runner TYPE: bug The described behavior is considered as wrong (bug).
Projects
None yet
Development

No branches or pull requests

4 participants