Closed fishsaidno closed 6 years ago
If you or anyone wants to try to implement this, see here: https://github.com/meteortesting/meteor-browser-tests/blob/master/browser/chromedriver.js#L42-L46
You would need to experiment and see which log levels would still allow the output from the test runner (e.g. mocha) to pass through. If it still works when setting some other levels, then you'd have to add some env variable for the desired level and just check it in that file.
You can now set this yourself by using the shell-variable TEST_CHROME_ARGS
introduced in https://github.com/meteortesting/meteor-browser-tests/issues/18.
Please reopen if you're not satisfied with this solution.
Hi,
It would be nice be able to set the chromium
--log-level
switch when running tests. To prevent errors such as[ERROR] Failed to load resource: net::ERR_NAME_NOT_RESOLVED
from cluttering the test output.Whether or not the drivers for other browsers expose a similar option? I'm not sure.
Any thoughts on this?