mirror of
https://github.com/NLnetLabs/krill.git
synced 2026-09-20 08:27:49 +02:00
FIX: Don't assume err.description is non-null as since the ugprade from Cypress 6.8.0 to 8.0.0 sometimes it isn't.
This commit is contained in:
@@ -33,7 +33,7 @@ Cypress.on('uncaught:exception', (err, runnable) => {
|
||||
console.log("Krill UI Test: err: ", err)
|
||||
console.log("Krill UI Test: runnable: ", runnable)
|
||||
|
||||
if (err.description.includes('ResizeObserver loop limit exceeded')) {
|
||||
if (err && err.description && err.description.includes('ResizeObserver loop limit exceeded')) {
|
||||
// returning false here prevents Cypress from
|
||||
// failing the test
|
||||
console.log("Krill UI Test: Ignoring 'ResizeObserver loop limit exceeded' error")
|
||||
|
||||
Reference in New Issue
Block a user