-
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.
feat (afup#1110): functional test Divers
- Loading branch information
Showing
4 changed files
with
40 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
Feature: Administration - Administrateurs du site | ||
|
||
@reloadDbWithTestData | ||
Scenario: Afficher / modifier les administrateurs du site | ||
Given I am logged in as admin and on the Administration | ||
And I follow "Administrateurs du site" | ||
Then I should see "Administrateurs du site" | ||
And I should see "Admin Admin Actif Administrateur" | ||
And I follow the button of tooltip "Modifier la fiche de Admin Admin" | ||
And I should see "Modifier une personne physique" | ||
And I fill in "user_edit_lastname" with "SuperLastnameAdmin" | ||
And I fill in "user_edit_firstname" with "SuperFirstnameAdmin" | ||
And I fill in "user_edit_address" with "Address" | ||
And I fill in "user_edit_zipcode" with "77777" | ||
And I fill in "user_edit_city" with "City" | ||
And I press "Modifier" | ||
Then the ".content .message" element should contain "La personne physique a été modifiée" | ||
And I follow "Administrateurs du site" | ||
And I should see "SuperLastnameAdmin SuperFirstnameAdmin Actif Administrateur" |
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,12 @@ | ||
Feature: Administration - Configuration | ||
|
||
@reloadDbWithTestData | ||
Scenario: Afficher / modifier l'adresse | ||
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" | ||
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" |
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,8 @@ | ||
Feature: Administration - Logs | ||
|
||
@reloadDbWithTestData | ||
Scenario: Afficher les logs | ||
Given I am logged in as admin and on the Administration | ||
And I follow "Logs" | ||
Then I should see "Logs" | ||
And I should see "Date Nom Prénom Texte" |