From c2ba56abd72cb9f4f809450053533fc34f32249e Mon Sep 17 00:00:00 2001 From: kielllll Date: Tue, 19 Nov 2024 15:22:34 +0800 Subject: [PATCH] fix: exclude to be refactored test --- .../confirmation-shortcode.test.js | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/tests/e2e/advanced-checks/confirmation-shortcode.test.js b/tests/e2e/advanced-checks/confirmation-shortcode.test.js index 42b8a4df7..4deb2e6a3 100644 --- a/tests/e2e/advanced-checks/confirmation-shortcode.test.js +++ b/tests/e2e/advanced-checks/confirmation-shortcode.test.js @@ -200,12 +200,14 @@ test( 'should check if the shortcode confirmation type REDIRECT download is work .ok(); } ); -test( 'reset/clean Page entry for the next test', async ( t ) => { - // Actions & Assertions - await page.navigatePage(); - await t - .hover( link( '#the-list', 'Test-page' ) ) - .click( page.trashLink ) - .expect( link( '#the-list', 'Test-page' ).exists ) - .notOk(); -} ); +// TODO: make these scenarios as part of the isolated test cases +// eslint-disable-next-line jest/no-commented-out-tests +// test( 'reset/clean Page entry for the next test', async ( t ) => { +// // Actions & Assertions +// await page.navigatePage(); +// await t +// .hover( link( '#the-list', 'Test-page' ) ) +// .click( page.trashLink ) +// .expect( link( '#the-list', 'Test-page' ).exists ) +// .notOk(); +// } );