Skip to content

Commit

Permalink
fixing cypress test error
Browse files Browse the repository at this point in the history
  • Loading branch information
ramyakrishnai committed Apr 18, 2024
1 parent 95c8905 commit 4d4fc65
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions tests/cypress/integration/pagesAndPosts.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,7 @@ describe( 'Pages & Posts', function () {
);
cy.go( 'back' );
} else {
cy.get( '.wppbh-app-bookings' )
.findByText( 'Bookings & Appointments' )
.should( 'not.exist' );
cy.findByText( 'Bookings & Appointments' ).should( 'not.exist' );
}
} );

Expand All @@ -109,9 +107,7 @@ describe( 'Pages & Posts', function () {
cy.url().should( 'include', 'post-new.php?post_type=product' );
cy.go( 'back' );
} else {
cy.get( '.wppbh-app-products' )
.findByText( 'Products' )
.should( 'not.exist' );
cy.findByText( 'Products' ).should( 'not.exist' );
}
} );
} );

0 comments on commit 4d4fc65

Please sign in to comment.