Commit dadd74b5 authored by Bryce Johnson's avatar Bryce Johnson

Use classes to select dropdown buttons.

parent ed7bec31
...@@ -123,12 +123,12 @@ feature 'Pipeline Schedules', :feature do ...@@ -123,12 +123,12 @@ feature 'Pipeline Schedules', :feature do
end end
def select_timezone def select_timezone
click_button 'Select a timezone' find('.js-timezone-dropdown').click
click_link 'American Samoa' click_link 'American Samoa'
end end
def select_target_branch def select_target_branch
click_button 'Select target branch' find('.js-target-branch-dropdown').click
click_link 'master' click_link 'master'
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment