diff --git a/modules/apps/commerce/commerce-frontend-js/test/components/AddToCart/AddToCart.js b/modules/apps/commerce/commerce-frontend-js/test/components/AddToCart/AddToCart.js index ec080c4603e6df..eefe5a0f0bdae4 100644 --- a/modules/apps/commerce/commerce-frontend-js/test/components/AddToCart/AddToCart.js +++ b/modules/apps/commerce/commerce-frontend-js/test/components/AddToCart/AddToCart.js @@ -66,24 +66,5 @@ describe('AddToCart', () => { expect(QuantitySelectorInputElement).toBeInTheDocument(); expect(AddToCartButtonElement).toBeInTheDocument(); }); - - xit('renders a Button alone if no quantity settings are provided', () => { - const props = { - ...INITIAL_PROPS, - settings: { - withQuantity: false, - }, - }; - - const {container} = render(); - - const QuantitySelectorSelectElement = container.querySelector( - 'input' - ); - const AddToCartButtonElement = container.querySelector('button'); - - expect(QuantitySelectorSelectElement).not.toBeInTheDocument(); - expect(AddToCartButtonElement).toBeInTheDocument(); - }); }); });