Files
mattermost/e2e/cypress/patches/@testing-library+cypress+9.0.0.patch
Saturnino Abril be3c679cfd E2E folder structure for mono-repo (#22525)
* move e2e to root folder, add playbooks to e2e/cypress

* add e2e ci workflow, clean up dep and update playwright readme

* fix elasticsearch tests

* update default roles and enable app bar
2023-03-17 10:11:04 -04:00

14 lines
750 B
Diff

diff --git a/node_modules/@testing-library/cypress/dist/index.js b/node_modules/@testing-library/cypress/dist/index.js
index 9a03c94..b2d3aac 100644
--- a/node_modules/@testing-library/cypress/dist/index.js
+++ b/node_modules/@testing-library/cypress/dist/index.js
@@ -38,7 +38,7 @@ function createQuery(queryName, implementationName) {
};
const log = options.log !== false && Cypress.log({
name: queryName,
- type: this.get('prev').get('chainerId') === this.get('chainerId') ? 'child' : 'parent',
+ type: this.get('prev') && this.get('prev').get('chainerId') === this.get('chainerId') ? 'child' : 'parent',
message: inputArr,
timeout: options.timeout,
consoleProps: () => consoleProps