From 9ad3bc49affa83f3eec8971e0422b054d1cfaae0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wesley=20Berr=C3=AAdo?= Date: Thu, 27 Jul 2023 09:26:42 -0300 Subject: [PATCH] Plugin Browse: Update e2e test to check URL with selected site (#79803) * Plugin Browse: Update e2e test to check URL with selected site * Remove the g flag from the regex --- test/e2e/specs/plugins/plugins__browse.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/test/e2e/specs/plugins/plugins__browse.ts b/test/e2e/specs/plugins/plugins__browse.ts index a7a0efdfee0c3f..454277be66eb0e 100644 --- a/test/e2e/specs/plugins/plugins__browse.ts +++ b/test/e2e/specs/plugins/plugins__browse.ts @@ -103,6 +103,7 @@ describe( DataHelper.createSuiteTitle( 'Plugins: Browse' ), function () { 'Search Engine Optimization', envVariables.VIEWPORT_NAME !== 'mobile' ? true : false ); + await page.waitForURL( new RegExp( `/plugins/browse/seo/${ siteUrl }$` ) ); } ); it.each( [ 'Yoast SEO' ] )(