-
Notifications
You must be signed in to change notification settings - Fork 675
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
Unable to Run tests Headless (using Nightmare) #2323
Comments
Hi @TheBeachMaster! I've reproduced your issue with a disconnected browser. Unfortunately, So it's a problem in the provider, and I've created an issue in its repository: ryx/testcafe-browser-provider-nightmare#14. You can use it to check the progress of resolving this problem. Also there is another problem with 'Error launching app'. You've got it, because you had installed Linux version of Nightmare on Windows. Windows Subsystem for Linux a.k.a. Bash for Windows can't run Linux binaries of Electron apps such as Nightmare in its current state. You have to force
Check this thread for details: electron-userland/electron-prebuilt#260 (comment) |
Also I've forgot to mention that you can use Firefox and Chrome in headless mode! You don't even need things like |
Awesome, let me try this |
This thread has been automatically locked since it is closed and there has not been any recent activity. Please open a new issue for related bugs or feature requests. We recommend you ask TestCafe API, usage and configuration inquiries on StackOverflow. |
Are you requesting a feature or reporting a bug?
What is the current behavior?
Windows
Ubuntu
What is the expected behavior?
should execute tests successfully with xvfb installed on Ubuntu.
npm test
should execute the test command without errrosHow would you reproduce the current behavior (if this is a bug)?
Run tests against
nightmare
on headless mode , e.g. on a Bitbucket pipelines environment with a default Ubuntu image.Or, run any simple tests against Bash on Windows on Ubuntu with
xvfb
installed.Provide the test code and the tested page URL (if applicable)
Tested page URL: https://bitbucket.org/augke/bitbucketaddon/src/master/
Test code
Specify your
The text was updated successfully, but these errors were encountered: