add missing file in the repo
This commit is contained in:
parent
690b2f2b2e
commit
2cd44190ae
21
features/admin/content_types.feature
Normal file
21
features/admin/content_types.feature
Normal file
@ -0,0 +1,21 @@
|
||||
Feature: Manage Content Types
|
||||
In order to manage custom content models
|
||||
As an administrator
|
||||
I want to add/edit/delete custom models of my site
|
||||
|
||||
Background:
|
||||
Given I have the site: "test site" set up
|
||||
And I have a custom model named "Projects" with
|
||||
| label | kind | required |
|
||||
| Name | string | true |
|
||||
| Description | text | false |
|
||||
And I am an authenticated user
|
||||
|
||||
Scenario: I do not want my content form to have n duplicate fields if I submit n times the content type form with errors (bug)
|
||||
When I go to the "Projects" model edition page
|
||||
And I fill in "Name" with ""
|
||||
And I press "Update"
|
||||
And I press "Update"
|
||||
And I press "Update"
|
||||
When I follow "new item"
|
||||
Then I should not see 4 times the "Name" field
|
Loading…
Reference in New Issue
Block a user