summaryrefslogtreecommitdiffstats
path: root/it
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2016-03-10 11:33:36 +0100
committerJulien Lancelot <julien.lancelot@sonarsource.com>2016-03-10 11:33:36 +0100
commit50a7609493223a0916abb96b5b2257e150d53396 (patch)
tree1bdc157843d56c5ac360fb69f15e422cb463c3f2 /it
parent99a0fa8de0b365f67c3c6b05656b4767530a5b01 (diff)
downloadsonarqube-50a7609493223a0916abb96b5b2257e150d53396.tar.gz
sonarqube-50a7609493223a0916abb96b5b2257e150d53396.zip
SONAR-7440 Fix IT
Diffstat (limited to 'it')
-rw-r--r--it/it-tests/src/test/resources/debt/TechnicalDebtWidgetTest/debt-overview/display-differential-values.html51
-rw-r--r--it/it-tests/src/test/resources/debt/TechnicalDebtWidgetTest/debt-overview/should-have-correct-values.html36
-rw-r--r--it/it-tests/src/test/resources/debt/TechnicalDebtWidgetTest/debt-overview/should-open-links-on-measures-service.html76
3 files changed, 81 insertions, 82 deletions
diff --git a/it/it-tests/src/test/resources/debt/TechnicalDebtWidgetTest/debt-overview/display-differential-values.html b/it/it-tests/src/test/resources/debt/TechnicalDebtWidgetTest/debt-overview/display-differential-values.html
index f055f06fc24..1d4c78e0cca 100644
--- a/it/it-tests/src/test/resources/debt/TechnicalDebtWidgetTest/debt-overview/display-differential-values.html
+++ b/it/it-tests/src/test/resources/debt/TechnicalDebtWidgetTest/debt-overview/display-differential-values.html
@@ -2,35 +2,34 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
- <tbody>
- <tr>
- <td>open</td>
- <td>
- /sonar/widget?id=debt_overview&amp;resource=com.sonarsource.it.samples:multi-modules-sample&amp;period=1<br/>
- </td>
- <td></td>
- </tr>
- <tr>
- <td>waitForText</td>
- <td>body</td>
- <td>*29.1% (-1.2)*</td>
- </tr>
- <tr>
- <td>waitForText</td>
- <td>body</td>
- <td>*C*</td>
- </tr>
- <!--No diff value is displayed on the SQALE rating-->
- <tr>
- <td>assertNotText</td>
- <td>body</td>
- <td>*C (*</td>
- </tr>
- </tbody>
+ <tbody>
+ <tr>
+ <td>open</td>
+ <td>/widget?id=debt_overview&amp;resource=com.sonarsource.it.samples:multi-modules-sample&amp;period=1<br/><br/>
+ </td>
+ <td></td>
+ </tr>
+ <tr>
+ <td>waitForText</td>
+ <td>body</td>
+ <td>*29.1% (-1.2)*</td>
+ </tr>
+ <tr>
+ <td>waitForText</td>
+ <td>body</td>
+ <td>*C*</td>
+ </tr>
+ <!--No diff value is displayed on the SQALE rating-->
+ <tr>
+ <td>assertNotText</td>
+ <td>body</td>
+ <td>*C (*</td>
+ </tr>
+ </tbody>
</table>
</body>
</html>
diff --git a/it/it-tests/src/test/resources/debt/TechnicalDebtWidgetTest/debt-overview/should-have-correct-values.html b/it/it-tests/src/test/resources/debt/TechnicalDebtWidgetTest/debt-overview/should-have-correct-values.html
index 2b8fac72b5f..6b7091b7662 100644
--- a/it/it-tests/src/test/resources/debt/TechnicalDebtWidgetTest/debt-overview/should-have-correct-values.html
+++ b/it/it-tests/src/test/resources/debt/TechnicalDebtWidgetTest/debt-overview/should-have-correct-values.html
@@ -2,27 +2,27 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
- <thead>
- <tr>
- <td rowspan="1" colspan="3">should-have-correct-values</td>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>open</td>
- <td>/widget?id=debt_overview&amp;resource=com.sonarsource.it.samples:multi-modules-sample</td>
- <td></td>
- </tr>
- <tr>
- <td>waitForText</td>
- <td>body</td>
- <td>*SQALE Rating*C*Technical Debt Ratio*29.1%*</td>
- </tr>
- </tbody>
+ <thead>
+ <tr>
+ <td rowspan="1" colspan="3">should-have-correct-values</td>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>open</td>
+ <td>/widget?id=debt_overview&amp;resource=com.sonarsource.it.samples:multi-modules-sample</td>
+ <td></td>
+ </tr>
+ <tr>
+ <td>waitForText</td>
+ <td>body</td>
+ <td>*Maintainability Rating*C*Technical Debt Ratio*29.1%*</td>
+ </tr>
+ </tbody>
</table>
</body>
</html>
diff --git a/it/it-tests/src/test/resources/debt/TechnicalDebtWidgetTest/debt-overview/should-open-links-on-measures-service.html b/it/it-tests/src/test/resources/debt/TechnicalDebtWidgetTest/debt-overview/should-open-links-on-measures-service.html
index 6c973914330..b72bc1bd420 100644
--- a/it/it-tests/src/test/resources/debt/TechnicalDebtWidgetTest/debt-overview/should-open-links-on-measures-service.html
+++ b/it/it-tests/src/test/resources/debt/TechnicalDebtWidgetTest/debt-overview/should-open-links-on-measures-service.html
@@ -2,47 +2,47 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
- <thead>
- <tr>
- <td rowspan="1" colspan="3">should-open-links-on-measures-service</td>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>open</td>
- <td>/widget?id=debt_overview&amp;resource=com.sonarsource.it.samples:multi-modules-sample</td>
- <td></td>
- </tr>
- <tr>
- <td>clickAndWait</td>
- <td>link=C</td>
- <td></td>
- </tr>
- <tr>
- <td>waitForText</td>
- <td>content</td>
- <td>*SQALE Rating*C*</td>
- </tr>
- <tr>
- <td>open</td>
- <td>/widget?id=debt_overview&amp;resource=com.sonarsource.it.samples:multi-modules-sample</td>
- <td></td>
- </tr>
- <tr>
- <td>clickAndWait</td>
- <td>link=29.1%</td>
- <td></td>
- </tr>
- <tr>
- <td>waitForText</td>
- <td>content</td>
- <td>*Technical Debt Ratio*29.1%*</td>
- </tr>
- </tbody>
+ <thead>
+ <tr>
+ <td rowspan="1" colspan="3">should-open-links-on-measures-service</td>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>open</td>
+ <td>/widget?id=debt_overview&amp;resource=com.sonarsource.it.samples:multi-modules-sample</td>
+ <td></td>
+ </tr>
+ <tr>
+ <td>clickAndWait</td>
+ <td>link=C</td>
+ <td></td>
+ </tr>
+ <tr>
+ <td>waitForText</td>
+ <td>content</td>
+ <td>*SQALE Rating*C*</td>
+ </tr>
+ <tr>
+ <td>open</td>
+ <td>/widget?id=debt_overview&amp;resource=com.sonarsource.it.samples:multi-modules-sample</td>
+ <td></td>
+ </tr>
+ <tr>
+ <td>clickAndWait</td>
+ <td>link=29.1%</td>
+ <td></td>
+ </tr>
+ <tr>
+ <td>waitForText</td>
+ <td>content</td>
+ <td>*Technical Debt Ratio*29.1%*</td>
+ </tr>
+ </tbody>
</table>
</body>
</html>