diff --git a/src/index.js b/src/index.js index b48450a..cbe20ef 100644 --- a/src/index.js +++ b/src/index.js @@ -37,7 +37,7 @@ function createQuery(queryName, implementationName) { Cypress.log({ name: queryName, type: - this.get('prev').get('chainerId') === this.get('chainerId') + this.get('prev')?.get('chainerId') === this.get('chainerId') ? 'child' : 'parent', message: inputArr,