mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-21 01:30:12 +01:00
Update selenium on rails using 'official' git repo
git://github.com/paytonrules/selenium-on-rails.git
This commit is contained in:
parent
198f3240b8
commit
9b504b3e47
159 changed files with 16409 additions and 11794 deletions
|
|
@ -1,26 +1,26 @@
|
|||
<% @page_title = test_suite_name @suite_path -%>
|
||||
<% @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
|
||||
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 -%>
|
||||
</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