Skip to content

Commit 9c3f464

Browse files
authored
Merge pull request #1375 from afup/test_fichier_config
test de la configuration : on remet la conf dans l'état précédent
2 parents 807153e + d823db9 commit 9c3f464

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

tests/behat/features/Admin/Divers/Configuration.feature

+10-3
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,15 @@ Feature: Administration - Configuration
55
Given I am logged in as admin and on the Administration
66
And I follow "Configuration du site"
77
Then I should see "Configuration"
8-
And I should see "32, Boulevard de Strasbourg CS 30108"
9-
And I fill in "afup|adresse" with "32, Boulevard de Nantes CS 30108"
8+
And the response should contain "Paris Cedex 10"
9+
And I fill in "afup|ville" with "Paris Cedex 12"
1010
When I press "Enregistrer"
1111
Then the ".content .message" element should contain "La configuration a été enregistrée"
12-
And I should see "32, Boulevard de Nantes CS 30108"
12+
And the response should contain "Paris Cedex 12"
13+
# on remet la valeur d'origine vu qu'on modifie un fichier
14+
# ce n'est pas idéal, mais à terme il faudrait plutôt qu'on ne modifie pas le fichier
15+
# et que les infos pertinentes à modifier le soient en base et le reste soit dans de la conf statique
16+
And I fill in "afup|ville" with "Paris Cedex 10"
17+
When I press "Enregistrer"
18+
Then the ".content .message" element should contain "La configuration a été enregistrée"
19+
And the response should contain "Paris Cedex 10"

0 commit comments

Comments
 (0)