💚 Fix Pole emploi iframe test

pull/1563/head
Alexandre Hajjar 2021-06-02 23:18:16 +02:00
parent 7bd3dff988
commit 2250dccf4b
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
describe('Pole emploi', function () {
it('should display an iframe of the simulateur', function () {
cy.on('uncaught:exception', (err) => {
return !err.message.contains('Unexpected token <')
return !err.message.includes("Unexpected token '<'")
})
cy.visit('https://entreprise.pole-emploi.fr/cout-salarie/')
cy.get('#simulateurEmbauche').iframe().contains('Salaire net')