@@ -95,7 +95,7 @@ describe('Open custom images list in viewer', function() {
9595 } )
9696
9797 it ( 'See the menu icon and title on the viewer header' , function ( ) {
98- cy . get ( 'body > .viewer .modal-name ' ) . should ( 'contain' , 'image1.jpg' )
98+ cy . get ( 'body > .viewer .modal-header__name ' ) . should ( 'contain' , 'image1.jpg' )
9999 cy . get ( 'body > .viewer .modal-header button.action-item__menutoggle' ) . should ( 'be.visible' )
100100 cy . get ( 'body > .viewer .modal-header button.header-close' ) . should ( 'be.visible' )
101101 } )
@@ -134,7 +134,7 @@ describe('Open custom images list in viewer', function() {
134134 } )
135135
136136 it ( 'See the menu icon and title on the viewer header' , function ( ) {
137- cy . get ( 'body > .viewer .modal-name ' ) . should ( 'contain' , 'image3.jpg' )
137+ cy . get ( 'body > .viewer .modal-header__name ' ) . should ( 'contain' , 'image3.jpg' )
138138 cy . get ( 'body > .viewer .modal-header button.action-item__menutoggle' ) . should ( 'be.visible' )
139139 cy . get ( 'body > .viewer .modal-header button.header-close' ) . should ( 'be.visible' )
140140 } )
@@ -160,7 +160,7 @@ describe('Open custom images list in viewer', function() {
160160 } )
161161
162162 it ( 'See the menu icon and title on the viewer header' , function ( ) {
163- cy . get ( 'body > .viewer .modal-name ' ) . should ( 'contain' , 'image1.jpg' )
163+ cy . get ( 'body > .viewer .modal-header__name ' ) . should ( 'contain' , 'image1.jpg' )
164164 cy . get ( 'body > .viewer .modal-header button.action-item__menutoggle' ) . should ( 'be.visible' )
165165 cy . get ( 'body > .viewer .modal-header button.header-close' ) . should ( 'be.visible' )
166166 } )
0 commit comments