aboutsummaryrefslogtreecommitdiffstats
path: root/it
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2016-03-10 16:11:18 +0100
committerStas Vilchik <vilchiks@gmail.com>2016-03-10 16:11:18 +0100
commit6c85674174a202268c5aadf4e529cff0c3716251 (patch)
tree2890deb2263fe5fe7384792c60c411352639e244 /it
parent85ba9f195b61f8c03641c1d1cc16e414415970b9 (diff)
downloadsonarqube-6c85674174a202268c5aadf4e529cff0c3716251.tar.gz
sonarqube-6c85674174a202268c5aadf4e529cff0c3716251.zip
SONAR-7402 improve IT to check measures home page
Diffstat (limited to 'it')
-rw-r--r--it/it-tests/src/test/resources/measure/ProjectMeasuresPageTest/should_display_measures_page.html17
1 files changed, 16 insertions, 1 deletions
diff --git a/it/it-tests/src/test/resources/measure/ProjectMeasuresPageTest/should_display_measures_page.html b/it/it-tests/src/test/resources/measure/ProjectMeasuresPageTest/should_display_measures_page.html
index 4e0a1cd0694..67fdb23d451 100644
--- a/it/it-tests/src/test/resources/measure/ProjectMeasuresPageTest/should_display_measures_page.html
+++ b/it/it-tests/src/test/resources/measure/ProjectMeasuresPageTest/should_display_measures_page.html
@@ -10,7 +10,22 @@
<tbody>
<tr>
<td>open</td>
- <td>/component_measures/ncloc?id=project-measures-page-test-project</td>
+ <td>/component_measures?id=project-measures-page-test-project</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>id=measure-ncloc</td>
+ <td></td>
+</tr>
+<tr>
+ <td>assertText</td>
+ <td>id=measure-ncloc</td>
+ <td>*13*</td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>css=#measure-ncloc &gt; a</td>
<td></td>
</tr>
<tr>