I'm facing a weird issue after upgrading from magento 2.2.3 to 2.3.3.
When adding to cart from product page, I've enabled setting After Adding a Product Redirect to Shopping Cart to Yes.
After the product is added to cart, under function Magento_Catalog/js/catalog-add-to-cart::ajaxComplete doesn't go to success, while it goes to error.
The data coming under res.responseText has string with value "cart add{"backUrl":"https://m232.test/checkout/cart/"}".
I'm guessing that's due to the invalid response I got because cart add is added to the response but not sure how. Has anyone faced the same issue?