Skip to content

Commit 04eb9bd

Browse files
authored
Merge pull request ABI-Software#431 from alan-wu/offscreen-testing
Ignore an error message.
2 parents 52632f9 + ae5d20d commit 04eb9bd

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

cypress/component/MapContent.cy.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,6 @@ describe('MapContent', () => {
8484
Cypress.on('uncaught:exception', (err) => {
8585
// returning false here prevents Cypress from
8686
// failing the test
87-
if (err.message.includes("this.facets.at is not a function"))
88-
return false
8987
if (err.message.includes("this.$refs.sideBar.closeConnectivity is not a function"))
9088
return false
9189
if (err.message.includes("Cannot read properties of undefined (reading 'left')"))
@@ -104,6 +102,9 @@ describe('MapContent', () => {
104102
if (err.message.includes("Cannot read properties of null (reading 'id')")) {
105103
return false
106104
}
105+
if (err.message.includes("$el.css is not a function")) {
106+
return false
107+
}
107108
return true
108109
})
109110

0 commit comments

Comments
 (0)