diff options
author | randx <dmitriy.zaporozhets@gmail.com> | 2012-06-16 13:50:14 +0400 |
---|---|---|
committer | randx <dmitriy.zaporozhets@gmail.com> | 2012-06-16 13:50:14 +0400 |
commit | 781fd1a80c6b65fa8c0cd71001be681e955c4edb (patch) | |
tree | e766cc83fd9d516930b45afd90a6b1ff43c7ae3d /features/dashboard | |
parent | 85b86e6476f5a9810f9c13b3a62c457439305f13 (diff) |
Cucumber -> Dashboard features
Diffstat (limited to 'features/dashboard')
-rw-r--r-- | features/dashboard/dashboard.feature | 18 | ||||
-rw-r--r-- | features/dashboard/search.feature | 11 |
2 files changed, 29 insertions, 0 deletions
diff --git a/features/dashboard/dashboard.feature b/features/dashboard/dashboard.feature index e69de29bb2d..2d66af53b7b 100644 --- a/features/dashboard/dashboard.feature +++ b/features/dashboard/dashboard.feature @@ -0,0 +1,18 @@ +Feature: Dashboard + Background: + Given I signin as a user + And I own project "Shop" + And project "Shop" has push event + And I visit dashboard page + + Scenario: I should see projects list + Then I should see "New Project" link + Then I should see "Shop" project link + Then I should see project "Shop" activity feed + + Scenario: I should see last pish widget + Then I should see last push widget + And I click "Create Merge Request" link + Then I see prefilled new Merge Request page + + diff --git a/features/dashboard/search.feature b/features/dashboard/search.feature index e69de29bb2d..f053fe86fc8 100644 --- a/features/dashboard/search.feature +++ b/features/dashboard/search.feature @@ -0,0 +1,11 @@ +Feature: Dashboard Search + Background: + Given I signin as a user + And I own project "Shop" + And I visit dashboard search page + + Scenario: I should see project i'm looking for + Given I search for "Sho" + Then I should see "Shop" project link + + |