🐛 répare cypress.io

🐛 répare cypress.io

🐛 répare cypress.io

🐛 répare cypress.io

🐛 répare cypress.io

🐛 répare cypress.io
pull/424/head
Johan Girod 2018-11-15 14:12:38 +01:00
parent 65e4137138
commit 1120f574e6
3 changed files with 10 additions and 11 deletions

View File

@ -42,13 +42,3 @@ describe('Simulation saving test', function() {
salaryInput('Salaire net').should('have.value', '5471')
})
})
describe('Iframe integration test', function() {
it('should display an iframe of the simulateur', function() {
cy.visit('/integration-test')
cy.get('#simulateurEmbauche')
.iframe()
.contains('Entrez un salaire mensuel')
cy.debug()
})
})

View File

@ -0,0 +1,8 @@
describe('Iframe integration test', function() {
it('should display an iframe of the simulateur', function() {
cy.visit('/integration-test')
cy.get('#simulateurEmbauche')
.iframe()
.contains('Entrez un salaire mensuel')
})
})

View File

@ -75,12 +75,13 @@ module.exports = {
}
],
navigateFallback: '/fallback',
navigateFallbackWhitelist: [/^\/[^_]+$/], // fallback for anything that doesn't start with
navigateFallbackBlacklist: [
/.*\?s=.*$/,
/^\/stats/,
/^\/robots\.txt$/,
/^\/sitemap\.infrance\.fr\.txt$/,
/^\/sitemap\.infrance\.en\.txt$/
/^\/sitemap\.infrance\.en\.txt$/,
]
}),
new PrerenderSPAPlugin({