Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Schatz <jschatz@gitlab.com>2017-06-22 05:30:45 +0300
committerClement Ho <ClemMakesApps@gmail.com>2017-06-22 05:33:20 +0300
commit99ea71885eeff6b10574bc14f49f272c779c542f (patch)
treeb48be7e55ec77d916f99b26da834f1a000d7393e /spec/features
parent407348faa6801f6e65ee80934a75da3c7548d296 (diff)
Merge branch '33833-issue-and-mr-state-tabs-don-t-work-on-dashboard' into 'master'
Resolve "Issue and MR state tabs don't work on dashboard" Closes #33833 See merge request !12278
Diffstat (limited to 'spec/features')
-rw-r--r--spec/features/dashboard/issues_spec.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/features/dashboard/issues_spec.rb b/spec/features/dashboard/issues_spec.rb
index 2cea6b1563e..3b987a0644d 100644
--- a/spec/features/dashboard/issues_spec.rb
+++ b/spec/features/dashboard/issues_spec.rb
@@ -59,6 +59,11 @@ RSpec.describe 'Dashboard Issues', feature: true do
expect(page).to have_content(other_issue.title)
end
+ it 'state filter tabs work' do
+ find('#state-closed').click
+ expect(page).to have_current_path(issues_dashboard_url(assignee_id: current_user.id, scope: 'all', state: 'closed'), url: true)
+ end
+
it_behaves_like "it has an RSS button with current_user's RSS token"
it_behaves_like "an autodiscoverable RSS feed with current_user's RSS token"
end