mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-10 09:28:37 +08:00
9 lines
295 B
Ruby
9 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
|