https://cypress.io logo
Help, I really need to disable the clearing of the...
# help
f
Help, I really need to disable the clearing of the console from cypress. Does someone know how to do that? When a test fails it clears and closes my debugger and I no longer have access to the log leading to the problem.
p
when you click on specific test, you can print the output to console, so maybe you can recreate your logs that way
f
I have thousands of log messages that traverse through time and they are just cleared willy nilly when cypress sees fit.
It even closes the debugger when it thinks it's necessary for some odd reason.
p
maybe you should save your logs to the file if there are so many
Sorry, that does not answer your question, but I dont know the answer
f
A browser file system? Then I have to develop my own log, just because cypress thinks it owns the debugger?
I guess I need to fork cypress? I figured it would be just a simple config item, like disableConsoleControl: true
Who decided to clear the console? It makes no sense to me at all 🙂
p
What do you mean by debugger in your first message, do you mean this place: ?
f
No, the browser debugger console. Somehow cypress thinks it can just clear it and close the debugger when a test gets stuck
6 Views