diff --git a/tests/e2e/utils/src/page-utils.js b/tests/e2e/utils/src/page-utils.js index 0bd956ee47a..00b48dc54ae 100644 --- a/tests/e2e/utils/src/page-utils.js +++ b/tests/e2e/utils/src/page-utils.js @@ -110,7 +110,7 @@ const verifyPublishAndTrash = async ( button, publishNotice, publishVerification } // Trash - await page.focus( '#submitdiv' ); + await page.focus( 'a.submitdelete' ); await expect( page ).toClick( 'a.submitdelete' ); await page.waitForSelector( '#message' );