Browse Source

fix some integration tests

tags/2.6
simonbrandhof 13 years ago
parent
commit
c35e58fb40

+ 1
- 1
sonar-server/src/main/webapp/WEB-INF/app/views/profiles/permalinks.html.erb View File

@@ -9,7 +9,7 @@
<br/>
<table class="data2 without-header marginbottom10" id="permalinks-table">
<tbody>
<% exporters.each do |exporter| %>
<% exporters.to_a.sort{|x,y| x.getName() <=> y.getName()}.each do |exporter| %>
<tr class="<%= cycle('even','odd') -%>">
<td width="1%" nowrap>
<%= h exporter.getName() -%>

+ 0
- 5
tests/integration/tests/src/it/selenium/profiles/link-profile-to-project.html View File

@@ -71,11 +71,6 @@
<td>Profile 'Sonar way' associated to 1 projects</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Quality profiles</td>
<td></td>
</tr>
<tr>
<td>assertSelectOptions</td>
<td>to</td>

+ 27
- 43
tests/integration/tests/src/it/selenium/profiles/should_import_checkstyle_findbugs_pmd.html View File

@@ -11,66 +11,50 @@
<thead>
<tr><td rowspan="1" colspan="3">should_import_checkstyle_findbugs_pmd</td></tr>
</thead><tbody>
<tr>
<td>open</td>
<td>/sessions/logout</td>
<td></td>
</tr>
<tr>
<td>open</td>
<td>/sessions/login</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>login</td>
<td>admin</td>
</tr>
<tr>
<td>type</td>
<td>password</td>
<td>admin</td>
</tr>
<tr>
<td>clickAndWait</td>
<td>commit</td>
<td></td>
</tr>
<tr>
<td>open</td>
<td>/profiles</td>
<td>/sessions/logout</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>create_profile</td>
<td>open</td>
<td>/sessions/login</td>
<td></td>
</tr>
<tr>
<td>waitForText</td>
<td>form_create_profile</td>
<td>glob:*Name*</td>
<td>type</td>
<td>login</td>
<td>admin</td>
</tr>
<tr>
<td>assertSelectedLabel</td>
<td>language</td>
<td>Java</td>
<td>type</td>
<td>password</td>
<td>admin</td>
</tr>
<tr>
<td>assertText</td>
<td>form_create_profile</td>
<td>glob:*PMD*</td>
<td>clickAndWait</td>
<td>commit</td>
<td></td>
</tr>
<tr>
<td>assertText</td>
<td>form_create_profile</td>
<td>glob:*Checkstyle*</td>
<td>open</td>
<td>/profiles</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>create-link-java</td>
<td></td>
</tr>
<tr>
<td>waitForValue</td>
<td>name</td>
<td></td>
</tr>
<tr>
<td>assertText</td>
<td>form_create_profile</td>
<td>glob:*Findbugs*</td>
<td>create-form-java</td>
<td>glob:*Checkstyle*Findbugs*PMD*</td>
</tr>

</tbody></table>

Loading…
Cancel
Save