[e2e test] Fix strict mode violation in delete variation test (#50838)
This commit is contained in:
parent
7dd2f11805
commit
cb9912bcf4
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: dev
|
||||
|
||||
|
|
@ -368,7 +368,9 @@ test.describe( 'Variations tab', { tag: '@gutenberg' }, () => {
|
|||
await page.getByLabel( 'Delete variation' ).click();
|
||||
|
||||
await expect(
|
||||
page.getByText( '1 variation deleted.' )
|
||||
page
|
||||
.getByLabel( 'Dismiss this notice' )
|
||||
.getByText( '1 variation deleted.' )
|
||||
).toBeVisible();
|
||||
|
||||
await page.waitForSelector(
|
||||
|
|
Loading…
Reference in New Issue