Fixed Selenium tests.

Fixed some validation and synchronization problems in Selenium tests.
This commit is contained in:
Endi S. Dewata 2011-05-24 01:17:37 -04:00 committed by Adam Young
parent 57f9a297b6
commit 544c826682
6 changed files with 19 additions and 9 deletions

View File

@ -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>

View File

@ -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>

View File

@ -46,6 +46,11 @@
<td>//span[@id='header-network-activity-indicator']</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>description</td>
<td></td>
</tr>
<tr>
<td>typeKeys</td>
<td>description</td>
@ -71,6 +76,11 @@
<td>undo</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>description</td>
<td></td>
</tr>
<tr>
<td>typeKeys</td>
<td>description</td>

View File

@ -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>

View File

@ -66,11 +66,6 @@
<td>nisdomainname</td>
<td>example.com</td>
</tr>
<tr>
<td>click</td>
<td>link=Update</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>undo</td>

View File

@ -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>