Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-27671

Send a content item to the trash

    XMLWordPrintable

Details

    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

        Activity

          People

            Unassigned Unassigned
            sylvain.guittard@ibexa.co Sylvain Guittard
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: