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
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
1 changed files with 3 additions and 1 deletions

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