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`.
This commit is contained in:
parent
2ff1056cb2
commit
e650397bac
1 changed files with 3 additions and 1 deletions
|
@ -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 a new issue