Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions tests/behat/features/Admin/Divers/Configuration.feature
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,15 @@ Feature: Administration - Configuration
Given I am logged in as admin and on the Administration
And I follow "Configuration du site"
Then I should see "Configuration"
And I should see "32, Boulevard de Strasbourg CS 30108"
And I fill in "afup|adresse" with "32, Boulevard de Nantes CS 30108"
And the response should contain "Paris Cedex 10"
And I fill in "afup|ville" with "Paris Cedex 12"
When I press "Enregistrer"
Then the ".content .message" element should contain "La configuration a été enregistrée"
And I should see "32, Boulevard de Nantes CS 30108"
And the response should contain "Paris Cedex 12"
# on remet la valeur d'origine vu qu'on modifie un fichier
# ce n'est pas idéal, mais à terme il faudrait plutôt qu'on ne modifie pas le fichier
# et que les infos pertinentes à modifier le soient en base et le reste soit dans de la conf statique
And I fill in "afup|ville" with "Paris Cedex 10"
When I press "Enregistrer"
Then the ".content .message" element should contain "La configuration a été enregistrée"
And the response should contain "Paris Cedex 10"