@@ -69,7 +69,7 @@ describe('Open the sidebar', function() {
6969
7070 it ( 'See the menu icon and title on the viewer header' , function ( ) {
7171 cy . get ( '#viewer-content .modal-title' ) . should ( 'contain' , 'image1.jpg' )
72- cy . get ( '#viewer-content .modal-header button.icon-menu-sidebar -white-forced' ) . should ( 'be.visible' )
72+ cy . get ( '#viewer-content .modal-header button.icon-info -white-forced' ) . should ( 'be.visible' )
7373 cy . get ( '#viewer-content .modal-header button.icon-close' ) . should ( 'be.visible' )
7474 } )
7575
@@ -78,10 +78,10 @@ describe('Open the sidebar', function() {
7878 } )
7979
8080 it ( 'Open the sidebar' , function ( ) {
81- cy . get ( '#viewer-content .modal-header button.icon-menu-sidebar -white-forced' ) . click ( )
81+ cy . get ( '#viewer-content .modal-header button.icon-info -white-forced' ) . click ( )
8282 cy . get ( 'aside#app-sidebar' ) . should ( 'be.visible' )
8383 // we hide the sidebar button if opened
84- cy . get ( '#viewer-content .modal-header button.icon-menu-sidebar -white-forced' ) . should ( 'not.be.visible' )
84+ cy . get ( '#viewer-content .modal-header button.icon-info -white-forced' ) . should ( 'not.be.visible' )
8585 // check the sidebar is opened for the correct file
8686 cy . get ( 'aside#app-sidebar .app-sidebar-header .app-sidebar-header__title' ) . should ( 'contain' , 'image1.jpg' )
8787 // check we indeed have a preview
@@ -141,7 +141,7 @@ describe('Open the sidebar', function() {
141141 it ( 'Close the sidebar' , function ( ) {
142142 cy . get ( 'aside#app-sidebar .app-sidebar-header .app-sidebar__close' ) . click ( )
143143 cy . get ( 'aside#app-sidebar' ) . should ( 'not.be.visible' )
144- cy . get ( '#viewer-content .modal-header button.icon-menu-sidebar -white-forced' ) . should ( 'be.visible' )
144+ cy . get ( '#viewer-content .modal-header button.icon-info -white-forced' ) . should ( 'be.visible' )
145145 } )
146146
147147 it ( 'Open the viewer with the sidebar open' , function ( ) {
@@ -161,7 +161,7 @@ describe('Open the sidebar', function() {
161161 // close the sidebar again
162162 cy . get ( 'aside#app-sidebar .app-sidebar-header .app-sidebar__close' ) . click ( )
163163 cy . get ( 'aside#app-sidebar' ) . should ( 'not.be.visible' )
164- cy . get ( '#viewer-content .modal-header button.icon-menu-sidebar -white-forced' ) . should ( 'be.visible' )
164+ cy . get ( '#viewer-content .modal-header button.icon-info -white-forced' ) . should ( 'be.visible' )
165165 } )
166166
167167 it ( 'Does not have any visual regression 5' , function ( ) {
0 commit comments