From ffbd067a4ee83076b16259d669d58c0156f61f05 Mon Sep 17 00:00:00 2001 From: Janette Day Date: Thu, 29 Mar 2018 08:45:21 -0500 Subject: [PATCH] apply dkan #2405 patch for group.editor test --- dkan/test/features/group.editor.feature | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/dkan/test/features/group.editor.feature b/dkan/test/features/group.editor.feature index e178fab83..819942186 100644 --- a/dkan/test/features/group.editor.feature +++ b/dkan/test/features/group.editor.feature @@ -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" @@ -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