diff options
author | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-03-29 21:16:57 +0000 |
---|---|---|
committer | Jacob Schatz <jschatz@gitlab.com> | 2017-03-29 21:16:57 +0000 |
commit | d08d12ae0395a7f95440e0f179de40283f2882ad (patch) | |
tree | 9950035e870b30ed4b38e13a70c79aa4f20c1ed2 /features | |
parent | 4cf16426da202eb1b03197885d8437385d1e0dd0 (diff) | |
download | gitlab-ce-d08d12ae0395a7f95440e0f179de40283f2882ad.tar.gz |
Add shortcuts and counters to MRs and issues in navbar
Diffstat (limited to 'features')
-rw-r--r-- | features/steps/dashboard/todos.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/features/steps/dashboard/todos.rb b/features/steps/dashboard/todos.rb index 9f01dff776f..7bd3c7ee653 100644 --- a/features/steps/dashboard/todos.rb +++ b/features/steps/dashboard/todos.rb @@ -28,7 +28,7 @@ class Spinach::Features::DashboardTodos < Spinach::FeatureSteps merge_request_reference = merge_request.to_reference(full: true) issue_reference = issue.to_reference(full: true) - page.within('.todos-pending-count') { expect(page).to have_content '4' } + page.within('.todos-count') { expect(page).to have_content '4' } expect(page).to have_content 'To do 4' expect(page).to have_content 'Done 0' @@ -44,7 +44,7 @@ class Spinach::Features::DashboardTodos < Spinach::FeatureSteps click_link 'Done' end - page.within('.todos-pending-count') { expect(page).to have_content '3' } + page.within('.todos-count') { expect(page).to have_content '3' } expect(page).to have_content 'To do 3' expect(page).to have_content 'Done 1' should_see_todo(1, "John Doe assigned you merge request #{merge_request.to_reference(full: true)}", merge_request.title, state: :done_reversible) @@ -56,7 +56,7 @@ class Spinach::Features::DashboardTodos < Spinach::FeatureSteps click_link 'Mark all as done' - page.within('.todos-pending-count') { expect(page).to have_content '0' } + page.within('.todos-count') { expect(page).to have_content '0' } expect(page).to have_content 'To do 0' expect(page).to have_content 'Done 4' expect(page).to have_content "You're all done!" |