From 43aa99742db98aae527baa2d56b10222111b144d Mon Sep 17 00:00:00 2001 From: Mael Date: Fri, 23 Nov 2018 16:40:29 +0000 Subject: [PATCH] :white_check_mark: Evolution d'un test Cypress --- cypress/integration/embauche/embauche.js | 2 +- cypress/integration/embauche/iframe.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cypress/integration/embauche/embauche.js b/cypress/integration/embauche/embauche.js index 98a4c9e5c..f15b50083 100644 --- a/cypress/integration/embauche/embauche.js +++ b/cypress/integration/embauche/embauche.js @@ -13,7 +13,7 @@ describe('Landing basic test', function() { }) it('should display the simulateur after loading', function() { cy.visit('/') - cy.contains('Entrez un salaire mensuel') + cy.contains('Touché par le salarié') }) it('should display cotisation repartition when entering net salary', function() { cy.visit('/') diff --git a/cypress/integration/embauche/iframe.js b/cypress/integration/embauche/iframe.js index 372731685..566bf0634 100644 --- a/cypress/integration/embauche/iframe.js +++ b/cypress/integration/embauche/iframe.js @@ -3,6 +3,6 @@ describe('Iframe integration test', function() { cy.visit('/integration-test') cy.get('#simulateurEmbauche') .iframe() - .contains('Entrez un salaire mensuel') + .contains('Touché par le salarié') }) })