testcafe icon indicating copy to clipboard operation
testcafe copied to clipboard

Testcafe hangs on navigating to another page in electron

Open psaikido opened this issue 5 years ago • 8 comments

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:

  1. Install lyftrak from bitbucket
  2. Execute npm test from its root dir on linux
  3. 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.

psaikido avatar Jan 26 '20 09:01 psaikido

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.

AndreyBelym avatar Jan 29 '20 11:01 AndreyBelym

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

psaikido avatar Jan 29 '20 16:01 psaikido

Any update on this ?

trungutt avatar Jan 10 '21 13:01 trungutt

@trungutt, there are no updates yet. We will definitely post news once we have any.

arubtsov avatar Jan 11 '21 09:01 arubtsov

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.

github-actions[bot] avatar Apr 22 '22 02:04 github-actions[bot]

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.

github-actions[bot] avatar May 02 '22 02:05 github-actions[bot]

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

2BC-Wasabi avatar Jul 28 '22 15:07 2BC-Wasabi

No updates yet. Once we get any results, we will post them in this thread.

github-actions[bot] avatar Aug 01 '22 09:08 github-actions[bot]

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.

github-actions[bot] avatar Mar 16 '24 01:03 github-actions[bot]

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.

github-actions[bot] avatar Mar 26 '24 01:03 github-actions[bot]