diff --git a/plugins/woocommerce/changelog/e2e-fix-product-list-quick-actions b/plugins/woocommerce/changelog/e2e-fix-product-list-quick-actions new file mode 100644 index 000000000000..9c6a2c5a469d --- /dev/null +++ b/plugins/woocommerce/changelog/e2e-fix-product-list-quick-actions @@ -0,0 +1,4 @@ +Significance: patch +Type: dev + +E2E tests: fix issues with quick actions in products list diff --git a/plugins/woocommerce/tests/e2e-pw/tests/merchant/product-delete.spec.js b/plugins/woocommerce/tests/e2e-pw/tests/merchant/product-delete.spec.js index e36bd47f9fc6..8af207910cc6 100644 --- a/plugins/woocommerce/tests/e2e-pw/tests/merchant/product-delete.spec.js +++ b/plugins/woocommerce/tests/e2e-pw/tests/merchant/product-delete.spec.js @@ -25,6 +25,14 @@ baseTest.describe( 'Products > Delete Product', () => { } ); } }, + page: async ( { page, wcAdminApi }, use ) => { + // Disable the task list reminder bar, it can interfere with the quick actions + await wcAdminApi.post( 'options', { + woocommerce_task_list_reminder_bar_hidden: 'yes', + } ); + + await use( page ); + }, } ); test( 'can delete a product from edit view', async ( {