aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2012-07-18 11:35:23 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2012-07-18 11:35:46 +0200
commit2fa81a44b5077e6fbdb6fce15c2081c187636463 (patch)
treeba2191fc4fe4378a5005b06531e446aa7f72fb2f
parentcf82d046676cd645f2068e9995abbfced825a022 (diff)
downloadsonarqube-2fa81a44b5077e6fbdb6fce15c2081c187636463.tar.gz
sonarqube-2fa81a44b5077e6fbdb6fce15c2081c187636463.zip
Add HTML ids for selenium tests
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/filters/new.html.erb6
1 files changed, 3 insertions, 3 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/filters/new.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/filters/new.html.erb
index 70ab4edbe98..e1a1ff93546 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/filters/new.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/filters/new.html.erb
@@ -24,7 +24,7 @@
<td>
<b><span id="path_name"><%= @filter.resource ? @filter.resource.path_name : params[:path_name] -%></span></b>
<input type="hidden" name="path_id" id="path_id" value="<%= @filter.resource ? @filter.resource.id : params[:path_id] -%>"/>
- <a onclick="searchPopup(this);return false;" href="<%= url_for :action => :search_path, :search => (@filter.resource ? @filter.resource.name : nil) -%>"><%= message('search_verb') -%></a>
+ <a onclick="searchPopup(this);return false;" href="<%= url_for :action => :search_path, :search => (@filter.resource ? @filter.resource.name : nil) -%>" id="open-path-popup"><%= message('search_verb') -%></a>
<a href="#" onClick="resetPath();return false;" id="reset_path_link" style="<%= 'display: none' unless @filter.resource -%>"><%= message('reset_verb') -%></a>
</td>
</tr>
@@ -154,9 +154,9 @@
<tbody>
<tr>
<td colspan="2">
- <input type="submit" value="<%= message('save_and_preview') -%>" onclick="filter_form.preview.value='true';return true;"/>
+ <input type="submit" value="<%= message('save_and_preview') -%>" onclick="filter_form.preview.value='true';return true;" id="submit_save_preview"/>
<span class="spacer"> </span>
- <input type="submit" value="<%= message('save_and_close') -%>"/>
+ <input type="submit" value="<%= message('save_and_close') -%>" id="submit_save_close"/>
<span class="spacer"> </span>
<% if @filter.id
confirmation_message = message('filters.do_you_want_to_delete')