summaryrefslogtreecommitdiff
path: root/features/dashboard
diff options
context:
space:
mode:
authorrandx <dmitriy.zaporozhets@gmail.com>2012-06-16 12:50:14 +0300
committerrandx <dmitriy.zaporozhets@gmail.com>2012-06-16 12:50:14 +0300
commit781fd1a80c6b65fa8c0cd71001be681e955c4edb (patch)
treee766cc83fd9d516930b45afd90a6b1ff43c7ae3d /features/dashboard
parent85b86e6476f5a9810f9c13b3a62c457439305f13 (diff)
downloadgitlab-ce-781fd1a80c6b65fa8c0cd71001be681e955c4edb.tar.gz
Cucumber -> Dashboard features
Diffstat (limited to 'features/dashboard')
-rw-r--r--features/dashboard/dashboard.feature18
-rw-r--r--features/dashboard/search.feature11
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
+
+