diff --git a/tests/cypress/integration/pages-and-posts.cy.js b/tests/cypress/integration/pages-and-posts.cy.js index d5d7d6b9f..de293bbc0 100644 --- a/tests/cypress/integration/pages-and-posts.cy.js +++ b/tests/cypress/integration/pages-and-posts.cy.js @@ -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'); });