mirror of
https://github.com/betagouv/mon-entreprise
synced 2025-02-10 13:55:03 +00:00
fix(pam): correction des règles de l'assistant revenus pour les dentistes
This commit is contained in:
parent
a56bfc6ffc
commit
7b6c7d17a9
3 changed files with 18 additions and 16 deletions
|
@ -72,13 +72,11 @@ déclaration revenus PAMC . cotisations sociales obligatoires:
|
|||
déclaration revenus PAMC . SNIR:
|
||||
|
||||
déclaration revenus PAMC . SNIR . honoraires remboursables:
|
||||
non applicable si: profession . dentiste
|
||||
titre: honoraires tirés d’actes conventionnés
|
||||
unité: €/an
|
||||
|
||||
déclaration revenus PAMC . SNIR . dépassements honoraires:
|
||||
titre: dépassements d’honoraires
|
||||
non applicable si: profession . dentiste
|
||||
question: dépassements d’honoraires
|
||||
unité: €/an
|
||||
|
||||
|
|
|
@ -321,15 +321,6 @@ describe(
|
|||
|
||||
cy.contains('Chirurgien/chirurgienne-dentiste').click()
|
||||
|
||||
cy.get(`#${idPrefix}_SNIR___honoraires_remboursables-title`).should(
|
||||
'not.exist'
|
||||
)
|
||||
cy.get(`#${idPrefix}_SNIR___honoraires_remboursables`).should('not.exist')
|
||||
cy.get(`#${idPrefix}_SNIR___dépassements_honoraires-title`).should(
|
||||
'not.exist'
|
||||
)
|
||||
cy.get(`#${idPrefix}_SNIR___dépassements_honoraires`).should('not.exist')
|
||||
|
||||
cy.get(`#${idPrefix}_SNIR___taux_urssaf-title`).should('be.visible')
|
||||
cy.get(`#${idPrefix}_SNIR___taux_urssaf`).should('be.visible')
|
||||
|
||||
|
@ -349,15 +340,26 @@ describe(
|
|||
cy.get(`#${idPrefix}_SNIR___taux_urssaf-value`).should('not.exist')
|
||||
|
||||
cy.contains('Chirurgien/chirurgienne-dentiste').click()
|
||||
cy.get('input[type="text"]').as('inputs').should('have.length', 4)
|
||||
cy.get('input[type="text"]').as('inputs').should('have.length', 6)
|
||||
cy.get('@inputs').each(($input) => {
|
||||
cy.wrap($input).type('{selectall}100')
|
||||
})
|
||||
|
||||
// TODO: à compléter une fois clarifié les résultats pour dentistes
|
||||
|
||||
cy.get(`#${idPrefix}_SNIR___taux_urssaf-label`).should('be.visible')
|
||||
cy.get(`#${idPrefix}_SNIR___taux_urssaf-value`).should('be.visible')
|
||||
|
||||
cy.get(`#${idPrefix}_SNIR___honoraires_remboursables-label`).should(
|
||||
'not.exist'
|
||||
)
|
||||
cy.get(`#${idPrefix}_SNIR___honoraires_remboursables-value`).should(
|
||||
'not.exist'
|
||||
)
|
||||
cy.get(`#${idPrefix}_SNIR___dépassements_honoraires-label`).should(
|
||||
'not.exist'
|
||||
)
|
||||
cy.get(`#${idPrefix}_SNIR___dépassements_honoraires-value`).should(
|
||||
'not.exist'
|
||||
)
|
||||
})
|
||||
|
||||
it('devrait montrer des champs différents aux médecins', function () {
|
||||
|
|
|
@ -69,8 +69,10 @@ export default function Résultats() {
|
|||
/>
|
||||
|
||||
<H3>Données transmises par l’Assurance Maladie</H3>
|
||||
<SimulationValue dottedName="déclaration revenus PAMC . SNIR . honoraires remboursables" />
|
||||
<SimulationValue dottedName="déclaration revenus PAMC . SNIR . dépassements honoraires" />
|
||||
<Condition expression="déclaration revenus PAMC . profession != 'dentiste'">
|
||||
<SimulationValue dottedName="déclaration revenus PAMC . SNIR . honoraires remboursables" />
|
||||
<SimulationValue dottedName="déclaration revenus PAMC . SNIR . dépassements honoraires" />
|
||||
</Condition>
|
||||
<SimulationValue dottedName="déclaration revenus PAMC . SNIR . honoraires tarifs opposables" />
|
||||
<SimulationValue dottedName="déclaration revenus PAMC . SNIR . honoraires hors forfaits" />
|
||||
<SimulationValue
|
||||
|
|
Loading…
Add table
Reference in a new issue