Skip to content

Commit

Permalink
Add some fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nesrineabdmouleh committed Oct 12, 2023
1 parent 90309ef commit f99258c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ describe('BO - Shop Parameters - Order Settings : Enable/Disable final summary',
await productPage.addProductToTheCart(page);

const notificationsNumber = await cartPage.getCartNotificationsNumber(page);
expect(notificationsNumber).to.be.equal(1);
expect(notificationsNumber).to.be.equal(index + 1);
});

it('should proceed to checkout and login', async function () {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ describe('BO - Shop Parameters - Order Settings : Enable/Disable guest checkout'
await productPage.addProductToTheCart(page);

const notificationsNumber = await cartPage.getCartNotificationsNumber(page);
expect(notificationsNumber).to.be.equal(1);
expect(notificationsNumber).to.be.equal(index + 1);
});

it('should check active link', async function () {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ describe('BO - Shop Parameters - Order Settings : Test minimum purchase total re
await productPage.addProductToTheCart(page);

const notificationsNumber = await cartPage.getCartNotificationsNumber(page);
expect(notificationsNumber).to.be.equal(1);
expect(notificationsNumber).to.be.equal(index + 1);
});

it('should verify the minimum purchase total value', async function () {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ describe('BO - Shop Parameters - Order Settings : Enable/Disable terms of servic
await productPage.addProductToTheCart(page);

const notificationsNumber = await cartPage.getCartNotificationsNumber(page);
expect(notificationsNumber).to.be.equal(1);
expect(notificationsNumber).to.be.equal(index + 1);
});

it('should proceed to checkout and go to deliveryStep', async function () {
Expand Down

0 comments on commit f99258c

Please sign in to comment.