]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-7440 Fix IT
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Thu, 10 Mar 2016 10:33:36 +0000 (11:33 +0100)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Thu, 10 Mar 2016 10:33:36 +0000 (11:33 +0100)
it/it-tests/src/test/resources/debt/TechnicalDebtWidgetTest/debt-overview/display-differential-values.html
it/it-tests/src/test/resources/debt/TechnicalDebtWidgetTest/debt-overview/should-have-correct-values.html
it/it-tests/src/test/resources/debt/TechnicalDebtWidgetTest/debt-overview/should-open-links-on-measures-service.html

index f055f06fc24748d3d42cec0592470d4c61fc4d5e..1d4c78e0cca71cca649557909fc18e8c57983b05 100644 (file)
@@ -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>
index 2b8fac72b5fff4d6ed2f48aec3771949c610249c..6b7091b76622b74ca8876169374912bca282b27e 100644 (file)
@@ -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>
index 6c97391433027bba2e31f9a2baa540983cc87d50..b72bc1bd420ec8737898d1ecf234425d8990a515 100644 (file)
@@ -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>