@@ -124,24 +124,6 @@ Feature: Administration - Trésorerie - Devis/Facture
124124 When I press "Modifier" and wait until I see "L'écriture a été modifiée"
125125 And I should see "Paris Cedex 7"
126126 And I should see "Payé"
127- # Ajout puis suppression d'une ligne dans la facture (vérifie la suppression en base)
128- When I follow the button of tooltip "Modifier la ligne ESN dev en folie" and wait until I see "Modifier une facture"
129- Then I click on link with class "add_item_link"
130- And I fill in "invoice[details][1][reference]" with "BONUS-001"
131- And I fill in "invoice[details][1][designation]" with "Ligne bonus"
132- And I fill in "invoice[details][1][quantity]" with "1"
133- And I fill in "invoice[details][1][unitPrice]" with "500"
134- When I press "Modifier" and wait until I see "L'écriture a été modifiée"
135- Then I should see "12 500,00"
136- When I follow the button of tooltip "Modifier la ligne ESN dev en folie" and wait until I see "Modifier une facture"
137- Then I click on link with id "remove_row_1"
138- When I press "Modifier" and wait until I see "L'écriture a été modifiée"
139- Then I should see "12 000,00"
140- When I follow the button of tooltip "Modifier la ligne ESN dev en folie" and wait until I see "Modifier une facture"
141- Then I should not see "BONUS-001"
142- When I go to "/admin/"
143- When I open menu "Trésorerie"
144- And I follow "Factures"
145127 # Envoi de la facture par email
146128 Then I follow the button of tooltip "Envoyer la facture 2026-3 par mail"
147129 And I should only receive the following emails:
0 commit comments