diff --git a/src/app/pages/pages-and-posts/blogPosts.js b/src/app/pages/pages-and-posts/blogPosts.js
index fe0920101..0a148b765 100644
--- a/src/app/pages/pages-and-posts/blogPosts.js
+++ b/src/app/pages/pages-and-posts/blogPosts.js
@@ -38,7 +38,7 @@ const BlogPosts = () => {
{ __( 'View all', 'wp-plugin-bluehost' ) }
-
+
diff --git a/src/app/pages/pages-and-posts/sitePages.js b/src/app/pages/pages-and-posts/sitePages.js
index b2cbe38e1..e0c680251 100644
--- a/src/app/pages/pages-and-posts/sitePages.js
+++ b/src/app/pages/pages-and-posts/sitePages.js
@@ -38,7 +38,7 @@ const SitePages = () => {
{ __( 'View all', 'wp-plugin-bluehost' ) }
-
+
diff --git a/tests/cypress/integration/pages-and-posts.cy.js b/tests/cypress/integration/pages-and-posts.cy.js
index dbc0c5ddf..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="post-new.php?post_type=page"] Button')
+ .find('a[href="post-new.php?post_type=page&wb-library=patterns&wb-category=features"] Button')
.click();
- cy.url().should('include', 'post-new.php?post_type=page');
+ cy.url().should('include', 'post-new.php?post_type=page&wb-library=patterns&wb-category=features');
cy.go('back');
});
@@ -48,9 +48,9 @@ describe('Pages & Posts', function () {
cy.go('back');
cy.get('.wppbh-app-blog-posts')
- .get('a[href="post-new.php"] Button')
+ .get('a[href="post-new.php?wb-library=patterns&wb-category=text"] Button')
.click();
- cy.url().should('include', 'post-new.php');
+ cy.url().should('include', 'post-new.php?wb-library=patterns&wb-category=text');
cy.go('back');
});