Skip to content

Commit 1a0f1b8

Browse files
graph: fix e2e test on Firefox
1 parent 599e2cd commit 1a0f1b8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/e2e/specs/graph.cy.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,10 @@ describe('Graph View', () => {
5454
const el1 = $el[0]
5555
const matrix1 = el1.transform.baseVal[0].matrix
5656
for (const el2 of $list) {
57-
const matrix2 = el2.transform.baseVal[0].matrix
58-
expect(matrix1).to.not.equal(matrix2)
57+
if (el1 !== el2) {
58+
const matrix2 = el2.transform.baseVal[0].matrix
59+
expect(matrix1).to.not.equal(matrix2)
60+
}
5961
}
6062
})
6163

0 commit comments

Comments
 (0)