testcafe
testcafe copied to clipboard
Testcafe hangs on navigating to another page in electron
What is your Test Scenario?
An electron app. A page has an edit button which takes the user to a page to edit the values.
What is the Current behavior?
The test navigates to another page but thereafter just hangs.
What is the Expected behavior?
Should be able to test the new page.
What is your web application and your TestCafe test code?
https://bitbucket.org/psaikido/lyftrak/ https://bitbucket.org/psaikido/lyftrak/src/testcafe/testcafe/02-edit.js
Your complete test code (or attach your test files):
Your complete configuration file (if any):
{
"mainWindowUrl": "./src/journalEntry.html",
"appPath": "./"
}
Your complete test report:
There is no report because it's just hanging.
Screenshots:
Steps to Reproduce:
- Install lyftrak from bitbucket
- Execute
npm test
from its root dir on linux - See the error...
Your Environment details:
-
testcafe version: v1.8.1
-
node.js version: v13.5.0
-
command-line arguments:
-
browser name and version: chrome Version 79.0.3945.117 (Official Build) (64-bit)
-
platform and version: linux mint 19.3
-
other: I wonder if the bug is to do with an interaction with npm package testcafe-browser-provider-electron.
Thank you for your report. I was able to reproduce the issue. Likely it is an incompatibility between TestCafe and Electron, but we need some time for debugging.
That's brilliant someone's on it! I didn't expect a reply tbh :)
On Wed, 29 Jan 2020 at 11:55, Andrey Belym [email protected] wrote:
Thank you for your report. I was able to reproduce the issue. Likely it is an incompatibility between TestCafe and Electron, but we need some time for debugging.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/DevExpress/testcafe/issues/4701?email_source=notifications&email_token=AABS4X2GOWYMMYZQQQW53I3RAFVBVA5CNFSM4KLV2VP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKG5YCA#issuecomment-579722248, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABS4XZB4ZQZTQSBUMCSSFDRAFVBVANCNFSM4KLV2VPQ .
-- Hugh Carroll http:// http://hugle.co.ukcarrollonline.co.uk
Any update on this ?
@trungutt, there are no updates yet. We will definitely post news once we have any.
This issue has been automatically marked as stale because it has not had any activity for a long period. It will be closed and archived if no further activity occurs. However, we may return to this issue in the future. If it still affects you or you have any additional information regarding it, please leave a comment and we will keep it open.
We're closing this issue after a prolonged period of inactivity. If it still affects you, please add a comment to this issue with up-to-date information. Thank you.
is there any fix? i'm facing the same problem now, i would assume that when i use loadurl on a browserwindow it creates new webcontents
No updates yet. Once we get any results, we will post them in this thread.
This issue has been automatically marked as stale because it has not had any activity for a long period. It will be closed and archived if no further activity occurs. However, we may return to this issue in the future. If it still affects you or you have any additional information regarding it, please leave a comment and we will keep it open.
We're closing this issue after a prolonged period of inactivity. If it still affects you, please add a comment to this issue with up-to-date information. Thank you.