Commit 8a7b86607c for woocommerce
commit 8a7b86607c32cc45bbc620511fa9b61ebd23ae6b
Author: Tung Du <dinhtungdu@gmail.com>
Date: Tue Jul 1 09:09:53 2025 +0700
E2E: fix the Product Editor flaky test by giving the CI more time to load attribute (#59260)
diff --git a/plugins/woocommerce/tests/e2e-pw/tests/product/block-editor/product-attributes-block-editor.spec.js b/plugins/woocommerce/tests/e2e-pw/tests/product/block-editor/product-attributes-block-editor.spec.js
index fa38fc0704..81e01fe08a 100644
--- a/plugins/woocommerce/tests/e2e-pw/tests/product/block-editor/product-attributes-block-editor.spec.js
+++ b/plugins/woocommerce/tests/e2e-pw/tests/product/block-editor/product-attributes-block-editor.spec.js
@@ -382,7 +382,7 @@ test(
page.locator(
`button[aria-label="Remove ${ attribute.options[ 0 ] }"]`
)
- ).toBeVisible( { timeout: 2000 } );
+ ).toBeVisible();
},
{
message: "wait for the attribute's terms to load",