find('a,button', text: 'Run').click
end
+ # project chooser
+ within('.modal-dialog') do
+ find('.selectable', text: 'A Project').click
+ find('button', text: 'Choose').click
+ end
+
# This pipeline needs input. So, Run should be disabled
page.assert_selector 'a.disabled,button.disabled', text: 'Run'
instance_page = current_path
- # put this pipeline instance in "A Project"
- find('button', text: 'Choose a project...').click
- within('.modal-dialog') do
- find('.selectable', text: 'A Project').click
- find('button', text: 'Move').click
- end
-
# Go over to the collections page and select something
visit '/collections'
within('tr', text: 'GNU_General_Public_License') do
within('.modal-dialog') do
find('.btn', text: 'Add').click
end
-
+
find('tr[data-kind="arvados#pipelineInstance"]', text: 'New pipeline instance').
find('a', text: 'Show').
click
click
within('.modal-dialog') do
- find('span', text: 'foo_tag').click
+ first('span', text: 'foo_tag').click
find('button', text: 'OK').click
end
visit '/projects'
find('.arv-project-list a,button', text: 'A Project').click
- find('#collections-menu').click
+ find('li.selection-menu > a').click
click_button 'Copy selections into this project'
# create a pipeline instance
click
within('.modal-dialog') do
- find('span', text: 'foo_tag').click
+ first('span', text: 'foo_tag').click
find('button', text: 'OK').click
end