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

Script stopped after a long freeze period #5857

Closed
Sabou44 opened this issue Jan 12, 2021 · 5 comments
Closed

Script stopped after a long freeze period #5857

Sabou44 opened this issue Jan 12, 2021 · 5 comments
Labels
FREQUENCY: level 2 SYSTEM: window management TYPE: bug The described behavior is considered as wrong (bug).
Milestone

Comments

@Sabou44
Copy link

Sabou44 commented Jan 12, 2021

What is the Current behavior?

The script runs until ** Start verification and freezes.

Capture01

Steps to Reproduce:

  1. Download basic-page-model.js.txt (remove extension .txt)
  2. Download test-simple-example.js.txt (remove extension .txt)
  3. Run testcafe chrome test-simple-example.js

Environment details:

  • testcafe version: 1.10.1
  • node.js version: 10.16.3
  • browser name and version: Chrome 87.0.4280.88 (Official Build) (64-bit)
  • platform and version: Windows 10 Pro
@need-response-app need-response-app bot added the STATE: Need response An issue that requires a response or attention from the team. label Jan 12, 2021
@AlexKamaev
Copy link
Contributor

Thank you for sharing the example with us. I was able to reproduce the issue. Please follow this ticket to track our progress.

@need-response-app need-response-app bot removed the STATE: Need response An issue that requires a response or attention from the team. label Jan 13, 2021
@AlexKamaev AlexKamaev added TYPE: bug The described behavior is considered as wrong (bug). FREQUENCY: level 2 SYSTEM: window management labels Jan 13, 2021
@AlexKamaev AlexKamaev added this to the Planned milestone Jan 13, 2021
AlexKamaev added a commit to AlexKamaev/testcafe that referenced this issue Jan 15, 2021
@need-response-app need-response-app bot added the STATE: Need response An issue that requires a response or attention from the team. label Jan 19, 2021
@Sabou44
Copy link
Author

Sabou44 commented Jan 19, 2021

Hi,
I still have a problem with this example.
The test runs fine up to console.log(** End verification); but the test doesn't stop the execution window remains open and you have to kill it manually.

@AlexKamaev
Copy link
Contributor

AlexKamaev commented Jan 19, 2021

@Sabou44
Hi, did you try the 1.10.2-alpha.1 version?
I checked your scenario and it worked for me.

UPD. It looks like the alpha version was published before this issue was fixed, so there is no fix in the 1.10.2-alpha.1 version.
If you want to check the fix, you can download the master branch of the DevExpress/testcafe repository and use the following commands to build it:

  • npm i
  • npx gulp build (or gulp build if you installed gulp globally)

Then, you can use the following command to run the locally built TestCafe: node bin/testcafe chrome test.js.

@need-response-app need-response-app bot removed the STATE: Need response An issue that requires a response or attention from the team. label Jan 19, 2021
@Sabou44
Copy link
Author

Sabou44 commented Jan 20, 2021

Hi,
Thanks @AlexKamaev.

I runned the script with the master but I still have the same problem. The script runs until the last console.log but after the test doesn't end.

Capture

I never see the test result at the end.
Capture3

@need-response-app need-response-app bot added the STATE: Need response An issue that requires a response or attention from the team. label Jan 20, 2021
@AlexKamaev
Copy link
Contributor

@Sabou44 I checked your scenario again using the master branch, and it works as expected in my case. I noticed the following message in your console: Using locally installed version of TestCafe. This means that for some reason, you have another TestCafe version installed locally. So, probably, for some reason, the testcafe folder exists in your node_modules. Please try to remove this folder or reinstall TestCafe from the master branch into a clear folder.

@need-response-app need-response-app bot removed the STATE: Need response An issue that requires a response or attention from the team. label Jan 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FREQUENCY: level 2 SYSTEM: window management TYPE: bug The described behavior is considered as wrong (bug).
Projects
None yet
Development

No branches or pull requests

2 participants