Console info/warnings in STDOUT about config.browsers and react
See original GitHub issueCurrent behavior:
Execute the tests in a Docker container and we get the following info for each test.
Running: user_class/add_user_class_spec.js... (5 of 11)
[185:0520/044143.433372:INFO:CONSOLE(162422)] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools", source: http://uitesting.qa.etisoftware.local/__cypress/runner/cypress_runner.js (162422)
[185:0520/044144.300086:INFO:CONSOLE(118886)] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools", source: http://uitesting.qa.etisoftware.local/__cypress/runner/cypress_runner.js (118886)
[185:0520/044144.548030:INFO:CONSOLE(96850)] "Warning: Failed prop type: The prop `config.browsers` is marked as required in `App`, but its value is `undefined`.
in App (created by Container)
in Container", source: http://uitesting.qa.etisoftware.local/__cypress/runner/cypress_runner.js (96850)
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:
docker run --name launchPadUiTest -v /home/jenkins/workspace/UiTestingPipelines/LaunchPadUiTestingPipeline:/ui_testing eti-cypress:latest /bin/bash -c '/node_modules/.bin/cypress run --project /ui_testing'
When we updated to 3.0.3 I rebuilt our image.
FROM cypress/browsers:chrome69
RUN npm i cypress
RUN npm install wait-on
docker build -t eti-cypress .
This is the header from the output I see when running in Docker
(Run Starting)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Cypress: 3.3.0 β
β Browser: Electron 61 (headless) β
β Specs: 1 found (login/login_spec.js) β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
I dont see the info messages when running in my local development environment. This is the output header when I run locally
β Cypress: 3.3.0 β
β Browser: Electron 61 (headless) β
β Specs: 11 found (company_profile/company_profile_spec.js, reporting/reporting_config_speβ¦ β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Versions
Cypress - 3.0.3 CentOS - 7 The browser is the default, Electron.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:9
- Comments:15 (7 by maintainers)
Top GitHub Comments
Hi, am I missing a setting? I just upgraded to 3.3.1 and still getting noisy logs
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 notifications@github.com wrote:
β 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