mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-27 18:52:07 +08:00
8 lines
295 B
Ruby
8 lines
295 B
Ruby
Given(/^I'm on the Results page of a "([^"]*)" task$/) do |task_name|
|
|
task = MyModule.find_by_name(task_name)
|
|
visit results_my_module_path(task)
|
|
end
|
|
|
|
Given(/^I click edit "(.+)" result icon$/) do |result_name|
|
|
find('.panel-heading', text: result_name).find('.edit-result-asset').click
|
|
end
|