I want to remove mini cart page.

I am not sure if this approach would work well. For example, take the case where the addToCart() function fails. In this case, using Promise.all(), wixLocation.tio() is going to run and the user will get redirected even though the addToCart() function failed. So, this approach would leave no space for error handling.