File tree 1 file changed +10
-3
lines changed
tests/behat/features/Admin/Divers
1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,15 @@ Feature: Administration - Configuration
5
5
Given I am logged in as admin and on the Administration
6
6
And I follow "Configuration du site"
7
7
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 "
10
10
When I press "Enregistrer"
11
11
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"
You can’t perform that action at this time.
0 commit comments