Awaited shopper.logout()

This commit is contained in:
jamelreid 2021-12-06 12:56:56 -05:00
parent 313d40d396
commit 76548b872c
5 changed files with 5 additions and 5 deletions

View File

@ -40,7 +40,7 @@ const runAddNewShippingZoneTest = () => {
});
afterAll( async () => {
shopper.logout();
await shopper.logout();
} );
it('add shipping zone for San Francisco with free Local pickup', async () => {

View File

@ -26,7 +26,7 @@ const runMyAccountCreateAccountTest = () => {
});
afterAll( async () => {
shopper.logout();
await shopper.logout();
} );
it('can create a new account via my account', async () => {

View File

@ -35,7 +35,7 @@ const runMyAccountPayOrderTest = () => {
});
afterAll( async () => {
shopper.logout();
await shopper.logout();
} );
it('allows customer to pay for their order in My Account', async () => {

View File

@ -16,7 +16,7 @@ const pages = [
const runMyAccountPageTest = () => {
describe('My account page', () => {
afterAll( async () => {
shopper.logout();
await shopper.logout();
} );
it('allows customer to login', async () => {

View File

@ -37,7 +37,7 @@ const runOrderEmailReceivingTest = () => {
});
afterAll( async () => {
shopper.logout();
await shopper.logout();
} );
it('should receive order email after purchasing an item', async () => {