tests: update edges tests

This commit is contained in:
braks
2023-05-25 20:48:26 +02:00
committed by Braks
parent 4421ad0ee7
commit 3a1b0ab78b
8 changed files with 80 additions and 33 deletions
@@ -36,14 +36,10 @@ describe('Store Action: `removeSelectedEdges`', () => {
if (index >= randomNumber2 && index < randomNumber) {
expect(!!storedEdge?.selected).to.eq(true)
cy.tryAssertion(() => {
expect(edge).to.have.class('selected')
})
expect(edge).to.have.class('selected')
} else {
expect(!!storedEdge?.selected).to.eq(false)
cy.tryAssertion(() => {
expect(edge).to.not.have.class('selected')
})
expect(edge).to.not.have.class('selected')
}
})
})