aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorsimonbrandhof <simon.brandhof@gmail.com>2010-11-23 10:53:10 +0000
committersimonbrandhof <simon.brandhof@gmail.com>2010-11-23 10:53:10 +0000
commit3370a65c8e6ce80372b00745760f176a0074a896 (patch)
tree40dca657c21bbbb5d45c053d965bb4ecc1d45673 /tests
parent8d7d96bae86ba59fc270ce01b64320eeabaa043e (diff)
downloadsonarqube-3370a65c8e6ce80372b00745760f176a0074a896.tar.gz
sonarqube-3370a65c8e6ce80372b00745760f176a0074a896.zip
fix IT: two timemachine scenarii must be deleted because of dbcleaner, which removes some snapshots
Diffstat (limited to 'tests')
-rw-r--r--tests/integration/tests/src/it/selenium/all-tests.html8
-rw-r--r--tests/integration/tests/src/it/selenium/timemachine/SONAR-511_first_snapshot_must_be_displayed.html32
-rw-r--r--tests/integration/tests/src/it/selenium/timemachine/display-first-and-last-five-events.html10
-rw-r--r--tests/integration/tests/src/it/selenium/timemachine/should-select-column-by-event.html57
4 files changed, 2 insertions, 105 deletions
diff --git a/tests/integration/tests/src/it/selenium/all-tests.html b/tests/integration/tests/src/it/selenium/all-tests.html
index b1f14f1ffc8..c21f9ca566c 100644
--- a/tests/integration/tests/src/it/selenium/all-tests.html
+++ b/tests/integration/tests/src/it/selenium/all-tests.html
@@ -526,18 +526,10 @@
</td>
</tr>
<tr>
- <td><a href="timemachine/should-select-column-by-event.html">timemachine/should-select-column-by-event</a></td>
-</tr>
-<tr>
<td><a href="timemachine/SONAR-506_number_of_rules_violations_is_incorrect.html">timemachine/SONAR-506_number_of_rules_violations_is_incorrect</a>
</td>
</tr>
<tr>
- <td><a href="timemachine/SONAR-511_first_snapshot_must_be_displayed.html">timemachine/SONAR-511_first_snapshot_must_be_displayed</a>
- </td>
-</tr>
-
-<tr>
<td><a href="treemap/treemap_check_gradient_direction.html">treemap_check_gradient_direction</a></td>
</tr>
<tr>
diff --git a/tests/integration/tests/src/it/selenium/timemachine/SONAR-511_first_snapshot_must_be_displayed.html b/tests/integration/tests/src/it/selenium/timemachine/SONAR-511_first_snapshot_must_be_displayed.html
deleted file mode 100644
index beca292c3a0..00000000000
--- a/tests/integration/tests/src/it/selenium/timemachine/SONAR-511_first_snapshot_must_be_displayed.html
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!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" />
-<link rel="selenium.base" href="" />
-<title>SONAR-511_first_snapshot_must_be_displayed</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">SONAR-511_first_snapshot_must_be_displayed</td></tr>
-</thead><tbody>
-<tr>
- <td>open</td>
- <td>/dashboard/index/org.sonar.tests:timemachine</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAndWait</td>
- <td>link=Time machine</td>
- <td></td>
-</tr>
-<tr>
- <td>assertText</td>
- <td>timemachine_matrix</td>
- <td>glob:*2007-03-12*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>
diff --git a/tests/integration/tests/src/it/selenium/timemachine/display-first-and-last-five-events.html b/tests/integration/tests/src/it/selenium/timemachine/display-first-and-last-five-events.html
index 1f3121a7cc0..13ad32301f0 100644
--- a/tests/integration/tests/src/it/selenium/timemachine/display-first-and-last-five-events.html
+++ b/tests/integration/tests/src/it/selenium/timemachine/display-first-and-last-five-events.html
@@ -13,20 +13,14 @@
</thead><tbody>
<tr>
<td>open</td>
- <td>/dashboard/index/org.sonar.tests:timemachine</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAndWait</td>
- <td>link=Time machine</td>
+ <td>/timemachine/index/org.sonar.tests:timemachine</td>
<td></td>
</tr>
<tr>
<td>assertText</td>
<td>timemachine_matrix</td>
- <td>glob:*2007-03-12*2007-10-20*Version 0.6*2007-12-10*Version 0.7*2008-04-15*Version 0.8*2008-10-19*Version 0.9*Version 1.0-SNAPSHOT*</td>
+ <td>glob:*2007-04-20*Version 0.5*2007-10-20*Version 0.6*2007-12-10*Version 0.7*2008-04-15*Version 0.8*2008-10-19*Version 0.9*Version 1.0-SNAPSHOT*</td>
</tr>
-
</tbody></table>
</body>
</html>
diff --git a/tests/integration/tests/src/it/selenium/timemachine/should-select-column-by-event.html b/tests/integration/tests/src/it/selenium/timemachine/should-select-column-by-event.html
deleted file mode 100644
index 47e97369772..00000000000
--- a/tests/integration/tests/src/it/selenium/timemachine/should-select-column-by-event.html
+++ /dev/null
@@ -1,57 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!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" />
-<link rel="selenium.base" href="" />
-<title>timemachine/should-select-column-by-event</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">timemachine/should-select-column-by-event</td></tr>
-</thead><tbody>
-<tr>
- <td>open</td>
- <td>/dashboard/index/org.sonar.tests:timemachine</td>
- <td></td>
-</tr>
-<tr>
- <td>clickAndWait</td>
- <td>link=Time machine</td>
- <td></td>
-</tr>
-<tr>
- <td>assertNotText</td>
- <td>timemachine_matrix</td>
- <td>Version 0.5</td>
-</tr>
-<tr>
- <td>select</td>
- <td>select_label</td>
- <td>label=Version 0.5</td>
-</tr>
-<tr>
- <td>click</td>
- <td>select_label</td>
- <td></td>
-</tr>
-<tr>
- <td>waitForText</td>
- <td>timemachine_matrix</td>
- <td>glob:*Version 0.5*</td>
-</tr>
-<tr>
- <td>waitForElementPresent</td>
- <td>timemachine_matrix</td>
- <td></td>
-</tr>
-<tr>
- <td>assertText</td>
- <td>timemachine_matrix</td>
- <td>glob:*Version 0.5*Version 0.6*</td>
-</tr>
-
-</tbody></table>
-</body>
-</html>