diff options
author | Phil Hughes <me@iamphill.com> | 2016-08-11 19:48:32 +0300 |
---|---|---|
committer | Alfredo Sumaran <alfredo@gitlab.com> | 2016-08-13 08:57:40 +0300 |
commit | f668da11cb225a9b2c2f1d3ba9d1e9fb2797d4f9 (patch) | |
tree | 48f54ed40d288979f1c14c90c79cc456fe6010b7 /features/steps/dashboard/merge_requests.rb | |
parent | 2675c9d632c9560a94e98cd3830e2dfdfbbc2bd4 (diff) |
Updated tests
Diffstat (limited to 'features/steps/dashboard/merge_requests.rb')
-rw-r--r-- | features/steps/dashboard/merge_requests.rb | 5 |
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) |