@@ -74,6 +74,7 @@ module.exports = {
7474 console . log ( 'response' , typeof response )
7575 this . assert . cssClassPresent ( '/html/body' , 'sidebar-minimized' )
7676 this . assert . cssClassPresent ( '/html/body' , 'brand-minimized' )
77+ this . pause ( 500 )
7778 this . assert . cssProperty ( "/html/body/div/div/main" , "margin-left" , "50px" ) ;
7879 } )
7980 . pause ( 500 )
@@ -92,6 +93,7 @@ module.exports = {
9293 . click ( '/html/body/div/header/button[1]' , function ( response ) {
9394 console . log ( 'response' , typeof response )
9495 this . assert . cssClassPresent ( '/html/body' , 'sidebar-show' )
96+ this . pause ( 500 )
9597 this . assert . cssProperty ( "/html/body/div/div/main" , "margin-left" , "200px" ) ;
9698 } )
9799
@@ -111,6 +113,12 @@ module.exports = {
111113 this . assert . cssClassPresent ( '/html/body' , 'sidebar-show' )
112114 this . assert . cssProperty ( "/html/body/div/div/main" , "margin-left" , "0px" ) ;
113115 } )
116+ . pause ( 500 )
117+ . click ( '/html/body/div/div/main' , function ( response ) {
118+ console . log ( 'response' , typeof response )
119+ this . assert . cssClassNotPresent ( '/html/body' , 'sidebar-show' )
120+ this . assert . cssProperty ( "/html/body/div/div/main" , "margin-left" , "0px" ) ;
121+ } )
114122
115123 browser
116124 . pause ( 5000 )
0 commit comments