Fix flaky filling product price in merchant/products/block-editor/create-variable-product-block-editor.spec.js (#48276)

* Fix flaky filling product price

* Add changelog
This commit is contained in:
Veljko V 2024-06-07 18:18:27 +02:00 committed by GitHub
parent a5bbf14e6f
commit 31e8b6cc6b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 9 additions and 1 deletions

View File

@ -0,0 +1,4 @@
Significance: patch
Type: dev
E2E tests: fixing flaky merchant create variable product test

View File

@ -234,7 +234,11 @@ test.describe( 'Variations tab', () => {
await page
.getByLabel( 'Regular price', { exact: true } )
.fill( '100' );
.waitFor( { state: 'visible' } );
await page
.getByLabel( 'Regular price', { exact: true } )
.pressSequentially( '100' );
await page
.locator( '.woocommerce-product-tabs' )