[e2e tests] Fix flaky product images test: can update a product gallery (#51263)
This commit is contained in:
parent
cf4f76ecfb
commit
70716d1a6a
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: dev
|
||||
|
||||
|
|
@ -280,6 +280,12 @@ test.describe(
|
|||
const imageSelector = '#product_images_container img';
|
||||
imagesCount = await page.locator( imageSelector ).count();
|
||||
|
||||
await page
|
||||
.getByRole( 'link', {
|
||||
name: 'Add product gallery images',
|
||||
} )
|
||||
.scrollIntoViewIfNeeded();
|
||||
|
||||
await page.locator( imageSelector ).first().hover();
|
||||
await page.getByRole( 'link', { name: ' Delete' } ).click();
|
||||
|
||||
|
|
Loading…
Reference in New Issue