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:
Richard van der Hoff 2023-09-04 17:54:21 +01:00 committed by GitHub
parent 2ff1056cb2
commit e650397bac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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",