Skip to content

Commit

Permalink
Plugin Browse: Update e2e test to check URL with selected site (Autom…
Browse files Browse the repository at this point in the history
…attic#79803)

* Plugin Browse: Update e2e test to check URL with selected site

* Remove the g flag from the regex
  • Loading branch information
WBerredo authored Jul 27, 2023
1 parent 0c27453 commit 9ad3bc4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/e2e/specs/plugins/plugins__browse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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' ] )(
Expand Down

0 comments on commit 9ad3bc4

Please sign in to comment.