Tentative de résolution d'un bug sur les tests cypress

pull/1189/head
Maxime Quandalle 2020-11-20 02:56:52 +01:00
parent 81ecef7021
commit 8df1f5d4cc
1 changed files with 2 additions and 1 deletions

View File

@ -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, '')