-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Console info/warnings in STDOUT about config.browsers and react #4255
Comments
Hey @rhythmicdevil, do you have any code within your @bahmutov Is this possible that the browser console logs are set up to log from the Docker container? |
I don't see the browser config, but I do see React console.log message even
when running on Mac, we are investigating
…On Mon, May 20, 2019 at 10:28 AM Jennifer Shehane ***@***.***> wrote:
Hey @rhythmicdevil <https://github.com/rhythmicdevil>, do you have any
code within your cypress/plugins/index.js file?
@bahmutov <https://github.com/bahmutov> Is this possible that the browser
console logs are set up to log from the Docker container?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4255?email_source=notifications&email_token=AAQ4BJSASEDV3IUDKOROXDTPWKYP3A5CNFSM4HOBD5Q2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVZAE3Q#issuecomment-494010990>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAQ4BJWYUF224FK3VR7HHOLPWKYP3ANCNFSM4HOBD5QQ>
.
--
Dr. Gleb Bahmutov, PhD
Schedule video chat / phone call / meeting with me via
https://calendly.com/bahmutov
gleb.bahmutov@gmail.com @bahmutov <https://twitter.com/@bahmutov>
https://glebbahmutov.com/ https://glebbahmutov.com/blog
https://github.com/bahmutov
|
This is the content of the file
|
@rhythmicdevil Thanks, the plugins look good. It seems @bahmutov is able to partially reproduce the error, so now we can investigate. |
There is a bug in If you split out |
Ok great. Thanks for the info. |
The code for this is done in cypress-io/cypress#4281, but has yet to be released. |
i get that issue too
|
Released in |
Same info message after upgrading to 3.3.1 in
Jast warning. |
Hey @iegik, it is intended that all the warning logs do log out when the The original issue was that this warning logged when no |
Hi, am I missing a setting? I just upgraded to 3.3.1 and still getting noisy logs
|
It's not fixed! I'm using 3.3.2 and I have the same issue. |
Probably somehow related to the changes in #4165. This code controls what stderr from the Electron process is printed and what is suppressed: Lines 141 to 158 in bfec784
If you comment out line 157, no stderr is printed. But I'm not sure what stderr should remain and what stderr should be removed. The problem is probably somewhere else in the PR, since it didn't change this code section at all. |
Closing as resolved since there have been no comments on this in a year. Likely this output is no longer shown since one of our Electron upgrades. If you're experiencing a bug similar to this in Cypress, please open a new issue with a fully reproducible example that we can run. There may be a specific edge case with the issue that we need more detail to fix. |
Current behavior:
Execute the tests in a Docker container and we get the following info for each test.
Desired behavior:
I'd like to know what I need to do to remedy this.
I can see that it recommending I "download React DevTools for a better development experience", but this is not relevant when I am running in Docker in my nightly jobs.
Where do I set the value for config.browsers? I dont anything about this in the changelog for 3.0.3. I dont see it anywhere in the documentation for config.
Other info
I run my tests nightly with the following command:
When we updated to 3.0.3 I rebuilt our image.
This is the header from the output I see when running in Docker
I dont see the info messages when running in my local development environment. This is the output header when I run locally
Versions
Cypress - 3.0.3
CentOS - 7
The browser is the default, Electron.
The text was updated successfully, but these errors were encountered: