← Back to team overview

mahara-contributors team mailing list archive

[Bug 1892119] Re: Behat: Test for basic group elements

 

** Changed in: mahara
       Status: New => Confirmed

** Changed in: mahara
   Importance: Undecided => Medium

-- 
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/1892119

Title:
  Behat: Test for basic group elements

Status in Mahara:
  Confirmed

Bug description:
  Automating manual test. Test from spreadsheet is below:

  Pre req: Site Admin allowed to create groups

  Displays Create group button, Group categories, Filter, Settings and Delete (to remove group permanently).
  Click Accept button to join a group  or Decline 

  
  1. Set up a new test called social/group_main.feature, with a @mainflow tag
  2. Add 2 users and 2 groups as background steps. 
   a. The first user should own GroupA and the second user should not be a member.
   b. The second user should own GroupB.
  3. Admin logs in, turns on group categories.
  3. UserA logs in, edits the group to add a category and invites UserB to join the group.
  4. UserB logs in, goes the the Group page and should see the following:
  - create group button
  - group category
  - Filter by label
  In the GroupA row
  - Accept
  - Decline
  In the GroupB row:
  - Label
  - Settings
  - Delete

  Note that if group category and invitations could be added in the
  background, this test would be shorter:
  https://bugs.launchpad.net/mahara/+bug/1892118

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


References