Hi,
When looking at the cart, are you using the correct user account for that cart ?
We have the code:
$hasAccess = $this->cartVal->user_id == $userCurrent || $this->cartVal->session_id == $session->getId();
Which check if the current logged in user is the one who own the cart. If not, so no delete button displayed.
So in your case, it is an issue due to the used account, maybe not the correct one, or a session_id issue.
If you try to add the code:
after the previous given code, is the delete button displayed ?