-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Site public : - Adhésion personne morale
- Loading branch information
Showing
3 changed files
with
27 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,12 +52,27 @@ Feature: Site Public - Register | |
And I fill in "company_member_address" with "45 rue des Roses" | ||
And I fill in "company_member_zipcode" with "69003" | ||
And I fill in "company_member_city" with "LYON" | ||
And I fill in "company_member_firstName" with "Mon prénom" | ||
And I fill in "company_member_lastName" with "Mon nom" | ||
And I fill in "company_member_firstName" with "Mon prénom de dirigeant" | ||
And I fill in "company_member_lastName" with "Mon nom de dirigeant" | ||
And I fill in "company_member_email" with "[email protected]" | ||
And I fill in "company_member_phone" with "0123456" | ||
And print last response | ||
And I fill in "company_member[invitations][0][email]" with "[email protected]" | ||
And I press "Enregistrer mon adhésion" | ||
And I should see "Adhésion enregistrée !" | ||
And I should see "Montant de la cotisation: 150.00 Euros" | ||
When I press "Régler par carte" | ||
# Pour suivre la redirection POST de Paybox | ||
And I submit the form with name "PAYBOX" | ||
When I fill in "NUMERO_CARTE" with "1111222233334444" | ||
And I select "12" from "MOIS_VALIDITE" | ||
And I select "25" from "AN_VALIDITE" | ||
And I fill in "CVVX" with "123" | ||
And I press "Valider" | ||
Then I should see "PAIEMENT ACCEPTÉ" | ||
When I follow "Retour" | ||
Then I should see "Le paiement de votre cotisation s'est bien passé, merci." | ||
# Simuler l'appel de callback Paybox | ||
And simulate the Paybox callback | ||
And I should only receive the following emails: | ||
| to | subject | | ||
| <registeredUser@gmail.com> | Une société vous invite à profiter de son compte "Membre AFUP" | |