Skip to content

Commit

Permalink
Test Fixes - socialofficehome/events
Browse files Browse the repository at this point in the history
  • Loading branch information
kenduenwald authored and brianchandotcom committed Feb 5, 2013
1 parent cd19dfe commit c12630e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,12 @@
</tr>
<tr>
<td>waitForVisible</td>
<td>//label[@for='maxDaysDisplayed']</td>
<td>//label[contains(@for,'maxDaysDisplayed')]</td>
<td>How many days to display?</td>
</tr>
<tr>
<td>assertText</td>
<td>//label[@for='maxDaysDisplayed']</td>
<td>//label[contains(@for,'maxDaysDisplayed')]</td>
<td>How many days to display?</td>
</tr>
<tr>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ public void testConfigurePortletDisplayDays2() throws Exception {
"//div[@class='yui3-widget-bd aui-panel-bd aui-dialog-bd aui-dialog-iframe-bd']/iframe");
selenium.selectFrame(
"//div[@class='yui3-widget-bd aui-panel-bd aui-dialog-bd aui-dialog-iframe-bd']/iframe");
selenium.waitForVisible("//label[@for='maxDaysDisplayed']");
selenium.waitForVisible("//label[contains(@for,'maxDaysDisplayed')]");
assertEquals(RuntimeVariables.replace("How many days to display?"),
selenium.getText("//label[@for='maxDaysDisplayed']"));
selenium.getText("//label[contains(@for,'maxDaysDisplayed')]"));
selenium.select("//select[@id='_86_maxDaysDisplayed']",
RuntimeVariables.replace("2"));
selenium.clickAt("//input[@value='Save']",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,12 @@
</tr>
<tr>
<td>waitForVisible</td>
<td>//label[@for='maxDaysDisplayed']</td>
<td>//label[contains(@for,'maxDaysDisplayed')]</td>
<td>How many days to display?</td>
</tr>
<tr>
<td>assertText</td>
<td>//label[@for='maxDaysDisplayed']</td>
<td>//label[contains(@for,'maxDaysDisplayed')]</td>
<td>How many days to display?</td>
</tr>
<tr>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ public void testTearDownConfigurePortletDisplayDays()
"//div[@class='yui3-widget-bd aui-panel-bd aui-dialog-bd aui-dialog-iframe-bd']/iframe");
selenium.selectFrame(
"//div[@class='yui3-widget-bd aui-panel-bd aui-dialog-bd aui-dialog-iframe-bd']/iframe");
selenium.waitForVisible("//label[@for='maxDaysDisplayed']");
selenium.waitForVisible("//label[contains(@for,'maxDaysDisplayed')]");
assertEquals(RuntimeVariables.replace("How many days to display?"),
selenium.getText("//label[@for='maxDaysDisplayed']"));
selenium.getText("//label[contains(@for,'maxDaysDisplayed')]"));
selenium.select("//select[@id='_86_maxDaysDisplayed']",
RuntimeVariables.replace("1"));
selenium.clickAt("//input[@value='Save']",
Expand Down

0 comments on commit c12630e

Please sign in to comment.