[e2e tests] Stabilize product quick delete test (#45636)

This commit is contained in:
Adrian Moldovan 2024-03-20 15:59:48 +02:00 committed by GitHub
parent a6500aa572
commit 13ac9141a1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 1 deletions

View File

@ -0,0 +1,4 @@
Significance: patch
Type: dev
E2E tests: stabilize product quick delete test

View File

@ -70,7 +70,9 @@ baseTest.describe( 'Products > Delete Product', () => {
product,
} ) => {
await test.step( 'Navigate to products list page', async () => {
await page.goto( `wp-admin/edit.php?post_type=product` );
await page.goto(
`wp-admin/edit.php?post_type=product&s=${ product.name }`
);
} );
await test.step( 'Move product to trash', async () => {