mirror of
https://github.com/betagouv/mon-entreprise
synced 2025-03-13 02:45:04 +00:00
test(économie-collaborative): vérifie que les cotisations s’affichent bien quand on saisit les recettes
This commit is contained in:
parent
e9fa1eb64e
commit
8c177d38ed
1 changed files with 12 additions and 2 deletions
|
@ -17,9 +17,19 @@ describe('Simulateur de location de meublé', () => {
|
|||
})
|
||||
|
||||
it('affiche le formulaire', () => {
|
||||
cy.get('input#location_de_logement___meublé___loyer___net').should(
|
||||
'be.visible'
|
||||
cy.get(
|
||||
'input#location_de_logement_meublé___courte_durée___recettes'
|
||||
).should('be.visible')
|
||||
})
|
||||
|
||||
it('chiffre les cotisations quand on saisi des revenus', () => {
|
||||
cy.get('input#location_de_logement_meublé___courte_durée___recettes').type(
|
||||
'1000'
|
||||
)
|
||||
|
||||
cy.get('input#location_de_logement_meublé___cotisations')
|
||||
.should('be.visible')
|
||||
.should('have.lengthOf.at.least', 1)
|
||||
})
|
||||
|
||||
it('est accessible', function () {
|
||||
|
|
Loading…
Add table
Reference in a new issue