tests: update nodes tests
This commit is contained in:
@@ -36,14 +36,10 @@ describe('Store Action: `removeSelectedNodes`', () => {
|
||||
|
||||
if (index >= randomNumber2 && index < randomNumber) {
|
||||
expect(!!storedNode?.selected).to.eq(true)
|
||||
cy.tryAssertion(() => {
|
||||
expect(node).to.have.class('selected')
|
||||
})
|
||||
expect(node).to.have.class('selected')
|
||||
} else {
|
||||
expect(!!storedNode?.selected).to.eq(false)
|
||||
cy.tryAssertion(() => {
|
||||
expect(node).to.not.have.class('selected')
|
||||
})
|
||||
expect(node).to.not.have.class('selected')
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user