-
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.
- Loading branch information
Showing
2 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
tests/behat/features/Admin/Members/AdminMembersBadge.feature
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,15 @@ | ||
Feature: Administration - Partie Badge | ||
|
||
@reloadDbWithTestData | ||
Scenario: Ajout d'un badge | ||
Given I am logged in as admin and on the Administration | ||
And I follow "Badges" | ||
Then the ".content h2" element should contain "Badges" | ||
When I follow "Ajouter" | ||
Then the ".content h2" element should contain "Nouveau badge" | ||
When I fill in "badge[label]" with "Un super Badge" | ||
Then print last response | ||
And I attach the file "badge1.png" to "badge[image]" | ||
And I press "Créer" | ||
Then I should see "Le badge a été ajouté" | ||
And I should see "Un super Badge" |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.