Removed unnecessary merchant logouts based on PR comment

This commit is contained in:
del 2021-05-20 18:14:10 +08:00
parent ab9532c81b
commit e7b8591d5c
2 changed files with 0 additions and 2 deletions

View File

@ -18,7 +18,6 @@ const runMyAccountPayOrderTest = () => {
describe('Customer can pay for their order through My Account', () => {
beforeAll(async () => {
simplePostIdValue = await createSimpleProduct();
await merchant.logout();
await shopper.login();
await shopper.goToProduct(simplePostIdValue);
await shopper.addToCart(simpleProductName);

View File

@ -21,7 +21,6 @@ const runSingleProductPageTest = () => {
describe('Single Product Page', () => {
beforeAll(async () => {
simplePostIdValue = await createSimpleProduct();
await merchant.logout();
});
it('should be able to add simple products to the cart', async () => {