mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-19 16:50:12 +01:00
Removed superfluous 'tracks' directory at the root of the repository.
Testing commits to github.
This commit is contained in:
parent
6a42901514
commit
4cbf5a34d3
2269 changed files with 0 additions and 0 deletions
26
vendor/plugins/selenium-on-rails/lib/views/test_suite.rhtml
vendored
Normal file
26
vendor/plugins/selenium-on-rails/lib/views/test_suite.rhtml
vendored
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
<% @page_title = test_suite_name @suite_path -%>
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
function openSuite(selector) {
|
||||
var suite = selector.options[selector.selectedIndex].value;
|
||||
if(suite == "header") return;
|
||||
if(top.location.href != location.href) //inside a frame
|
||||
top.location = "<%= url_for :action => :support_file %>/TestRunner.html?test=tests" + suite
|
||||
else
|
||||
window.location = "<%= url_for :action => :test_file, :testname => '' %>" + suite
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<select onchange="openSuite(this)">
|
||||
<option value="header">Suites:</option>
|
||||
<% for name, path in test_suites @suite_path -%>
|
||||
<option value="<%= path %>"><%= name%></option>
|
||||
<% end -%>
|
||||
</select>
|
||||
|
||||
<table>
|
||||
<tr><th><%= @page_title %></th></tr>
|
||||
<% for name, path in test_cases @suite_path -%>
|
||||
<tr><td><%= link_to_test_case name, path %></td></tr>
|
||||
<% end -%>
|
||||
</table>
|
||||
Loading…
Add table
Add a link
Reference in a new issue