@@ -15,6 +15,8 @@ describe('Landing Page Tests', () => {
1515 } ) ;
1616
1717 it ( 'Should contain About Section' , ( ) => {
18+ cy . getTestData ( 'close-button' ) . click ( ) ;
19+ cy . wait ( 350 ) ;
1820 cy . getTestData ( 'about-section' ) . should ( 'be.visible' ) ;
1921 } ) ;
2022
@@ -30,6 +32,8 @@ describe('Landing Page Tests', () => {
3032 } ) ;
3133
3234 it ( 'Should contain Speakers section' , ( ) => {
35+ cy . getTestData ( 'close-button' ) . click ( ) ;
36+ cy . wait ( 350 ) ;
3337 if ( Array . isArray ( speakers ) && speakers . length > 0 ) {
3438 cy . getTestData ( 'sponsor-section' ) . should ( 'be.visible' ) ;
3539 } else {
@@ -40,14 +44,20 @@ describe('Landing Page Tests', () => {
4044 } ) ;
4145
4246 it ( 'Should contain Ticket section' , ( ) => {
47+ cy . getTestData ( 'close-button' ) . click ( ) ;
48+ cy . wait ( 350 ) ;
4349 cy . getTestData ( 'ticket-section' ) . should ( 'be.visible' ) ;
4450 } ) ;
4551
4652 it ( 'Should contain Sponsor component' , ( ) => {
53+ cy . getTestData ( 'close-button' ) . click ( ) ;
54+ cy . wait ( 350 ) ;
4755 cy . getTestData ( 'sponsor-section' ) . should ( 'be.visible' ) ;
4856 } ) ;
4957
5058 it ( 'Should contain logos in Sponsor component' , ( ) => {
59+ cy . getTestData ( 'close-button' ) . click ( ) ;
60+ cy . wait ( 350 ) ;
5161 const eventSponsors = cities [ 0 ] . sponsors . eventSponsors ;
5262
5363 eventSponsors . forEach ( ( sponsor ) => {
0 commit comments