diff --git a/README.md b/README.md index da9c300..0756219 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Replace WordPress default search with Google Custom Search results. **Requires at least:** 4.8 -**Tested up to:** 6.4.2 +**Tested up to:** 6.7.1` **License:** [GPLv2 or later](http://www.gnu.org/licenses/gpl-2.0.html) diff --git a/readme.txt b/readme.txt index f7c3361..d77fed6 100644 --- a/readme.txt +++ b/readme.txt @@ -3,7 +3,7 @@ Contributors: rtCamp, kiranpotphode, sh4lin Donate link: https://rtcamp.com/ Tags: google, search, cse, custom search engine, programmable search, programmable search engine, google cse, google custom search engine, google programmable search, google programmable search engine, google search Requires at least: 4.8 -Tested up to: 6.4.2 +Tested up to: 6.7.1 Stable tag: 1.1 Requires PHP: 7.4 License: GPLv2 or later diff --git a/tests/e2e-playwright/page/CommonFunction.js b/tests/e2e-playwright/page/CommonFunction.js index d07ee4a..8c391ca 100644 --- a/tests/e2e-playwright/page/CommonFunction.js +++ b/tests/e2e-playwright/page/CommonFunction.js @@ -34,7 +34,7 @@ export class commonFunction { await this.page.goto(WP_BASE_URL + "/?s=migration"); await this.page.waitForTimeout(8000); - expect(this.page.locator(".alignwide.wp-block-query-title")).toHaveText( + expect(this.page.locator(".wp-block-query-title")).toHaveText( "Search results for: “migration”" ); diff --git a/tests/e2e-playwright/specs/03_custom-search-test.spec.js b/tests/e2e-playwright/specs/03_custom-search-test.spec.js index 511e0f7..7b1b041 100644 --- a/tests/e2e-playwright/specs/03_custom-search-test.spec.js +++ b/tests/e2e-playwright/specs/03_custom-search-test.spec.js @@ -24,7 +24,7 @@ test.describe( "Validate the custom search", () => { // Expect the posts title. expect( - page.locator('role=link[name="Migrate from any CMS to WordPress"i]') + page.locator('h2.wp-block-post-title >> text=Migrate from any CMS to WordPress') ).toHaveText("Migrate from any CMS to WordPress"); }); });