summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-05-24 01:17:37 -0400
committerAdam Young <ayoung@redhat.com>2011-05-24 14:31:13 -0400
commit544c826682d8915ad740500555f47f0b459e7ae3 (patch)
tree0cda74c0768d4749a2f8c49e135689a774248b38
parent57f9a297b6a43168316e2c6be945ca210fe7f3e6 (diff)
downloadfreeipa-544c826682d8915ad740500555f47f0b459e7ae3.tar.gz
freeipa-544c826682d8915ad740500555f47f0b459e7ae3.tar.xz
freeipa-544c826682d8915ad740500555f47f0b459e7ae3.zip
Fixed Selenium tests.
Fixed some validation and synchronization problems in Selenium tests.
-rw-r--r--install/ui/test/functional/group-add-member-user.html7
-rw-r--r--install/ui/test/functional/group-remove-member-user.html2
-rw-r--r--install/ui/test/functional/hostgroup-mod.html (renamed from install/ui/test/functional/hostgroup-mod)10
-rw-r--r--install/ui/test/functional/hostgroup-suite.html2
-rw-r--r--install/ui/test/functional/netgroup-mod.html5
-rw-r--r--install/ui/test/functional/selfservice-add.html2
6 files changed, 19 insertions, 9 deletions
diff --git a/install/ui/test/functional/group-add-member-user.html b/install/ui/test/functional/group-add-member-user.html
index a3d199baf..6eed3bfae 100644
--- a/install/ui/test/functional/group-add-member-user.html
+++ b/install/ui/test/functional/group-add-member-user.html
@@ -62,7 +62,12 @@
<td></td>
</tr>
<tr>
- <td>waitForElementPresent</td>
+ <td>waitForNotVisible</td>
+ <td>//span[@id='header-network-activity-indicator']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>verifyElementPresent</td>
<td>css=.entity[name='group'] .facet[name='member_user'] input[value='testuser']</td>
<td></td>
</tr>
diff --git a/install/ui/test/functional/group-remove-member-user.html b/install/ui/test/functional/group-remove-member-user.html
index 8f653799a..411e8426d 100644
--- a/install/ui/test/functional/group-remove-member-user.html
+++ b/install/ui/test/functional/group-remove-member-user.html
@@ -57,7 +57,7 @@
<td></td>
</tr>
<tr>
- <td>waitForElementNotPresent</td>
+ <td>verifyElementNotPresent</td>
<td>css=.entity[name='group'] .facet[name='member_user'] input[value='testuser']</td>
<td></td>
</tr>
diff --git a/install/ui/test/functional/hostgroup-mod b/install/ui/test/functional/hostgroup-mod.html
index c93fa9869..173b0e31d 100644
--- a/install/ui/test/functional/hostgroup-mod
+++ b/install/ui/test/functional/hostgroup-mod.html
@@ -47,6 +47,11 @@
<td></td>
</tr>
<tr>
+ <td>type</td>
+ <td>description</td>
+ <td></td>
+</tr>
+<tr>
<td>typeKeys</td>
<td>description</td>
<td>xxx</td>
@@ -72,6 +77,11 @@
<td></td>
</tr>
<tr>
+ <td>type</td>
+ <td>description</td>
+ <td></td>
+</tr>
+<tr>
<td>typeKeys</td>
<td>description</td>
<td>Test Host Group</td>
diff --git a/install/ui/test/functional/hostgroup-suite.html b/install/ui/test/functional/hostgroup-suite.html
index 0f681c1c5..999e2751d 100644
--- a/install/ui/test/functional/hostgroup-suite.html
+++ b/install/ui/test/functional/hostgroup-suite.html
@@ -10,7 +10,7 @@
<tr><td><b>Test Suite</b></td></tr>
<tr><td><a href="hostgroup-add.html">Add Host Group</a></td></tr>
<tr><td><a href="hostgroup-find.html">Search Host Group</a></td></tr>
-<tr><td><a href="hostgroup-mod">Edit Host Group</a></td></tr>
+<tr><td><a href="hostgroup-mod.html">Edit Host Group</a></td></tr>
<tr><td><a href="host-add.html">Add Host</a></td></tr>
<tr><td><a href="hostgroup-add-member-host.html">Add Member Host</a></td></tr>
<tr><td><a href="hostgroup-remove-member-host.html">Delete Member Host</a></td></tr>
diff --git a/install/ui/test/functional/netgroup-mod.html b/install/ui/test/functional/netgroup-mod.html
index f87b111e4..ac7bc1286 100644
--- a/install/ui/test/functional/netgroup-mod.html
+++ b/install/ui/test/functional/netgroup-mod.html
@@ -67,11 +67,6 @@
<td>example.com</td>
</tr>
<tr>
- <td>click</td>
- <td>link=Update</td>
- <td></td>
-</tr>
-<tr>
<td>verifyTextPresent</td>
<td>undo</td>
<td></td>
diff --git a/install/ui/test/functional/selfservice-add.html b/install/ui/test/functional/selfservice-add.html
index cbaefa794..8551d3f6b 100644
--- a/install/ui/test/functional/selfservice-add.html
+++ b/install/ui/test/functional/selfservice-add.html
@@ -3,7 +3,7 @@
<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="https://vm-022.idm.lab.bos.redhat.com/" />
+<link rel="selenium.base" href="https://localhost/" />
<title>Add Self-Service Permission</title>
</head>
<body>