diff options
author | Bryce Johnson <bryce@gitlab.com> | 2017-05-15 15:51:20 -0400 |
---|---|---|
committer | Bryce Johnson <bryce@gitlab.com> | 2017-05-15 15:51:20 -0400 |
commit | dadd74b5749444259f9216a012645f3deddfde2d (patch) | |
tree | 0a00876e180256fd170014ebb3f58ee8069bd171 | |
parent | ed7bec31cf874de8e4923674d732618fcf654c76 (diff) | |
download | gitlab-ce-dadd74b5749444259f9216a012645f3deddfde2d.tar.gz |
Use classes to select dropdown buttons.32172-improve-responsive-styling-of-pipeline-schedules-form
-rw-r--r-- | spec/features/projects/pipeline_schedules_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/projects/pipeline_schedules_spec.rb b/spec/features/projects/pipeline_schedules_spec.rb index a97ec25bd16..03a30bfb996 100644 --- a/spec/features/projects/pipeline_schedules_spec.rb +++ b/spec/features/projects/pipeline_schedules_spec.rb @@ -123,12 +123,12 @@ feature 'Pipeline Schedules', :feature do end def select_timezone - click_button 'Select a timezone' + find('.js-timezone-dropdown').click click_link 'American Samoa' end def select_target_branch - click_button 'Select target branch' + find('.js-target-branch-dropdown').click click_link 'master' end |