Add deleting email logs if any
This commit is contained in:
parent
950d08b7a5
commit
5c633e1c3b
|
@ -7,6 +7,7 @@
|
|||
merchant,
|
||||
createSimpleProduct,
|
||||
uiUnblocked,
|
||||
deleteAllEmailLogs,
|
||||
} = require( '@woocommerce/e2e-utils' );
|
||||
|
||||
let simplePostIdValue;
|
||||
|
@ -29,6 +30,7 @@ const runOrderEmailReceivingTest = () => {
|
|||
describe('Shopper Order Email Receiving', () => {
|
||||
beforeAll(async () => {
|
||||
await merchant.login();
|
||||
await deleteAllEmailLogs();
|
||||
simplePostIdValue = await createSimpleProduct();
|
||||
await merchant.logout();
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue