Permalink
Browse files

Test Fixes - portlet/announcements

  • Loading branch information...
kenduenwald authored and brianchandotcom committed Feb 29, 2012
1 parent e57f879 commit 6a0e29072ac103dfa0108d10def98e194cbceda5
@@ -14,7 +14,7 @@
<td></td>
</tr>
<tr>
- <td>waitForVisible</td>
+ <td>waitForElementPresent</td>
<td>link=Site Name</td>
<td>Site Name</td>
</tr>
@@ -63,7 +63,6 @@
<td>link=Announcements Test Page</td>
<td>Announcements Test Page</td>
</tr>
-
</tbody></table>
</body>
</html>
@@ -31,7 +31,7 @@ public void testAddPageAnnouncementsSiteName() throws Exception {
}
try {
- if (selenium.isVisible("link=Site Name")) {
+ if (selenium.isElementPresent("link=Site Name")) {
break;
}
}
@@ -14,7 +14,7 @@
<td></td>
</tr>
<tr>
- <td>waitForVisible</td>
+ <td>waitForElementPresent</td>
<td>link=Site Name</td>
<td>Site Name</td>
</tr>
@@ -63,7 +63,6 @@
<td>//section</td>
<td>Portlet</td>
</tr>
-
</tbody></table>
</body>
</html>
@@ -31,7 +31,7 @@ public void testAddPortletAnnouncementsSiteName() throws Exception {
}
try {
- if (selenium.isVisible("link=Site Name")) {
+ if (selenium.isElementPresent("link=Site Name")) {
break;
}
}
@@ -14,7 +14,7 @@
<td></td>
</tr>
<tr>
- <td>waitForVisible</td>
+ <td>waitForElementPresent</td>
<td>link=Site Name</td>
<td>Site Name</td>
</tr>
@@ -32,7 +32,7 @@ public void testAddScopedAnnouncementsEntrySiteName()
}
try {
- if (selenium.isVisible("link=Site Name")) {
+ if (selenium.isElementPresent("link=Site Name")) {
break;
}
}
@@ -14,7 +14,7 @@
<td></td>
</tr>
<tr>
- <td>waitForVisible</td>
+ <td>waitForElementPresent</td>
<td>link=Control Panel</td>
<td>Control Panel</td>
</tr>
@@ -128,7 +128,6 @@
<td>//div[@class='portlet-msg-success']</td>
<td>Your request completed successfully.</td>
</tr>
-
</tbody></table>
</body>
</html>
@@ -31,7 +31,7 @@ public void testAddUser() throws Exception {
}
try {
- if (selenium.isVisible("link=Control Panel")) {
+ if (selenium.isElementPresent("link=Control Panel")) {
break;
}
}
@@ -14,7 +14,7 @@
<td></td>
</tr>
<tr>
- <td>waitForVisible</td>
+ <td>waitForElementPresent</td>
<td>link=Site Name</td>
<td>Site Name</td>
</tr>
@@ -48,7 +48,6 @@
<td>//div[@class=' entry-content entry-type-general']/p</td>
<td>Announcements Entry Content</td>
</tr>
-
</tbody></table>
</body>
</html>
@@ -31,7 +31,7 @@ public void testViewAnnouncementsEntrySiteName() throws Exception {
}
try {
- if (selenium.isVisible("link=Site Name")) {
+ if (selenium.isElementPresent("link=Site Name")) {
break;
}
}
@@ -14,7 +14,7 @@
<td></td>
</tr>
<tr>
- <td>waitForVisible</td>
+ <td>waitForElementPresent</td>
<td>link=Site Name</td>
<td>Site Name</td>
</tr>
@@ -32,7 +32,7 @@ public void testViewScopedAnnouncementsEntrySiteName()
}
try {
- if (selenium.isVisible("link=Site Name")) {
+ if (selenium.isElementPresent("link=Site Name")) {
break;
}
}

0 comments on commit 6a0e290

Please sign in to comment.