Details

      Description

      Test Scenarios

      Test Scenarios Test Strategy Kind of test Is it covered by FrontEnd ? (JS-Unit) Is it covered by BackEnd ? (unit or integration) Could it be covered by POSHI?
      Users can preview draft for a public page from Pages admin when they exist Critical Manual No No Yes
      Users can preview draft for a content page from page tree when they exist High Manual No No Yes
      Users cannot see the preview draft option for a content page when the page has not draft Critical Manual No No Yes
      Users can preview draft for a private page from Pages admin when they exist Medium Manual No No Yes
      Users can preview draft for a collection page from Pages admin when they exist Medium Manual  No No Yes
      Users can preview localized draft for a content page Medium Manual No No Yes

      Test Cases

      Case 1:
      Users can preview draft for a public page from Pages admin when they exist

      1. Enable feature
      2. Add a new site
      3. Create a public content page
      4. Add some content
      5. Go to Site Building > Pages without Publish
      6. Can click on the 3 dots
      7. Click Preview Draft
      8. Assert Draft Preview is open in a new tab

      Case 2:
      Users can preview draft for a content page from page tree when they exist

      1. Enable feature
      2. Add a new site
      3. Create a public content page
      4. Add some content
      5. Go to Site Building > Pages without Publish
      6. Open Page Tree
      7. Assert Page in draft status appear with an asterisk
      8. Can click on the 3 dots
      9. Click Preview Draft
      10. Assert Draft Preview is open in a new tab

      Case 3:
      Users cannot see the preview draft option for a content page when the page has not draft

      1. Enable feature
      2. Add a new site
      3. Create a public content page
      4. Go to Home Page without Publish or adding content
      5. Open Page Tree
      6. Assert Page appears without an asterisk
      7. Can click on the 3 dots
      8. View Draft option does not exist
      9. Edit created page
      10. Add some content
      11. Go to Site Building > Pages without Publish
      12. Can click on the 3 dots
      13. Click Discard Draft
      14. Go to Home Page
      15. Open Page Tree
      16. Assert Page appears without an asterisk
      17. Can click on the 3 dots
      18. View Draft option does not exist
      19. Edit created page
      20. Add some content
      21. Click publish
      22. Go to Home Page
      23. Open Page Tree
      24. Assert Page appears without an asterisk
      25. Can click on the 3 dots
      26. View Draft option does not exist

      Case 4:
      Users can preview draft for a private page from Pages admin when they exist

      1. Enable feature
      2. Add a new site
      3. Create a private content page
      4. Add some content
      5. Go to Site Building > Pages without Publish
      6. Can click on the 3 dots
      7. Click Preview Draft
      8. Assert Draft Preview is open in a new tab

      Case 5:
      Users can preview draft for a collection page from Pages admin when they exist

      1. Enable feature
      2. Add a new site
      3. Create a collection page
      4. Go to Site Building > Pages without Publish
      5. Can click on the 3 dots
      6. Click Preview Draft
      7. Assert Draft Preview is open in a new tab

      Case 6:
      Users can preview localized draft for a content page

      1. Enable feature
      2. Change user language to Catalan
      3. Add a new site
      4. Create a public content page
      5. Add some content
      6. Go to Site Building > Pages without Publish
      7. Can click on the 3 dots
      8. Click Preview Draft
      9. Assert Draft Preview is open in a new tab and it is shown in Catalan

        Attachments

          Activity

            People

            Assignee:
            yang.cao Yang Cao
            Reporter:
            yang.cao Yang Cao
            Recent user:
            Sophia Zhang
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                7.4.13 DXP GA1
                7.4.3.4 CE GA4
                Master