summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-03-09 15:52:03 -0500
committerEndi S. Dewata <edewata@redhat.com>2011-03-21 15:57:09 -0400
commit11ac8d0fe16e6e8040924bc27d51d2abe1fb0954 (patch)
tree3dbd5b76d7824de137a45a288ea9a47a08a98636
parent12100023629db084fa74acb5462563c71632338c (diff)
downloadfreeipa-11ac8d0fe16e6e8040924bc27d51d2abe1fb0954.tar.gz
freeipa-11ac8d0fe16e6e8040924bc27d51d2abe1fb0954.tar.xz
freeipa-11ac8d0fe16e6e8040924bc27d51d2abe1fb0954.zip
Fixed group member test cases.
-rwxr-xr-xinstall/ui/test/functional/group-add-member-user.html6
-rwxr-xr-xinstall/ui/test/functional/group-delete-member-user.html9
2 files changed, 9 insertions, 6 deletions
diff --git a/install/ui/test/functional/group-add-member-user.html b/install/ui/test/functional/group-add-member-user.html
index e7966cda..421c3e14 100755
--- a/install/ui/test/functional/group-add-member-user.html
+++ b/install/ui/test/functional/group-add-member-user.html
@@ -52,6 +52,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>//div[@id='group']/span[@name='association']/table/tbody/tr/td[1]/input[@value='testuser']</td>
+ <td></td>
+</tr>
+<tr>
<td>click</td>
<td>//div[@id='group']/div[1]/ul/li[1]/span</td>
<td></td>
@@ -61,7 +66,6 @@
<td>4 groups matched</td>
<td></td>
</tr>
-
</tbody></table>
</body>
</html>
diff --git a/install/ui/test/functional/group-delete-member-user.html b/install/ui/test/functional/group-delete-member-user.html
index 831a1d71..b8e62407 100755
--- a/install/ui/test/functional/group-delete-member-user.html
+++ b/install/ui/test/functional/group-delete-member-user.html
@@ -23,17 +23,17 @@
</tr>
<tr>
<td>click</td>
- <td>//div[@id='group']/div[1]/ul/li[4]</td>
+ <td>//div[@id='group']/div[1]/ul/li[@title='member_user']</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='group']/span/table/tbody/tr</td>
+ <td>//div[@id='group']/span[@name='association']/table/tbody/tr/td[1]/input[@value='testuser']</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>//div[@id='group']/span/table/tbody/tr/td[1]/input</td>
+ <td>//div[@id='group']/span[@name='association']/table/tbody/tr/td[1]/input[@value='testuser']</td>
<td></td>
</tr>
<tr>
@@ -47,7 +47,7 @@
<td></td>
</tr>
<tr>
- <td>waitForTextNotPresent</td>
+ <td>waitForElementNotPresent</td>
<td>//div[@id='group']/span/table/tbody/tr</td>
<td></td>
</tr>
@@ -61,7 +61,6 @@
<td>4 groups matched</td>
<td></td>
</tr>
-
</tbody></table>
</body>
</html>