Uploaded image for project: 'Antarcticle'
  1. Antarcticle
  2. ANTARCTICLE-226

Create Article: Add boundaries into error message

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Labels:
      None
    • Environment:

      Windows 7, Yandex.Chrome v.25

      Description

      When user creates article, there are two error messages, assigned to title:

      1. "Title should not be blank"
      2. "Title is too long"
        There is no information about minimum and maximum length of title.
        User should see single message with the limits of title length - minimum and maximum - to correct topic title.

      Test scenario
      Pre-condition

      1. User is logged in
      2. Write article form is opened

      Steps to reproduse

      1. Press "Create article" button

      AR: "Title should not be blank"
      ER: "Title should be between 1 and 60 charasters"

      Pre-condition

      1. User is logged in
      2. Write article form is opened

      Steps to reproduse

      1. Input "title" with more then 60 symbols
      2. Press "Create article" button

      AR: "Title is too long"
      ER: "Title should be between 1 and 60 charasters"

        Attachments

        1. blank.png
          blank.png
          7 kB
        2. too_long.png
          too_long.png
          15 kB

        Structure

        (does not include ANTARCTICLE-226)
        No items shownNo items
        History

          Activity

          Hide
          jk1 Evgeniy Naumenko added a comment -

          There is no limitation on minimum title length, it should only be non-empty. So the error message "Title should not be blank" is ok. Error message "Title is too long" has been corrected to contain maximum title length.

          Show
          jk1 Evgeniy Naumenko added a comment - There is no limitation on minimum title length, it should only be non-empty. So the error message "Title should not be blank" is ok. Error message "Title is too long" has been corrected to contain maximum title length.
          Hide
          Keiran Keiran added a comment -

          Test scenario
          Pre-condition

          1. User is logged in
          2. Write article form is opened

          Steps to reproduse

          1. Press "Create article" button

          AR: = ER: "Title should not exceed 60 characters"

          Regression tests:

          test result
          create article pass
          edit article pass
          discard changes pass

          All tests passed, issue is closed

          Show
          Keiran Keiran added a comment - Test scenario Pre-condition User is logged in Write article form is opened Steps to reproduse Press "Create article" button AR : = ER : "Title should not exceed 60 characters" Regression tests: test result create article pass edit article pass discard changes pass All tests passed , issue is closed

            People

            • Assignee:
              Keiran Keiran
              Reporter:
              Keiran Keiran
            • Votes:
              0 Vote for this issue
              Watchers:
              Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Structure Helper Panel