Details

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

      Description

      Goal: Automate Critical and High priority test scenarios. If have time, automate lower priority scenarios.

      Resources: CKEditor usages in portal https://docs.google.com/document/d/1I6PbEA11qC_RpriSdMOmc0ohVPLQQCohQXRoqrOr-DE/edit#heading=h.59bgbx0kmsq 

      Scope: Use sample widget or component usage such as Knowledge Base, Web Content, etc.

      Test Scenario(s) for Acceptance Criteria:

      Test Scenarios Test Already Exists? Test Priority (business impact)  New Test Completed?
      Given CKEditor
      When highlight text and click hyperlink toolbar button
      And When click on Browse Server button
      Then able to link a doc library asset to the text
         4 - high
      Given CKEditor
      When highlight text and click hyperlink toolbar button
      And When click on Browse Server button
      Then able to link a public page to text https://github.com/brianchandotcom/liferay-portal/pull/93202#issue-473138380
         4 - high  
      Given: CKEditor
      When: View toolbar icons
      Then: the icons should match new styles found in
       https://docs.google.com/document/d/1KAi2ZQj1sRRQoa1tHZmPO0WUw-nGlLAox2QBn13fp7o/edit#heading=h.qlnzm28aqf14
         2 - low  
      Given: an image in ckeditor
      When: user clicks on align images left, center, right toolbar icons
      Then: The image will align left, center, and right
         3 - medium  
      Given: an image in ckeditor
      When: user clicks and drags a drag handle of the image
      Then: The image corner will resize relative to cursor movement
         3 - medium  
      Given: an image in file manager
      When: dragged and dropped into ckeditor
      Then: image is rendered on the editor and can be published
         3 - medium  
      Given: video plugin is enabled (Knowledge Base),
      When: video is present in ckeditor
      Then: able to align left, center, and right with toolbar buttons - https://issues.liferay.com/browse/LPS-112923
         3 - medium  
      Given: sample document: http://www.standards-schmandards.com/exhibits/wysiwyg/sampledoc.htm
      When: pasted onto ckeditor
      And When: click on source view button
      Then: html syntax is highlighted
         2 - low  
      Given: Ckeditor
      When: click on Source view toolbar button
      And When: click on Preview toolbar button
      And When: add in source view
      <h1>Sample Header 1</h1>
      <p>sample text</p>
      Then: side by side of source view and preview displays proper text and formatting
        4 - high  
      Given: Ckeditor
      And When: paste sample document: http://www.standards-schmandards.com/exhibits/wysiwyg/sampledoc.htm
      When: click on Source view toolbar button
      And When: click on Preview toolbar button
      And When: edit the source view
      Then: edits in source view are immediately reflected in preview side
        4 - high   
      Given: sample document source in ckeditor source view
      <h1>Sample Header 1</h1>
      <p>sample text</p>
      When: toggle off source view
      Then: ckeditor shows correct formatting and styling
        4 - high   

      Considerations found in comment section may be performed in exploratory testing.

        Attachments

          Activity

            People

            Assignee:
            summer.zhang Summer Zhang
            Reporter:
            john.co John Co
            Recent user:
            John Co
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package