-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Profil speaker : - Accès à la page - Saisie des infos
- Loading branch information
Showing
3 changed files
with
46 additions
and
3 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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
Feature: Event > Profil speaker | ||
|
||
@reloadDbWithTestData | ||
Scenario: Accès à la page | ||
Given I go to "/event/forum/speaker-infos" | ||
When I follow "Connect as agallou" | ||
Then I should see "Votre conférence" | ||
Then I should see "Nous vous défrayons" | ||
|
||
@reloadDbWithTestData | ||
Scenario: Saisie des infos | ||
Given I go to "/event/forum/speaker-infos" | ||
When I follow "Connect as agallou" | ||
Then I fill in "speakers_contact[phone_number]" with "0123456789" | ||
And I press "Enregistrer le contact" | ||
Then I should see "Informations de contact enregistrées" | ||
|
||
Then I fill in "speakers_diner[will_attend]" with "1" | ||
Then I fill in "speakers_diner[has_special_diet]" with "1" | ||
Then I fill in "speakers_diner[special_diet_description]" with "Je suis végétarien" | ||
And I press "Enregistrer mes préférences pour le restaurant" | ||
Then I should see "Informations sur votre venue au restaurant des speakers enregistrées" | ||
Then I should see "Je suis végétarien" | ||
|
||
When I check "hotel_reservation_nights_0" | ||
And I press "Enregistrer les nuitées" | ||
Then I should see "Informations sur votre venue à l'hôtel enregistrées" | ||
Then the "hotel_reservation_nights_0" checkbox is checked | ||
|
||
When I attach the file "test_file1.pdf" to "speakers_expenses[files][]" | ||
Then I should see "Aucun fichier" | ||
And I press "Ajouter des fichiers" | ||
When I should see "Fichiers ajoutés" | ||
Then I should see "test_file1.pdf" |