E2E: remove UI check when creating attribute global terms (#48934)
* do not wait for the `is-validating` state * changelog * not only this test
This commit is contained in:
parent
f85a7ba3d4
commit
603e774188
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: update
|
||||
|
||||
E2E: remove UI check when creating attribute global terms
|
|
@ -163,17 +163,6 @@ test.describe( 'Variations tab', { tag: '@gutenberg' }, () => {
|
|||
term.name
|
||||
);
|
||||
|
||||
/*
|
||||
* Check the option being added to the list,
|
||||
* by checking the token with validating state.
|
||||
*/
|
||||
const newValidatingTokenLocator =
|
||||
FormTokenFieldLocator.locator( '.is-validating' );
|
||||
|
||||
await newValidatingTokenLocator.waitFor( {
|
||||
state: 'visible',
|
||||
} );
|
||||
|
||||
/*
|
||||
* Wait for the async POST request
|
||||
* that creates the new attribute term to finish.
|
||||
|
@ -190,9 +179,6 @@ test.describe( 'Variations tab', { tag: '@gutenberg' }, () => {
|
|||
} );
|
||||
}
|
||||
|
||||
// Wait for the last term to be validated/added
|
||||
await expect( page.locator( '.is-validating' ) ).toBeHidden();
|
||||
|
||||
await page
|
||||
.locator( '.woocommerce-new-attribute-modal__buttons' )
|
||||
.getByRole( 'button', {
|
||||
|
|
Loading…
Reference in New Issue