Details
-
Story
-
Resolution: Fixed
-
High
-
None
-
None
Description
Scenarios
Send to trash content item without sub-items
Given I am logged into the eZ application
And I am viewing a content item
When I click on the "Send to trash" button on the right toolbar
Then I see a modal window to confirm the deletion
And on Confirmation, the content item is sent to the trash and I am redirected to the parent
And on Cancel, the modal window closes
Confirmation message:
Are you sure you want to send this content item to trash?
Send to trash content item with sub-items
Given I am logged into the eZ application
And I am viewing a content item which has sub-item(s)
When I click on the "Send to trash" button on the right toolbar
Then I see a modal window to confirm the deletion
And on Confirmation, the content item and all the sub-items are sent to the trash and I am redirected to the parent
And on Cancel, the modal window closes
Confirmation message:
Are you sure you want to send this content item and %number of sub-item% sub-item(s) to trash?
User has no permission to remove
Given I am logged into the eZ application
And I don't have Content / Remove policy
And I am viewing a content item
Then the "Send to trash" button is disabled
Attachments
Issue Links
- links to