Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-112238

Allow removing a ratings for stars style

    Details

    • Type: Story
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Affects Version/s: None
    • Fix Version/s: Master
    • Component/s: Ratings
    • Labels:

      Description

      As a user

      I want to be able to remove my vote in stars

      so that in case I make a mistake I can fix it

      Design
      Figma

       

      Acceptance criteria

      Given an element rated  by a user using the stars style (for example a blog entry)

      When a user expands the list of options and clicks on delete

      Then the rate is removed

      And the total number of votes is decreased by one

      And the average rating is calculated

       

      Test Scenarios

      ID Test Priority Test Scenarios Covered by Frontend (JS-Unit)? Test to add
      01 5 The "Delete" option is visible in the list of stars rating NO Manual; Automate later in LRQA-58567
      02 5 Clicking the delete option revokes the current vote NO Manual; Automate later in LRQA-58567
      03 5 Votes are decreased by one when clicking the delete option NO Manual; Automate later in LRQA-58567
      04 5 The stars vote rating is calculated as the average rating  NO  Manual; Automate later in LRQA-58567

       

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package
                  Master