File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
packages/reporter/cypress/e2e Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -367,13 +367,9 @@ describe('studio controls', () => {
367
367
it ( 'is visible without save and copy button if test was skipped' , ( ) => {
368
368
cy . contains ( 'nested suite 1' )
369
369
. parents ( '.collapsible' ) . first ( )
370
- . contains ( 'test 1' ) . click ( )
370
+ . contains ( 'test 1' ) . should ( 'have.css' , 'pointer-events' , 'none' )
371
371
. parents ( '.collapsible' ) . first ( ) . scrollIntoView ( )
372
- . find ( '.studio-controls' ) . as ( 'pendingControls' )
373
- . should ( 'be.visible' )
374
-
375
- cy . get ( '@pendingControls' ) . find ( '.studio-save' ) . should ( 'not.be.visible' )
376
- cy . get ( '@pendingControls' ) . find ( '.studio-copy' ) . should ( 'not.be.visible' )
372
+ . find ( '.studio-controls' ) . should ( 'not.exist' )
377
373
} )
378
374
379
375
it ( 'is not visible while test is running' , ( ) => {
You can’t perform that action at this time.
0 commit comments