@@ -14,30 +14,40 @@ describe('Application settings page - site header section', function () {
1414 myEformsPage . Navbar . goToApplicationSettings ( ) ;
1515 applicationSettingsPage . SiteHeader . mainTextInput . setValue ( ApplicationSettingsConstants . SiteHeader . customMainText ) ;
1616 applicationSettingsPage . save ( ) ;
17+ browser . refresh ( ) ;
18+ browser . pause ( 8000 ) ;
1719 expect ( applicationSettingsPage . siteHeaderMainText . getText ( ) ,
1820 'Error while editing site header main text' ) . equal ( ApplicationSettingsConstants . SiteHeader . customMainText ) ;
1921 } ) ;
2022 it ( 'should change secondary text' , function ( ) {
2123 applicationSettingsPage . SiteHeader . secondaryTextInput . setValue ( ApplicationSettingsConstants . SiteHeader . customSecondaryText ) ;
2224 applicationSettingsPage . save ( ) ;
25+ browser . refresh ( ) ;
26+ browser . pause ( 8000 ) ;
2327 expect ( applicationSettingsPage . siteHeaderSecondaryText . getText ( ) ,
2428 'Error while editing site header secondary text' ) . equal ( ApplicationSettingsConstants . SiteHeader . customSecondaryText ) ;
2529 } ) ;
2630 it ( 'should hide main text' , function ( ) {
2731 applicationSettingsPage . SiteHeader . mainTextVisibilityToggleBtn . click ( ) ;
2832 applicationSettingsPage . save ( ) ;
33+ browser . refresh ( ) ;
34+ browser . pause ( 8000 ) ;
2935 expect ( applicationSettingsPage . siteHeaderMainText . isVisible ( ) ,
3036 'Error while hiding site header main text' ) . equal ( false ) ;
3137 } ) ;
3238 it ( 'should hide secondary text' , function ( ) {
3339 applicationSettingsPage . SiteHeader . secondaryTextVisibilityToggleBtn . click ( ) ;
3440 applicationSettingsPage . save ( ) ;
41+ browser . refresh ( ) ;
42+ browser . pause ( 8000 ) ;
3543 expect ( applicationSettingsPage . siteHeaderSecondaryText . isVisible ( ) ,
3644 'Error while hiding site header secondary text' ) . equal ( false ) ;
3745 } ) ;
3846 it ( 'should hide image' , function ( ) {
3947 applicationSettingsPage . SiteHeader . imageVisibilityToggler . click ( ) ;
4048 applicationSettingsPage . save ( ) ;
49+ browser . refresh ( ) ;
50+ browser . pause ( 8000 ) ;
4151 expect ( applicationSettingsPage . siteHeaderImage . isVisible ( ) ,
4252 'Error while hiding site header image' ) . equal ( false ) ;
4353 } ) ;
0 commit comments