modified_date.feature 1.62 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
@javascript @core @core_artefact
Feature: Modified date on collections shared with a group
In order to seeing the last modified date on a collection shared to a group
As a student
So I can see when the collection was updated last


Scenario: Adding collection to group (Bug 1448807)
 Given the following "users" exist:
     | username | password | email | firstname | lastname | institution | authname | role |
11
     | userA | Kupuhipa1 | test01@example.com | Pete | Mc | mahara | internal | member |
12
13
14
15
16
17
 And the following "groups" exist:
     | name | owner | description | grouptype | open | invitefriends | editroles | submittableto | allowarchives | members | admins |
     | group 01 | userA | This is group 01 | standard | ON | ON | all | ON | ON | userA | userA |
 And the following "pages" exist:
     | title | description| ownertype | ownername |
     | Site Page 01 | This is the page 01 of the site | group 01 | userA |
18
 When I log in as "userA" with password "Kupuhipa1"
19
20
21
22
23
24
25
26
27
 And I choose "Collections" in "Portfolio"
 And I follow "New collection"
 And I set the following fields to these values:
 | Collection name * | The A team |
 And I press "Next: Edit collection pages"
 And I set the following fields to these values:
 | Site Page 01 | 1 |
 And I press "Add pages"
 And I wait until the page is ready
28
 And I follow "Done"
29
 And I choose "Shared by me" in "Portfolio"
30
 And I follow "Edit access"
Robert Lyon's avatar
Robert Lyon committed
31
 And I select "group 01" from "accesslist[0][searchtype]"
32
 And I press "Save"
33
 Then I should see "Access rules were updated for 1 page"
34
35
 And I follow "Groups"
 And I follow "group 01"
36
 And I should see "Updated" in the "#sharedcollectionlist" element
37