test(interaction): zoom out before check double click zoom

This commit is contained in:
moklick
2020-11-05 15:27:56 +01:00
parent 84334e4b32
commit 4a49149aee

View File

@@ -135,6 +135,7 @@ describe('Interaction Flow Rendering', () => {
});
it('zooms by double click', () => {
cy.get('.react-flow__controls-zoomout').click();
const styleBeforeZoom = Cypress.$('.react-flow__nodes').css('transform');
cy.get('.react-flow__renderer')