Make test more granular
This commit is contained in:
parent
6574db5c2c
commit
b195e354a2
|
@ -33,9 +33,12 @@ const runCartCalculateShippingTest = () => {
|
|||
beforeAll(async () => {
|
||||
await merchant.login();
|
||||
await createSimpleProduct(firstProductName);
|
||||
await merchant.openSettings('general');
|
||||
await createSimpleProduct(secondProductName, secondProductPrice);
|
||||
await merchant.openSettings('shipping');
|
||||
});
|
||||
|
||||
it('can remove the existing shippings if they are present', async () => {
|
||||
// Delete existing shipping zones.
|
||||
try {
|
||||
let zone = await page.$( '.wc-shipping-zone-delete' );
|
||||
|
|
Loading…
Reference in New Issue