-
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
testcafe live mode fails after first rerun #3322
Comments
Can you also make up a configuration for the absence of above logs of warnings? While technically and DX-related totally sensible, maybe a certain log filter level (screenshottaker.fileoverwrite.occured=OFF) set via config/env or cli helps in reducing terminal distraction. |
As i see it now - removing xunit reporter(cause of above failure) in testcafe-live mode is a viable solution for me. P.S. After short testing, integrated Live Mode works stable. Only that is does not catch up changes to my index-test.js file. Have to do manually CTRL + r. |
Hello, @joma74.
I tried to update the Environment details:
|
Hey @Farfurix, hope i have things sorted out. It's the Windows OS 😄 vs Unix(my bread and butter OS), with all their beautiful different path separators, among other things. As in the regex of webpack config - which is still strict webpack 3 - describing a file path to exclude the acitvition of a plugin, which resulted in the above error. I tested under Windows 10, although only inside git bash. Which i must call out for as a prerequisite to use the application. Any other than this, i expect the application to run with the commands described above. I can still see the error P.S. I spent a good part of my free time the last days to get this build run on windows on travis. That offer is in beta and around since October 2018(Windows Server 2016, shell is git bash). Learned Firefox as addon is not supported, but may be installed via chocolatery, so i thought i woudl give it a go. But i cant get the Windows build to run. Always ended with
as in https://travis-ci.org/joma74/inetingishard-floats/jobs/483337236 I think i narrowed it down to firefox. chrome only build was successful. If you hear of any "me also" or otherwise success stories about Travis Windows with firefox, leave me a note. Sidestep - perhaps you can define above ERROR Unable to establish message more clearly if it's FF or chrome browser connection? Or maybe run a report on the good ones, but fail the overall result? |
Thank you for the provided information. I was able to reproduce the error with the However, TestCafe has always restarted tests after I made changes in the test file and saved them with the Vi editor. If you still can reproduce the problem, could you create a new issue and specify your text editor and filesystem type (ext4,zfs, btrfs, etc.) there? About your P.S.: I haven't tried Windows machines provided by Travis CI yet, but we run Firefox Headless on Linux by TravisCI and looks like that the Firefox Electrolysis is not compatible with the Travis CI build runner. We disable it by using the special By the way, it looks like a subject for another issue, so please create a new one if you want to continue discussing Firefox on Travis CI. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs or feature requests. For TestCafe API, usage and configuration inquiries, we recommend asking them on StackOverflow. |
…press#3426) * [WIP] do not dispose reporters in Live Mode (closes DevExpress#3322) * [WIP]dispose assets in Live mode only after run is finished (closes DevExpress#3322)
Rerun in new integrated live mode exits process with failure and stacktrace
What is your Test Scenario?
develop in live mode
What is the Current behavior?
fails after first rerun
What is the Expected behavior?
no failure after first rerun
What is your web application and your TestCafe test code?
https://github.com/joma74/inetingishard-floats/commits/testcafelivemodefails
https://github.com/joma74/inetingishard-floats/blob/7303517c1652f69df4aa3b85e8578ede6d90c3a5/src/tests/index-test.js
Steps to Reproduce:
yarn install
yarn run start
yarn run testcafe-live
Your Environment details:
The text was updated successfully, but these errors were encountered: