diff options
author | Nihad Abbasov <narkoz.2008@gmail.com> | 2012-09-10 12:51:02 +0400 |
---|---|---|
committer | Nihad Abbasov <narkoz.2008@gmail.com> | 2012-09-10 13:20:12 +0400 |
commit | d74f54736b8aabb3885648c44d7e253209b8e9e1 (patch) | |
tree | 8531def14e27e034edb018fa524b287bf8690618 /features/dashboard | |
parent | bb75052a904c24d1484fa6ec0ad96839effb8ee3 (diff) |
rewrite dashboard feature steps using spinach
Diffstat (limited to 'features/dashboard')
-rw-r--r-- | features/dashboard/dashboard.feature | 7 | ||||
-rw-r--r-- | features/dashboard/issues.feature | 6 | ||||
-rw-r--r-- | features/dashboard/merge_requests.feature | 8 | ||||
-rw-r--r-- | features/dashboard/search.feature | 10 |
4 files changed, 14 insertions, 17 deletions
diff --git a/features/dashboard/dashboard.feature b/features/dashboard/dashboard.feature index 98bb49803f3..9756bc7f64d 100644 --- a/features/dashboard/dashboard.feature +++ b/features/dashboard/dashboard.feature @@ -1,9 +1,9 @@ Feature: Dashboard - Background: - Given I signin as a user + Background: + Given I sign in as a user And I own project "Shop" And project "Shop" has push event - And I visit dashboard page + And I visit dashboard page Scenario: I should see projects list Then I should see "New Project" link @@ -25,4 +25,3 @@ Feature: Dashboard And user with name "John Doe" left project "Shop" When I visit dashboard page Then I should see "John Doe left project Shop" event - diff --git a/features/dashboard/issues.feature b/features/dashboard/issues.feature index c3361bb313f..895b89aa38a 100644 --- a/features/dashboard/issues.feature +++ b/features/dashboard/issues.feature @@ -1,8 +1,8 @@ Feature: Dashboard Issues - Background: - Given I signin as a user + Background: + Given I sign in as a user And I have assigned issues - And I visit dashboard issues page + And I visit dashboard issues page Scenario: I should see issues list Then I should see issues assigned to me diff --git a/features/dashboard/merge_requests.feature b/features/dashboard/merge_requests.feature index 90b8749c5a7..cad65b0d79a 100644 --- a/features/dashboard/merge_requests.feature +++ b/features/dashboard/merge_requests.feature @@ -1,8 +1,8 @@ -Feature: Dashboard MR - Background: - Given I signin as a user +Feature: Dashboard Merge Requests + Background: + Given I sign in as a user And I have authored merge requests - And I visit dashboard merge requests page + And I visit dashboard merge requests page Scenario: I should see projects list Then I should see my merge requests diff --git a/features/dashboard/search.feature b/features/dashboard/search.feature index f053fe86fc8..91d870f46f3 100644 --- a/features/dashboard/search.feature +++ b/features/dashboard/search.feature @@ -1,11 +1,9 @@ Feature: Dashboard Search - Background: - Given I signin as a user + Background: + Given I sign in as a user And I own project "Shop" - And I visit dashboard search page + And I visit dashboard search page - Scenario: I should see project i'm looking for + Scenario: I should see project I am looking for Given I search for "Sho" Then I should see "Shop" project link - - |