diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-12-24 12:56:03 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-12-24 12:56:03 +0200 |
commit | 97d7c06f781f17a21689cf35410009f1247427e9 (patch) | |
tree | 3d5bf19b601d73513b166434df2cd19b30b38d6f /features/steps/dashboard/merge_requests.rb | |
parent | 7b792af872699cd9439c750b780b0b906342cff0 (diff) | |
download | gitlab-ce-97d7c06f781f17a21689cf35410009f1247427e9.tar.gz |
Fix scroll problems and disable authorized_only filter
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'features/steps/dashboard/merge_requests.rb')
-rw-r--r-- | features/steps/dashboard/merge_requests.rb | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/features/steps/dashboard/merge_requests.rb b/features/steps/dashboard/merge_requests.rb index 75e53173d3f..6261c89924c 100644 --- a/features/steps/dashboard/merge_requests.rb +++ b/features/steps/dashboard/merge_requests.rb @@ -39,14 +39,20 @@ class Spinach::Features::DashboardMergeRequests < Spinach::FeatureSteps end step 'I click "Authored by me" link' do - within ".scope-filter" do - click_link 'Created by me' + within ".assignee-filter" do + click_link "Any" + end + within ".author-filter" do + click_link current_user.name end end step 'I click "All" link' do - within ".scope-filter" do - click_link "Everyone's" + within ".author-filter" do + click_link "Any" + end + within ".assignee-filter" do + click_link "Any" end end |