cypress chai exclude spectial char when asserting

Solutions on MaxInterview for cypress chai exclude spectial char when asserting by the best coders in the world

showing results for - "cypress chai exclude spectial char when asserting"
Emiliano
24 Jun 2016
1cy.get('.c-ledger__row-amount')
2  .invoke('text')
3  .invoke('replace', /\u00a0/g, ' ')
4  .should('eq', 'DKK 15.00')
5