From 8830de1fa4a59ab0e1e12a61d1d2da094d1aebd2 Mon Sep 17 00:00:00 2001 From: Ron Rennick Date: Thu, 29 Oct 2020 09:17:35 -0300 Subject: [PATCH] use delete focus selector available on order edit --- tests/e2e/utils/src/page-utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' );