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

As an Editor, I want to hide or show a location of a content item

    XMLWordPrintable

Details

    • Sprint 4
    • 2

    Description

      Scenario

      Hide a location of a content item

      Given I am logged into the eZ application 
      And I am viewing the ‘Locations’ tab for the content item
      And the location is currently has a visibility of ’Show'
      When I click on Hide/Show toggle button for a location in the ‘Content locations’ table
      Then the Hide in the toggle button will be highlighted
      And the location visibility will be set to Hide 
      

      Show a location of a content item

      Given I am logged into the eZ application 
      And I am viewing the ‘Locations’ tab for the content item
      And the location is currently has a visibility of ’Hide'
      When I click on Hide/Show toggle button for a location in the ‘Content locations’ table
      Then the Show in the toggle button will be highlighted
      And the location visibility will be set to Show
      And I can access the web page related to the location  
      

      Visibility of sub-items when the superior content item is hidden

      Given I am logged into the eZ application 
      And I am viewing the ‘Locations’ tab of a container content item with sub-items
      And the location visibility of the content item is ’Hide'
      When I click on one of its sub-items
      And navigate to the locations tab of the sub-item
      Then I see a status below the switcher 'Hidden by superior' for the content item's current path  
      

      Hiding content item when the visibility is hidden by superior

      Given I am logged into the eZ application 
      And I am viewing the ‘Locations’ tab for the content item
      And content item's visibility is 'hidden by superior'
      And the content item's actual visibility state is Show
      When I click on Hide/Show toggle button for the current location in the ‘Content locations’ table
      Then the Hide in the toggle button will be highlighted
      And the location visibility will now be set to 'Hide' instead of 'hidden by superior'
      And the message below the switcher disappears'
      
      Given I changed the visibility of the content item from 'hidden by superior' to 'Hide'
      And the parent/superior content item is still hidden
      When I change the visibility of the parent / superior to Show
      Then the parent is visible
      And can be accessed through the web page
      And the sub-item is still hidden 
      And cannot be accessed through the web page
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            supriya.bhargava-obsolete@ibexa.co Supriya Bhargava (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: