Comment 3 for bug 1839223

Revision history for this message
Rangi Daymond (rangid) wrote :

Launchpad/Bug: https://bugs.launchpad.net/mahara/+bug/1839223
Gerrit/Patchset: https://reviews.mahara.org/#/c/10325/
Mahara Environment: my Ubuntu VM
Browser tested: Firefox & Chrome
Theme used: Default

**TEST SCENARIO: Verify that when creating a page via tags, the copied blocks have the correct text for both institution and user tags
(please see attached pre-fix defect screenshots prefixed with SS1-1 and SS1-2).
--------------

**PRECONDITIONS:
---------------
1) An institution 'Institution one' exists with an institution tag named 'copy' i.e. "Institution one: copy"
2) User1 is a member of the above institute and has previously tagged:
   2a) some page blocks with the user tag "fruit" (2 items - see screenshot prefixed with SS2)
   2b) some page blocks with the "Institution one: copy" tag (2 items - see screenshot prefixed with SS2)
   2c) at least one page block with BOTH the institute and the user tags (1 item - see screenshot prefixed with SS2)

**TEST STEPS:
-------------
a) Regression test user tag
Step 1) Logged in user1 selects to create a new page --> the new page screen is displayed
Step 2) User1 sets the field "Create via tags" to "fruit" then user saves the page and views it
Expected result 2: the page is displayed with the tag "fruit" and the correct items are present
Actual result2: as expected (see attachment prefixed with SS3) ✓

b) Test fix of Institution tag
Step 3) User1 selects to create a new page --> the new page screen is displayed
Step 4) User1 sets the field "Create via tags" to "Institution one: copy" then user saves the page and views it
Expected result 4: the page is displayed with the tag "Institution one: copy" and the correct items are present
Actual result4: as expected (see attachment prefixed with SS4) ✓
Note: other user tags are also displayed as they were included with the institution tag on one of the blocks.

c) Regression test combined tag use
Step 5) User1 selects to create a new page --> the new page screen is displayed
Step 6) User1 sets the field "Create via tags" to contain both "Institution one: copy" & "fruit" then user saves the page and views it
Expected result 6: the page is displayed with both tags "Institution one: copy" and the correct items are present
Actual result6: as expected (see attachment prefixed with SS5) ✓