From 399c8f005b45fcb074e93ebf8b18181de9ac6a80 Mon Sep 17 00:00:00 2001 From: moklick Date: Sat, 24 Apr 2021 15:56:45 +0200 Subject: [PATCH] test(interaction): use new edge pointer events rule --- cypress/integration/flow/interaction.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/integration/flow/interaction.spec.js b/cypress/integration/flow/interaction.spec.js index f8a1b734..0c695924 100644 --- a/cypress/integration/flow/interaction.spec.js +++ b/cypress/integration/flow/interaction.spec.js @@ -31,7 +31,7 @@ describe('Interaction Flow Rendering', () => { it('allows edge clicks when enabled', () => { const pointerEvents = Cypress.$('.react-flow__edge:first').css('pointer-events'); - expect(pointerEvents).to.equal('all'); + expect(pointerEvents.toLowerCase()).to.equal('visiblestroke'); }); it('tries to do a selection', () => {