From 32863c12e18e26f39a2840da4fb49a45947e9c9f Mon Sep 17 00:00:00 2001 From: Dave Ryan Date: Tue, 3 Sep 2024 15:00:50 -0700 Subject: [PATCH] fix: make sure tests can pass --- tests/cypress/integration/pages-and-posts.cy.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'); });