@@ -134,26 +134,30 @@ describe('FlowFuse - Library', () => {
134134 interceptBlueprints ( multipleBlueprints )
135135
136136 cy . get ( '[data-el="ff-tab"]' ) . contains ( 'Blueprints' ) . click ( )
137- cy . get ( '[data-el="flow-view-dialog"]' ) . should ( 'exist' ) . should ( ' not.be.visible ')
137+ cy . get ( '[data-el="flow-view-dialog"]' ) . should ( 'not.exist ' )
138138
139139 cy . get ( '[data-el="1"]' ) . within ( ( ) => {
140- cy . get ( '[data-action="show-blueprint"]' ) . should ( 'exist' ) . should ( 'be.visible' ) . click ( )
141- cy . get ( '[data-el="flow-view-dialog"]' ) . should ( 'be.visible' )
142- cy . get ( '[data-action="dialog-confirm"]' ) . click ( )
143- cy . get ( '[data-el="flow-view-dialog"]' ) . should ( 'exist' ) . should ( 'not.be.visible' )
140+ cy . get ( '[data-action="show-blueprint"]' ) . should ( 'exist' ) . should ( 'exist' ) . click ( )
144141 } )
142+ cy . get ( '[data-el="flow-view-dialog"]' ) . should ( 'exist' )
143+ cy . get ( '[data-el="flow-view-dialog"] [data-action="dialog-confirm"]' ) . click ( )
144+ cy . get ( '[data-el="flow-view-dialog"]' ) . should ( 'not.exist' )
145+
145146 cy . get ( '[data-el="2"]' ) . within ( ( ) => {
146- cy . get ( '[data-action="show-blueprint"]' ) . should ( 'exist' ) . should ( 'be.visible' ) . click ( )
147- cy . get ( '[data-el="flow-view-dialog"]' ) . should ( 'be.visible' )
148- cy . get ( '[data-action="dialog-confirm"]' ) . click ( )
149- cy . get ( '[data-el="flow-view-dialog"]' ) . should ( 'exist' ) . should ( 'not.be.visible' )
147+ cy . get ( '[data-action="show-blueprint"]' ) . should ( 'exist' ) . should ( 'exist' ) . click ( )
150148 } )
149+ cy . get ( '[data-el="flow-view-dialog"]' ) . should ( 'exist' )
150+
151+ cy . get ( '[data-el="flow-view-dialog"] [data-action="dialog-confirm"]' ) . click ( )
152+ cy . get ( '[data-el="flow-view-dialog"]' ) . should ( 'not.exist' )
153+
151154 cy . get ( '[data-el="3"]' ) . within ( ( ) => {
152- cy . get ( '[data-action="show-blueprint"]' ) . should ( 'exist' ) . should ( 'be.visible' ) . click ( )
153- cy . get ( '[data-el="flow-view-dialog"]' ) . should ( 'be.visible' )
154- cy . get ( '[data-action="dialog-confirm"]' ) . click ( )
155- cy . get ( '[data-el="flow-view-dialog"]' ) . should ( 'exist' ) . should ( 'not.be.visible' )
155+ cy . get ( '[data-action="show-blueprint"]' ) . should ( 'exist' ) . should ( 'exist' ) . click ( )
156156 } )
157+
158+ cy . get ( '[data-el="flow-view-dialog"]' ) . should ( 'exist' )
159+ cy . get ( '[data-el="flow-view-dialog"] [data-action="dialog-confirm"]' ) . click ( )
160+ cy . get ( '[data-el="flow-view-dialog"]' ) . should ( 'not.exist' )
157161 } )
158162 } )
159163
0 commit comments