Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Commit

Permalink
apply dkan #2405 patch for group.editor test
Browse files Browse the repository at this point in the history
  • Loading branch information
janette committed Mar 29, 2018
1 parent 85119b0 commit ffbd067
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions dkan/test/features/group.editor.feature
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ Feature: Site Manager administer groups
| Gabriel | Group A | administrator member | Active |
| Katie | Group A | member | Active |
| Jaz | Group A | member | Pending |
And resources:
| title | publisher | format | author | published | description |
| GER1 | Group A | csv | Katie | Yes | |

Scenario: Edit group as group administrator
Given I am logged in as "Gabriel"
Expand Down Expand Up @@ -140,15 +137,21 @@ Feature: Site Manager administer groups
Then I should see "Total members: 3"

Scenario: View the number of content on group as group administrator
Given I am logged in as "Gabriel"
Given resources:
| title | publisher | format | author | published | description |
| content2 | Group A | csv | Katie | Yes | |
And I am logged in as "Gabriel"
And I am on "Group A" page
And I click "Group"
When I click "People"
Then I should see "Total content: 1"

Scenario: Edit resource content created by others on group as editor
Given I am logged in as "Martin"
And I am on "GER1" page
Given resources:
| title | publisher | format | author | published | description |
| content1 | Group A | csv | Katie | Yes | |
And I am logged in as "Martin"
And I am on "content1" page
Then I should see "Edit"

Scenario: Show correct number of groups to which user belongs
Expand Down

0 comments on commit ffbd067

Please sign in to comment.