I am running my cypress test and I am trying to assert this, but the test is failing because of the HTML Non-breaking spaces
cy.get('h3').should('contain.text', `Allocations for ${name}, ${role}`);
Here is the Error am getting in cypress
assertexpected
<h3>
to contain text ‘Allocations for Me, Hello -IN-8464, Business Analyst’, but the text was ‘ Allocations for me, Hello, A Business Analyst
1