From 57e938360959b195a0e6ee0d66d0353910e9b9c1 Mon Sep 17 00:00:00 2001 From: Philipp Tessenow Date: Tue, 6 Aug 2013 10:51:29 +0200 Subject: [PATCH] test wiki activity with a cuke --- features/activities/index.feature | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/features/activities/index.feature b/features/activities/index.feature index ea88194643..8e389f36fc 100644 --- a/features/activities/index.feature +++ b/features/activities/index.feature @@ -34,3 +34,14 @@ Scenario: Hide activity from Projects with disabled activity module When I go to the overall activity page Then I should see "project1" within "#activity" And I should not see "project2" within "#activity" + +Scenario: Hide wiki activity from Projects with disabled activity module + Given the project "project1" has 1 wiki page with the following: + | title | Project1Wiki | + Given the project "project2" has 1 wiki page with the following: + | title | Project2Wiki | + When I go to the overall activity page + And I check "Wiki edits" within "#menu-sidebar" + And I press "Apply" within "#menu-sidebar" + Then I should see "project1" within "#activity" + And I should not see "project2" within "#activity"