Skip to content

Commit

Permalink
Fix review
Browse files Browse the repository at this point in the history
  • Loading branch information
nesrineabdmouleh committed Apr 22, 2024
1 parent 8c41535 commit 2ef6846
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,10 @@ describe('FO - Product page : Change quantity', async () => {
});

// @todo : https://github.com/PrestaShop/hummingbird/pull/600
it.skip('should set the quantity 0 and check that the add to cart button is disabled', async function () {
it('should set the quantity 0 and check that the add to cart button is disabled', async function () {
await testContext.addContextItem(this, 'testIdentifier', 'checkAddToCartButtonIsDisabled', baseContext);

this.skip();
await productPage.setQuantity(page, 0);

const isButtonDisabled = await productPage.isAddToCartButtonEnabled(page);
Expand Down Expand Up @@ -131,9 +132,10 @@ describe('FO - Product page : Change quantity', async () => {
});

// @todo : https://github.com/PrestaShop/hummingbird/pull/600
it.skip('should set \'-24\' in the quantity input', async function () {
it('should set \'-24\' in the quantity input', async function () {
await testContext.addContextItem(this, 'testIdentifier', 'updateQuantityByInput2', baseContext);

this.skip();
await productPage.setQuantity(page, '-24');

const isButtonDisabled = await productPage.isAddToCartButtonEnabled(page);
Expand Down

0 comments on commit 2ef6846

Please sign in to comment.