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:
authorPhil Hughes <me@iamphill.com>2016-08-11 19:48:32 +0300
committerAlfredo Sumaran <alfredo@gitlab.com>2016-08-13 08:57:40 +0300
commitf668da11cb225a9b2c2f1d3ba9d1e9fb2797d4f9 (patch)
tree48f54ed40d288979f1c14c90c79cc456fe6010b7 /features/steps/dashboard/merge_requests.rb
parent2675c9d632c9560a94e98cd3830e2dfdfbbc2bd4 (diff)
Updated tests
Diffstat (limited to 'features/steps/dashboard/merge_requests.rb')
-rw-r--r--features/steps/dashboard/merge_requests.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/features/steps/dashboard/merge_requests.rb b/features/steps/dashboard/merge_requests.rb
index 06db36c7014..6777101fb15 100644
--- a/features/steps/dashboard/merge_requests.rb
+++ b/features/steps/dashboard/merge_requests.rb
@@ -47,9 +47,14 @@ class Spinach::Features::DashboardMergeRequests < Spinach::FeatureSteps
step 'I click "All" link' do
find(".js-author-search").click
+ expect(page).to have_selector(".dropdown-menu-author li a")
find(".dropdown-menu-author li a", match: :first).click
+ expect(page).not_to have_selector(".dropdown-menu-author li a")
+
find(".js-assignee-search").click
+ expect(page).to have_selector(".dropdown-menu-assignee li a")
find(".dropdown-menu-assignee li a", match: :first).click
+ expect(page).not_to have_selector(".dropdown-menu-assignee li a")
end
def should_see(merge_request)