Collect `console.debug` logs during cypress tests (#11478)
In order for the logs collected by cypress to actually be useful, we really need `cons:debug`.pull/28217/head
parent
2ff1056cb2
commit
e650397bac
|
@ -50,7 +50,9 @@ installLogsCollector({
|
|||
"cons:info",
|
||||
"cons:warn",
|
||||
"cons:error",
|
||||
// "cons:debug",
|
||||
// most of our logs go through `loglevel`, which sets `logger.log` to be an alias of `logger.debug`.
|
||||
// Hence, if we want to capture `logger.log` lines, we need to enable `cons:debug` here.
|
||||
"cons:debug",
|
||||
"cy:log",
|
||||
"cy:xhr",
|
||||
"cy:fetch",
|
||||
|
|
Loading…
Reference in New Issue