fix(site): Enlève l'affichage de 'modal' au survol d'une modale
parent
bef003246f
commit
d8db3dbf8b
|
@ -9,17 +9,17 @@ describe('Simulateur salarié : part time contract', function () {
|
|||
cy.visit(encodeURI('/simulateurs/salaire-brut-net'))
|
||||
cy.get('button').contains('SMIC').click()
|
||||
cy.contains('Modifier mes réponses').click()
|
||||
cy.get('div[title="modal"]')
|
||||
cy.get('div[data-cy="modal"]')
|
||||
.eq(0)
|
||||
.contains('Temps partiel')
|
||||
.next()
|
||||
.find('button')
|
||||
.click()
|
||||
|
||||
cy.get('div[title="modal"]').eq(1).contains('Fermer')
|
||||
cy.get('div[title="modal"]').eq(1).contains('Oui').click()
|
||||
cy.get('div[title="modal"]').eq(1).contains('Continuer').click()
|
||||
cy.get('div[title="modal"]').eq(0).contains('Fermer').click()
|
||||
cy.get('div[data-cy="modal"]').eq(1).contains('Fermer')
|
||||
cy.get('div[data-cy="modal"]').eq(1).contains('Oui').click()
|
||||
cy.get('div[data-cy="modal"]').eq(1).contains('Continuer').click()
|
||||
cy.get('div[data-cy="modal"]').eq(0).contains('Fermer').click()
|
||||
})
|
||||
|
||||
it('should permit selecting the smic before part-time contrat', function () {
|
||||
|
|
|
@ -113,7 +113,7 @@ export default function Popover(
|
|||
}}
|
||||
ref={ref}
|
||||
aria-label={title || t('Boite de dialogue')}
|
||||
title="modal"
|
||||
data-cy="modal"
|
||||
>
|
||||
{props.isDismissable && (
|
||||
<CloseButtonContainer>
|
||||
|
|
Loading…
Reference in New Issue