Details

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

      Description

      As a reader I'd like to search for articles by tag so that the search is more strict than searching by words

      Acceptance Criteria:

      • Search field resides both on main page and the user page.
      • On user page when tag is entered we should search only tags of that particular user
      • If there are no articles with this tag present, then a message "No articles found" should be shown.
      • If several tags are specified, then only articles with all of them should be shown (conjunction)

      Not in the scope of this story:

      • Autocomplete of tags.
      • Tags validation. If there is no such tag existing, then "No articles found" should be shown as in ruby version.

        Attachments

          Issue Links

          Structure

          (does not include ANTARCTICLE-181)
          History

            Activity

            Hide
            shogun Anuar Nurmakanov added a comment -

            Evgeniy Naumenko, please do code review again.

            Show
            shogun Anuar Nurmakanov added a comment - Evgeniy Naumenko , please do code review again.
            Hide
            jk1 Evgeniy Naumenko added a comment -

            Looks ok, forwarding to the test team.

            Show
            jk1 Evgeniy Naumenko added a comment - Looks ok, forwarding to the test team.
            Hide
            Keiran Keiran added a comment - - edited
            Acceptance Criteria Test result
            Search field resides both on main page and the user page pass
            On user page when tag is entered we should search only tags of that particular user pass
            If there are no articles with this tag present, then a message "No articles found" shows pass
            If several tags are specified, then only articles with all of them should be shown fail

            Test scenario search by several tags. Failed
            Steps to reproduce:

            1. Open Antarcticle main page
            2. Run search for 2+ tags, for example, '2' and '3'
              Actual result: Articles with only one tag are shown
              Expected result: Only Articles with all tags are displayed

            Test scenario: search after deleting tag.Failed
            Steps to reproduce:

            1. Open Antarcticle main page
            2. Input more than one tag for search, for example, '1', '2', '3', '4'
            3. Click 'Find'
            4. Delete first tag
            5. Click 'Find'
              Actual reault: It will search by tags '1', '2', '3'
              Expected result: It will search by tags '2', '3', '4'
            Show
            Keiran Keiran added a comment - - edited Acceptance Criteria Test result Search field resides both on main page and the user page pass On user page when tag is entered we should search only tags of that particular user pass If there are no articles with this tag present, then a message "No articles found" shows pass If several tags are specified, then only articles with all of them should be shown fail Test scenario search by several tags. Failed Steps to reproduce: Open Antarcticle main page Run search for 2+ tags, for example, '2' and '3' Actual result : Articles with only one tag are shown Expected result : Only Articles with all tags are displayed Test scenario : search after deleting tag. Failed Steps to reproduce: Open Antarcticle main page Input more than one tag for search, for example, '1', '2', '3', '4' Click 'Find' Delete first tag Click 'Find' Actual reault: It will search by tags '1', '2', '3' Expected result: It will search by tags '2', '3', '4'
            Hide
            jk1 Evgeniy Naumenko added a comment -

            Fixed. Browser cache cleanup may be necessary for retest

            Show
            jk1 Evgeniy Naumenko added a comment - Fixed. Browser cache cleanup may be necessary for retest
            Hide
            Keiran Keiran added a comment -

            Test scenario: search after deleting tag.Passed
            Steps to reproduce:

            1. Open Antarcticle main page
            2. Input more than one tag for search, for example, '1', '2', '3', '4'
            3. Click 'Find'
            4. Delete first tag
            5. Click 'Find'
              Actual reault:=Expected result: It will search by tags '2', '3', '4'

            Test scenario search by several tags. Passed
            Steps to reproduce:

            1. Open Antarcticle main page
            2. Run search for 2+ tags, for example, 'qwe' and '3'
              Actual result=Expected result: Only Articles with all tags are displayed, non-exist tags ignored
            Regression test test result
            Search field resides both on main page and the user page pass
            On user page when tag is entered we should search only tags of that particular user pass
            If there are no articles with this tag present, then a message "No articles found" shows pass
            Search by empty tag should not changes url pass
            Tags consisting of space only can not be added to search field pass

            All test passed, issue is closed

            Show
            Keiran Keiran added a comment - Test scenario : search after deleting tag. Passed Steps to reproduce: Open Antarcticle main page Input more than one tag for search, for example, '1', '2', '3', '4' Click 'Find' Delete first tag Click 'Find' Actual reault: = Expected result: It will search by tags '2', '3', '4' Test scenario search by several tags. Passed Steps to reproduce: Open Antarcticle main page Run search for 2+ tags, for example, 'qwe' and '3' Actual result = Expected result : Only Articles with all tags are displayed, non-exist tags ignored Regression test test result Search field resides both on main page and the user page pass On user page when tag is entered we should search only tags of that particular user pass If there are no articles with this tag present, then a message "No articles found" shows pass Search by empty tag should not changes url pass Tags consisting of space only can not be added to search field pass All test passed , issue is closed

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Structure Helper Panel