Skip to content

Commit

Permalink
Issue afup#1110 TF Badge
Browse files Browse the repository at this point in the history
  • Loading branch information
stakovicz committed Mar 10, 2022
1 parent f4d703a commit 918934f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions tests/behat/features/Admin/Members/AdminMembersBadge.feature
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"
Binary file added tests/behat/files/badge1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 918934f

Please sign in to comment.