From 8df1f5d4cc62c9812840a7ccce34661a9755c661 Mon Sep 17 00:00:00 2001 From: Maxime Quandalle Date: Fri, 20 Nov 2020 02:56:52 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=85=20Tentative=20de=20r=C3=A9solution=20?= =?UTF-8?q?d'un=20bug=20sur=20les=20tests=20cypress?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cypress/integration/mon-entreprise/simulateurs.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mon-entreprise/cypress/integration/mon-entreprise/simulateurs.js b/mon-entreprise/cypress/integration/mon-entreprise/simulateurs.js index 6253fef35..592374155 100644 --- a/mon-entreprise/cypress/integration/mon-entreprise/simulateurs.js +++ b/mon-entreprise/cypress/integration/mon-entreprise/simulateurs.js @@ -98,7 +98,8 @@ describe('Simulateurs', function() { cy.contains('€/mois').click() cy.get(inputSelector) .first() - .type('{selectall}5000') + .clear() + .type('5000') cy.wait(800) cy.get(inputSelector).each($input => { const val = +$input.val().replace(/[\s,.]/g, '')