Skip to content

Commit

Permalink
fix: make sure tests can pass
Browse files Browse the repository at this point in the history
  • Loading branch information
0aveRyan committed Sep 3, 2024
1 parent 88fa4f3 commit 32863c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/cypress/integration/pages-and-posts.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ describe('Pages & Posts', function () {
cy.go('back');

cy.get('.wppbh-app-site-page')
.find('a[href="wp-admin/post-new.php?post_type=page&wb-library=patterns&wb-category=features"] Button')
.find('a[href="post-new.php?post_type=page&wb-library=patterns&wb-category=features"] Button')
.click();
cy.url().should('include', 'wp-admin/post-new.php?post_type=page&wb-library=patterns&wb-category=features');
cy.url().should('include', 'post-new.php?post_type=page&wb-library=patterns&wb-category=features');
cy.go('back');
});

Expand Down

0 comments on commit 32863c1

Please sign in to comment.