Skip to content

Commit

Permalink
Test Fixes - portlet/announcements
Browse files Browse the repository at this point in the history
  • Loading branch information
kenduenwald authored and brianchandotcom committed Mar 2, 2012
1 parent e57f879 commit 6a0e290
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 16 deletions.
Expand Up @@ -14,7 +14,7 @@
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>waitForVisible</td> <td>waitForElementPresent</td>
<td>link=Site Name</td> <td>link=Site Name</td>
<td>Site Name</td> <td>Site Name</td>
</tr> </tr>
Expand Down Expand Up @@ -63,7 +63,6 @@
<td>link=Announcements Test Page</td> <td>link=Announcements Test Page</td>
<td>Announcements Test Page</td> <td>Announcements Test Page</td>
</tr> </tr>

</tbody></table> </tbody></table>
</body> </body>
</html> </html>
Expand Up @@ -31,7 +31,7 @@ public void testAddPageAnnouncementsSiteName() throws Exception {
} }


try { try {
if (selenium.isVisible("link=Site Name")) { if (selenium.isElementPresent("link=Site Name")) {
break; break;
} }
} }
Expand Down
Expand Up @@ -14,7 +14,7 @@
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>waitForVisible</td> <td>waitForElementPresent</td>
<td>link=Site Name</td> <td>link=Site Name</td>
<td>Site Name</td> <td>Site Name</td>
</tr> </tr>
Expand Down Expand Up @@ -63,7 +63,6 @@
<td>//section</td> <td>//section</td>
<td>Portlet</td> <td>Portlet</td>
</tr> </tr>

</tbody></table> </tbody></table>
</body> </body>
</html> </html>
Expand Up @@ -31,7 +31,7 @@ public void testAddPortletAnnouncementsSiteName() throws Exception {
} }


try { try {
if (selenium.isVisible("link=Site Name")) { if (selenium.isElementPresent("link=Site Name")) {
break; break;
} }
} }
Expand Down
Expand Up @@ -14,7 +14,7 @@
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>waitForVisible</td> <td>waitForElementPresent</td>
<td>link=Site Name</td> <td>link=Site Name</td>
<td>Site Name</td> <td>Site Name</td>
</tr> </tr>
Expand Down
Expand Up @@ -32,7 +32,7 @@ public void testAddScopedAnnouncementsEntrySiteName()
} }


try { try {
if (selenium.isVisible("link=Site Name")) { if (selenium.isElementPresent("link=Site Name")) {
break; break;
} }
} }
Expand Down
Expand Up @@ -14,7 +14,7 @@
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>waitForVisible</td> <td>waitForElementPresent</td>
<td>link=Control Panel</td> <td>link=Control Panel</td>
<td>Control Panel</td> <td>Control Panel</td>
</tr> </tr>
Expand Down Expand Up @@ -128,7 +128,6 @@
<td>//div[@class='portlet-msg-success']</td> <td>//div[@class='portlet-msg-success']</td>
<td>Your request completed successfully.</td> <td>Your request completed successfully.</td>
</tr> </tr>

</tbody></table> </tbody></table>
</body> </body>
</html> </html>
Expand Up @@ -31,7 +31,7 @@ public void testAddUser() throws Exception {
} }


try { try {
if (selenium.isVisible("link=Control Panel")) { if (selenium.isElementPresent("link=Control Panel")) {
break; break;
} }
} }
Expand Down
Expand Up @@ -14,7 +14,7 @@
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>waitForVisible</td> <td>waitForElementPresent</td>
<td>link=Site Name</td> <td>link=Site Name</td>
<td>Site Name</td> <td>Site Name</td>
</tr> </tr>
Expand Down Expand Up @@ -48,7 +48,6 @@
<td>//div[@class=' entry-content entry-type-general']/p</td> <td>//div[@class=' entry-content entry-type-general']/p</td>
<td>Announcements Entry Content</td> <td>Announcements Entry Content</td>
</tr> </tr>

</tbody></table> </tbody></table>
</body> </body>
</html> </html>
Expand Up @@ -31,7 +31,7 @@ public void testViewAnnouncementsEntrySiteName() throws Exception {
} }


try { try {
if (selenium.isVisible("link=Site Name")) { if (selenium.isElementPresent("link=Site Name")) {
break; break;
} }
} }
Expand Down
Expand Up @@ -14,7 +14,7 @@
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>waitForVisible</td> <td>waitForElementPresent</td>
<td>link=Site Name</td> <td>link=Site Name</td>
<td>Site Name</td> <td>Site Name</td>
</tr> </tr>
Expand Down
Expand Up @@ -32,7 +32,7 @@ public void testViewScopedAnnouncementsEntrySiteName()
} }


try { try {
if (selenium.isVisible("link=Site Name")) { if (selenium.isElementPresent("link=Site Name")) {
break; break;
} }
} }
Expand Down

0 comments on commit 6a0e290

Please sign in to comment.