[e2e tests] Stabilize product quick delete test (#45636)
This commit is contained in:
parent
a6500aa572
commit
13ac9141a1
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: dev
|
||||
|
||||
E2E tests: stabilize product quick delete test
|
|
@ -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 () => {
|
||||
|
|
Loading…
Reference in New Issue