Behat: Confirm Inst tags can be used on Inst pages

Bug #1823801 reported by Steven
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Medium
Unassigned

Bug Description

TITLE: Behat: Confirm Inst tags can be used on Inst pages

BEHAT SCRIPT : Create/Update Script feature file ->institution_tags.feature

RELATED TO: https://bugs.launchpad.net/mahara/+bug/1800321

SUMMARY:
When an admin sets up institution tags, they are not available when setting up institution pages or content for the institution.
This will make it harder for people using the institution tags as the institution admin would want to use the official tags on templates that are copied to institution members.

REQUIREMENTS:

1) Confirm Inst tags can be used on Inst pages

Tags: behat
Steven (stevens-q)
tags: added: behat
Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/9724

Revision history for this message
Steven (stevens-q) wrote :

Revised the Behat script to include all of the following

Test for the following
  1) Site admin & Inst admin Users can create or delete Institution tags
  2) Inst tags can be used on Inst pages
  3) Inst tags can be used on contant such as journals
  4) Inst tags can be used on User Portfolio pages
  5) User should not be able to select the same tag that has been previously used
  7) Verify that the Correct tags used are displayed when viewing the displayed page

NOTE: #6 is out of scope at this time until a patch is made - script will include steps but they will be commented out

6) Verify that the tags have been Not been shortened to 3 characters and also display the number of times used

Changed in mahara:
status: New → Confirmed
importance: Undecided → Medium
milestone: none → 19.10.0
Changed in mahara:
status: Confirmed → In Progress
Revision history for this message
Steven (stevens-q) wrote :

Revised the Behat script to include.

1) Inst admin put an institution tag on a text block artefact on an Institution page

=======================================
A Test was suggested to test whether another user who is not a member of instone can see the institution tags for instone.

it is not possible at this time to test this with existing Behat steps - A Step definition would be required to fill in select2 search input with a value a and then see if the results contained or not contained a specified value

Dev said it would require a lot of effort.
======================================

Changed in mahara:
milestone: 19.10.0 → 20.04.0
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/9724
Committed: https://git.mahara.org/mahara/mahara/commit/939cdaa8bfc495d169f45a67f4b9d666d7c30e3d
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 939cdaa8bfc495d169f45a67f4b9d666d7c30e3d
Author: Steven Spinelli <email address hidden>
Date: Tue Apr 9 10:02:37 2019 +1200

Behat Bug 1823801 Confirm Inst tags can be used on Inst pages
Added Inst admin put an institution tag on a text block artefact on an
institution page

Change-Id: Ib8ac9254f6bed25bda1fc1971b640feb3cb34a74

Robert Lyon (robertl-9)
Changed in mahara:
status: In Progress → Fix Committed
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.