fix e2e shopper tests

This commit is contained in:
paul sealock 2023-11-16 16:27:29 +13:00
parent 45bd173551
commit c4f45e3eaa
2 changed files with 6 additions and 0 deletions

View File

@ -679,6 +679,9 @@ test.describe( 'Shipping Cart Block Tax', () => {
await api
.post( `shipping/zones/${ shippingZoneId }/methods`, {
method_id: 'flat_rate',
settings: {
title: 'Flat rate',
},
} )
.then( ( response ) => {
shippingMethodId = response.data.id;

View File

@ -612,6 +612,9 @@ test.describe.serial( 'Shipping Tax', () => {
} );
await api.post( `shipping/zones/${ shippingZoneId }/methods`, {
method_id: 'flat_rate',
settings: {
title: 'Flat rate',
},
} )
.then( ( response ) => {
shippingMethodId = response.data.id;