diff --git a/packages/e2e-tests/specs/editor/various/links.test.js b/packages/e2e-tests/specs/editor/various/links.test.js index 65b44ea9164c9..9d8bddff952b6 100644 --- a/packages/e2e-tests/specs/editor/various/links.test.js +++ b/packages/e2e-tests/specs/editor/various/links.test.js @@ -130,7 +130,7 @@ describe( 'Links', () => { // Toggle should still have focus and be checked. await page.waitForSelector( - ':focus:checked.components-form-toggle__input' + ':focus:checked.components-checkbox-control__input' ); // Ensure that the contents of the post have not been changed, since at @@ -539,7 +539,9 @@ describe( 'Links', () => { // Confirm that focus was not prematurely returned to the paragraph on // a changing value of the setting. - await page.waitForSelector( ':focus.components-form-toggle__input' ); + await page.waitForSelector( + ':focus.components-checkbox-control__input' + ); // Submit link. Expect that "Open in new tab" would have been applied // immediately.