Skip to content

Commit

Permalink
Add tests on admin pages
Browse files Browse the repository at this point in the history
  • Loading branch information
PitouGames committed Jul 29, 2019
1 parent ea2b544 commit 33a78cc
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions features/admin/documents.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Feature: Admin
As an admin I am be able to access documents pages

Scenario: I can see Documents Homepage & Upload button
Given I am logged in as "admin"
Given I am on "/Documents"
Then the response status code should be 200
Then I should see "Liste des Documents"
And I should see "Ajouter un Doctype"

Scenario: I can see Upload Document page
Given I am logged in as "admin"
Given I am on "/DocumentsType/Upload"
Then the response status code should be 200
Then I should see "Uploader un Document Type"
And I should see "Uploader"
File renamed without changes.

0 comments on commit 33a78cc

Please sign in to comment.