@@ -74,6 +74,7 @@ module.exports = {
74
74
console . log ( 'response' , typeof response )
75
75
this . assert . cssClassPresent ( '/html/body' , 'sidebar-minimized' )
76
76
this . assert . cssClassPresent ( '/html/body' , 'brand-minimized' )
77
+ this . pause ( 500 )
77
78
this . assert . cssProperty ( "/html/body/div/div/main" , "margin-left" , "50px" ) ;
78
79
} )
79
80
. pause ( 500 )
@@ -92,6 +93,7 @@ module.exports = {
92
93
. click ( '/html/body/div/header/button[1]' , function ( response ) {
93
94
console . log ( 'response' , typeof response )
94
95
this . assert . cssClassPresent ( '/html/body' , 'sidebar-show' )
96
+ this . pause ( 500 )
95
97
this . assert . cssProperty ( "/html/body/div/div/main" , "margin-left" , "200px" ) ;
96
98
} )
97
99
@@ -111,6 +113,12 @@ module.exports = {
111
113
this . assert . cssClassPresent ( '/html/body' , 'sidebar-show' )
112
114
this . assert . cssProperty ( "/html/body/div/div/main" , "margin-left" , "0px" ) ;
113
115
} )
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
+ } )
114
122
115
123
browser
116
124
. pause ( 5000 )
0 commit comments