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
app not launching when starting testcafe #25
Comments
Hi @euZebe! The appPath option description in the Getting Started section is quite misleading. You should use it because otherwise you will have to copy your project into the
If you've placed your {
"mainWindowUrl": "...",
"appPath": "./"
} |
@AndreyBelym So the path behind Why am I wrong when launching testcafe with
|
@euZebe Check this stackoverflow answer - https://stackoverflow.com/a/44723909/6353963 . If you add main field in package.json file, it will not throw the module not found error.
|
I was having the same issue as the original post, but after following this advice, electron starts up with a blank page. This seems like a step in the right direction. What is mainWindowUrl supposed to refer to? I've pointed it at an index.html file pre-and post web pack, but either way, a blank page is loaded. Here is my error:
|
Hi @tieTYT The |
This issue was automatically closed because there was no response to our request for more information from the original author. Currently, we don't have enough information to take action. Please reach out to us if you find the necessary information and are able to share it. We are also eager to know if you resolved the issue on your own and can share your findings with everyone. |
I'm not sure where the problem comes from (well, rather from my own code, ok...).
I am trying to add e2e tests to an existing electron app. I followed the steps:
doing so, electron starts but I get the following message:
in the console, once testcafe ends, I get
I checked ; the file defined at /absolute/path/to/projet/root/index.html exists. Any idea what I did wrong ?
The text was updated successfully, but these errors were encountered: