2009-04-13 22:26:20 +02:00
|
|
|
When /^I click on the chart for actions done in the last 12 months$/ do
|
|
|
|
|
# cannot really click the chart which is a swf
|
|
|
|
|
visit stats_path + "/actions_done_last_years"
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
Then /^I should see a chart$/ do
|
2014-05-16 15:42:03 -04:00
|
|
|
expect(page).to have_css("div.open-flash-chart")
|
2009-04-13 22:26:20 +02:00
|
|
|
end
|
|
|
|
|
|
|
|
|
|
When /^I click on the chart for running time of all incomplete actions$/ do
|
|
|
|
|
# cannot really click the chart which is a swf
|
|
|
|
|
visit stats_path + "/show_selected_actions_from_chart/art?index=0"
|
|
|
|
|
end
|
2012-03-12 22:52:45 +01:00
|
|
|
|
|
|
|
|
When /^I click on the chart for running time of all incomplete visible actions$/ do
|
|
|
|
|
# cannot really click the chart which is a swf
|
|
|
|
|
visit stats_path + "/show_selected_actions_from_chart/avrt?index=0"
|
|
|
|
|
end
|