webapp/app/views/test/suites.html.erb in cloud-toaster-1.1.4 vs webapp/app/views/test/suites.html.erb in cloud-toaster-1.1.5
- old
+ new
@@ -150,10 +150,10 @@
<td>
<% if test.automation_run && test.automation_run.id %>
<%= link_to 'details', "/execs/#{test_suite.automation.id}/#{test.automation_run.id}" %>
<% end %>
</td><td>
- <% if !test.running_or_scheduled? %>
+ <% if !test.automation_run && !test.running_or_scheduled? %>
<%= link_to 'execute', "/test/exec/#{test.test_suite.id}/#{test.id}",
:data => { :confirm => 'Are you sure you want to execute this test case?', :method => :post } %>
<% end %>
</td>
<td>
\ No newline at end of file