← Back to team overview

mahara-contributors team mailing list archive

[Bug 1777741] Re: filter artefact chooser search by tag

 

Environment tested: Master
Browser tested: Chrome

-------------------------------------
Manual Test Script
-------------------------------------

Preconditions:

1. User "InstAMember" exists 
2. User has multiple journals with the following tags: 
-- a. Journal 1 Tags = J1, J101 
-- b. Journal 2 Tags = J2, J102
-- c. Journal 3 Tags = J3, J101
-- d. Journal 4 Tags = J4, J101
3. User has multiple enties in each journal with the following tags: 
-- a. Journal 1 - Entry 1 Tags = J1-JE1, JBC-500, Description contains "Bobcat" 
-- b. Journal 1 - Entry 2 Tags = J1-JE2, JBC-500
-- c. Journal 1 - Entry 3 Tags = J1-JE3, JBC-501
-- d. Journal 2 - Entry 1 Tags = J2-JE1, JBC-500
-- e. Journal 2 - Entry 2 Tags = J2-JE2, JBC-500
-- f. Journal 2 - Entry 3 Tags = J2-JE3, JBC-501
-- g. Journal 3 - Entry 1 Tags = J3-JE1, JBC-500
-- h. Journal 3 - Entry 2 Tags = J3-JE2, JBC-500
-- i. Journal 3 - Entry 3 Tags = J3-JE3, JBC-501, Description contains "Bobcat"
-- k. Journal 4 - Entry 1 Tags = J4-JE1, jbc-500
-- l. Journal 4 - Entry 2 Tags = J4-JE2, jbc-500
-- m. Journal 4 - Entry 3 Tags = J4-JE3, jbc-501
4. User has multiple notes with the following tags:
-- a. Note 1 Tags = N1, ABCD
-- b. Note 2 Tags = n2, ABCD
-- c. Note 3 Tags = N3, EFG, Description contains "Bobcat"

Test Script: Searching for a Journal by tag
--------------------------------------------
1. User is logged in and on Portfolio - Pages and collections page 
2. User creates a new page 
3. User adds a Journal block to the page 
4. User search for a journal by typing "J1"
5. Confirm that all journals are displayed ✔ (displays because all Journals contain the letter J1 in the second tag ie J101, J102, J103) 
6. User search for a journal by typing "J2" (search by unique tag)
7. Confirm that Journal 2 is displayed ✔
8. User search for a journal by typing "j2" (lower case)
9. Confirm that Journal 2 is displayed ✔
10. User search for a journal by typing "Journal 1" (search in title)
11. Confirm that Journal 1 is displayed ✔
12. User search for a journal by typing "Bobcat"  (search in description)
13. Confirm that Journal 1 is displayed ✔

NOTE: When searching for a search value, the search functionality will
try to find the value in 3 places, title, description and tag.


Test Script: Searching for a Journal entry by tag
--------------------------------------------
1. User is logged in and on Portfolio - Pages and collections page 
2. User creates a new page 
3. User adds a Journal entry block to page
4. User search for a Journal entry by tytping J2-JE2 (search by unique tag)
5. Confirm that Journal 2 Entry 2, Journal entry is displayed ✔
6. User search for a journal entry by typing "Bobcat" (search in description)
7. Confirm that Journal 3 - Entry 3 is displayed ✔
8. User search for a journal entry by typing "j2-jE3" (lower case)
9. Confirm that Journal 2 - Entry 3  is displayed ✔


Test Script: Searching for a Note by tag
--------------------------------------------
1. User is logged in and on Portfolio - Pages and collections page 
2. User creates a new page 
3. User adds a Journal entry block to page
4. User click "Use content from another note" button 
5. User search for a Note by typing "N2" (search by unique tag)
6. Confirm that Note 2 is displayed ✔
7. User search for a Note by typing "bobcat" (search in description)
8. Confirm that Note 3 is displayed ✔
9. User search for a Note by typing "Note 1" (search in title)
10. Confirm that Note 1 is displayed ✔


Test Script: Searching for a Recent Journal entry
--------------------------------------------
1. User is logged in and on Portfolio - Pages and collections page 
2. User creates a new page 
3. User adds a Recent journal entry block to page
4. User search for a journal by typing "J3" (search by unique tag)
5. Confirm that Journal 3 is displayed  ✔
6. Select the Journal 3 checkbox and Save the block
7. Confirm that the order of journal 3 entries are displayed from the most recent to the erliest entries ✔

NOTE: This block is a little misleading in that you can only search by
journal and the entries are displayed by most recent.

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1777741

Title:
  filter artefact chooser search by tag

Status in Mahara:
  In Progress
Status in Mahara 18.04 series:
  In Progress
Status in Mahara 18.10 series:
  In Progress

Bug description:
  In the blocks that use artefactchooser, eg Note, Journal entry blocks
  we can do a search for artefacts by title/description only.

  It would also be good if we can also filter by tag(s) on the artefacts
  as well.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1777741/+subscriptions


References