Details

    • Type: Technical Testing
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      Create the test scenarios to validate the parent story, according to the Acceptance Criteria.

      Those test scenarios will be writing in the parent story.

      Test Cases

      Case 1
      Can defined localized external link for editable field

      1. Add a new site
      2. Add a page based on Blank
      3. Add a Heading fragment to page
      4. Click the editable field of Heading > Link tab
      5. Type http://www.liferay.com in URL field
      6. Click the outside of URL field to trigger draft saved
      7. Inspect the editable field element
      8. Assert the http://www.liferay.com is shown href attribute
      9. Change to es-ES via language selector on control menu
      10. Type http://login.liferay.com in URL field
      11. Click the outside of URL field to trigger draft saved
      12. Assert the http://login.liferay.com is shown href attribute
      13. Click the dropdown toggle of language selector
      14. Assert the es-ES has the translating label
      15. Change to en-US via language selector on control menu
      16. Assert the http://www.liferay.com is shown in URL field
      17. Inspect the editable field element
      18. Assert the http://www.liferay.com is shown href attribute
      19. Change to es-ES via language selector on control menu
      20. Assert the http://login.liferay.com is shown in URL field
      21. Inspect the editable field element
      22. Assert the http://login.liferay.com is shown href attribute
      23. Publish the page
      24. Navigate to page in view mode
      25. Inspect the editable field element
      26. Assert the http://www.liferay.com is shown href attribute
      27. Click the editable field
      28. Assert location is http://www.liferay.com
      29. Navigate to page in view mode
      30. Insert es/ between 8080/ and web
      31. Assert the http://login.liferay.com is shown href attribute
      32. Click the editable field
      33. Assert location is http://login.liferay.com

      Case 2
      Can defined localized internal link of mapped document for editable field

      1. Add a new site
      2. Add the first display page template based on Document and Basic Document
      3. Add a Display Page Content fragment to display page template
      4. Publish
      5. Add the second display page template based on Document and Basic Document
      6. Add a Display Page Content fragment to display page template
      7. Publish
      8. Add the first document with an image and select the first display page template as Specific Display Page Template
      9. Get fileEntryId of the first document from DLFileEntry table
      10. Add the second document with an image and select the second display page template as Specific Display Page Template
      11. Get fileEntryId of the second document from DLFileEntry table
      12. Add a page based on Blank
      13. Add a Heading fragment to page
      14. Click the editable field of Heading > Link tab
      15. Select From Content Field in Link field
      16. Click the plus icon of Content field > Documents and Media tab
      17. Select the first document
      18. Select the Display Page URL in Field field
      19. Assert the /en/web/test-site-name/d/${firstFileEntryId} is shown in URL field
      20. Inspect the editable field element
      21. Assert the /en/web/test-site-name/d/${firstFileEntryId} is shown href attribute
      22. Change to es-ES via language selector on control menu
      23. Click the plus icon of Content field > Documents and Media tab
      24. Select the second document
      25. Select the Display Page URL in Field field
      26. Assert the /en/web/test-site-name/d/${secondFileEntryId} is shown in URL field
      27. Inspect the editable field element
      28. Assert the /en/web/test-site-name/d/${secondFileEntryId} is shown href attribute
      29. Click the dropdown toggle of language selector
      30. Assert the es-ES has the translating label
      31. Change to en-US via language selector on control menu
      32. Assert the title of first document is shown in Content field
      33. Assert the /en/web/test-site-name/d/${firstFileEntryId} is shown in URL field
      34. Assert the /en/web/test-site-name/d/${firstFileEntryId} is shown href attribute
      35. Change to es-ES via language selector on control menu
      36. Assert the title of second document is shown in Content field
      37. Assert the /en/web/test-site-name/d/${secondFileEntryId} is shown in RL field
      38. Inspect the editable field element
      39. Assert the /en/web/test-site-name/d/${secondFileEntryId} is shown href attribute
      40. Publish the page
      41. Navigate to page in view mode
      42. Inspect the editable field element
      43. Assert the /en/web/test-site-name/d/${firstFileEntryId} is shown href attribute
      44. Click the editable field
      45. Assert the image from first document is shown in first display page template
      46. Navigate to page in view mode
      47. Insert es/ between 8080/ and web
      48. Inspect the editable field element
      49. Assert the /en/web/test-site-name/d/${secondFileEntryId} is shown href attribute
      50. Click the editable field
      51. Assert the image from second document is shown in second display page template

        Attachments

          Activity

            People

            Assignee:
            david.gutierrez David Gutiérrez Mesa
            Reporter:
            david.gutierrez David Gutiérrez Mesa
            Recent user:
            David Gutiérrez Mesa
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package