← Back to team overview

mahara-contributors team mailing list archive

[Bug 1663437] Re: As group member I should see pages in group collections ( behat test)

 

*** This bug is a duplicate of bug 1663409 ***
    https://bugs.launchpad.net/bugs/1663409

** This bug has been marked a duplicate of bug 1663409
   Behat unable to add pages to group/institution collections  as background step

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

Title:
  As group member I should see pages in group collections ( behat test)

Status in Mahara:
  New

Bug description:
  While writing a Behat test I came across a error message showing up
  for a pre condition.

  Here is the test case for it

  1)In a group, there should be 2 memebrs( pre condition)
  2)UserA creates a collection with more than 2 pages( pre condition)
  3)As UserB I should see the collection in " shared with me" screen
  4)As USerA I must be able to delete the fist page of the collection

  for the above 4th step I am unable to see pages in the group
  collection and it is failing during the pre condition even if the
  owner and group type are given.

  Here is what I see when executing the behat test

  And the following "collections" exist: # BehatDataGenerators::the_following_exist()
        | title         | description               | ownertype | ownername | pages            |
        | Collection 01 | This is the collection 01 | group     | Group Y   | Page 06, Page 12 |
        | Collection 02 | This is the collection 02 | group     | Group Y   | Page 07          |
        The page 'Page 06' does not exist or not belong to the user 'Group Y'. (SystemException)

  Page 06 is already a part og group Y in the above case.

  @robertl is looking into it

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


References