-
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.
Espace membre: - Présence AG - Saisie infos fiche entreprise publique
- Loading branch information
Showing
4 changed files
with
53 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
Feature: Espace membre, Assemblée Générale | ||
@reloadDbWithTestData | ||
Scenario: Non à jour de cotisation | ||
Given I am logged-in with the user "userexpire" and the password "userexpire" | ||
And I follow "Espace membre" | ||
Then I should see "Espace membre" | ||
When I follow "Indiquer ma présence" | ||
Then I should see "Ma participation à l'Assemblée Générale" | ||
And I should see "Vous ne pourrez donc pas voter lors de cette assemblée générale." | ||
|
||
@reloadDbWithTestData | ||
Scenario: Indiquer présent | ||
Given I am logged-in with the user "paul" and the password "paul" | ||
And I follow "Espace membre" | ||
Then I should see "Espace membre" | ||
When I follow "Indiquer ma présence" | ||
Then I should see "Ma participation à l'Assemblée Générale du" | ||
When I select "2" from "form[presence]" | ||
And I press "Confirmer" | ||
Then I should see "La présence et le pouvoir ont été modifiés" |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
Feature: Espace membre > Personne physique > Coordonnées | ||
|
||
@reloadDbWithTestData | ||
Scenario: Invitation des membres | ||
Given I am logged-in with the user "paul" and the password "paul" | ||
When I follow "Espace membre" | ||
Then I should see "Espace membre" | ||
And I should see "Antenne la plus proche : Aucune" | ||
When I follow "Modifier les coordonnées" | ||
Then I should see "Mes coordonnées" | ||
When I fill in "contact_details[email]" with "[email protected]" | ||
And I fill in "contact_details[address]" with "Rue du chemin" | ||
And I fill in "contact_details[zipcode]" with "75000" | ||
And I fill in "contact_details[city]" with "Ville" | ||
And I select "FR" from "contact_details[country]" | ||
And I select "bordeaux" from "contact_details[nearest_office]" | ||
When I press "contact_details_save" | ||
Then I should see "Votre compte a été modifié !" | ||
When I follow "Accueil" | ||
And I should see "Antenne la plus proche : Bordeaux" |