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
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
......
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