Commit 232388b7 authored by Son Nguyen's avatar Son Nguyen Committed by Aaron Wells
Browse files

Update selenium test cases for Mahara 1.9

Change-Id: Ib40357690e851db2e4e1745e02bb587312a49f7a
parent 64e94664
......@@ -28,7 +28,7 @@
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Delete</td>
<td>link=Delete &quot;Admin Test Group&quot;</td>
<td></td>
</tr>
<tr>
......@@ -43,7 +43,7 @@
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Delete</td>
<td>link=Delete &quot;Controlled Group&quot;</td>
<td></td>
</tr>
<tr>
......@@ -58,7 +58,7 @@
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Delete</td>
<td>link=Delete &quot;Admin VIP Group&quot;</td>
<td></td>
</tr>
<tr>
......@@ -73,7 +73,7 @@
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Delete</td>
<td>link=Delete &quot;Public discussion&quot;</td>
<td></td>
</tr>
<tr>
......
......@@ -17,7 +17,7 @@
<td></td>
</tr>
<tr>
<td>click</td>
<td>clickAndWait</td>
<td>link=Portfolio</td>
<td></td>
</tr>
......@@ -48,7 +48,7 @@
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Edit layout</td>
<td>link=Edit layout(tab)</td>
<td></td>
</tr>
<tr>
......@@ -68,7 +68,7 @@
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Edit layout</td>
<td>link=Edit layout(tab)</td>
<td></td>
</tr>
<tr>
......
......@@ -18,7 +18,7 @@
</tr>
<tr>
<td>clickAndWait</td>
<td>link=profile</td>
<td>link=Content</td>
<td></td>
</tr>
<tr>
......@@ -316,7 +316,6 @@
<td>500</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>
......@@ -18,7 +18,7 @@
</tr>
<tr>
<td>clickAndWait</td>
<td>link=profile</td>
<td>link=Content</td>
<td></td>
</tr>
<tr>
......@@ -156,7 +156,6 @@
<td>Profile saved successfully</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>
......@@ -18,7 +18,7 @@
</tr>
<tr>
<td>clickAndWait</td>
<td>link=profile</td>
<td>link=Content</td>
<td></td>
</tr>
<tr>
......@@ -33,7 +33,7 @@
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Education and employment</td>
<td>link=Education and employment(tab)</td>
<td></td>
</tr>
<tr>
......@@ -118,7 +118,7 @@
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Introduction</td>
<td>link=Introduction(tab)</td>
<td></td>
</tr>
<tr>
......@@ -163,7 +163,7 @@
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Achievements</td>
<td>link=Achievements(tab)</td>
<td></td>
</tr>
<tr>
......@@ -268,7 +268,7 @@
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Goals and skills</td>
<td>link=Goals and skills(tab)</td>
<td></td>
</tr>
<tr>
......@@ -283,7 +283,7 @@
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Goals and skills</td>
<td>link=Goals and skills(tab selected)</td>
<td></td>
</tr>
<tr>
......@@ -298,7 +298,7 @@
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Interests</td>
<td>link=Interests(tab)</td>
<td></td>
</tr>
<tr>
......
......@@ -18,7 +18,7 @@
</tr>
<tr>
<td>clickAndWait</td>
<td>link=profile</td>
<td>link=Content</td>
<td></td>
</tr>
<tr>
......@@ -53,7 +53,7 @@
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Education and employment</td>
<td>link=Education and employment(tab)</td>
<td></td>
</tr>
<tr>
......@@ -63,7 +63,7 @@
</tr>
<tr>
<td>click</td>
<td>//img[@alt='[x]']</td>
<td>css=img[alt=&quot;Delete &quot;test (test) at test&quot;&quot;]</td>
<td></td>
</tr>
<tr>
......@@ -73,7 +73,7 @@
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Education and employment</td>
<td>link=Education and employment(tab selected)</td>
<td></td>
</tr>
<tr>
......@@ -93,7 +93,7 @@
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Achievements</td>
<td>link=Achievements(tab)</td>
<td></td>
</tr>
<tr>
......@@ -113,7 +113,7 @@
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Achievements</td>
<td>link=Achievements(tab selected)</td>
<td></td>
</tr>
<tr>
......@@ -133,7 +133,7 @@
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Achievements</td>
<td>link=Achievements(tab selected)</td>
<td></td>
</tr>
<tr>
......@@ -151,7 +151,6 @@
<td>Are you sure you want to delete this?</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>
......@@ -28,7 +28,7 @@
</tr>
<tr>
<td>clickAndWait</td>
<td>link=profile</td>
<td>link=Content</td>
<td></td>
</tr>
<tr>
......@@ -83,7 +83,7 @@
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Edit site pages</td>
<td>link=Static pages</td>
<td></td>
</tr>
<tr>
......
......@@ -67,7 +67,6 @@
<td>//tr/td[3]/a</td>
<td>exact:http://www.mahara.org/</td>
</tr>
</tbody></table>
</body>
</html>
......@@ -67,42 +67,16 @@
<td>//tr[contains(td[2], &quot;Test Menu Link&quot;)]/td/input[@value=&quot;Delete&quot;]</td>
<td></td>
</tr>
<tr>
<td>waitForVisible</td>
<td>//tr[contains(td[2], &quot;Test Menu Link&quot;)]/td/input[@value=&quot;Delete&quot;]</td>
<td></td>
</tr>
<tr>
<td>assertElementPresent</td>
<td>//tr[contains(td[2], &quot;Test Menu Link&quot;)]/td/input[@value=&quot;Delete&quot;]</td>
<td></td>
</tr>
<tr>
<td>chooseOkOnNextConfirmation</td>
<td></td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//tr[contains(td[2], &quot;Test Menu Link&quot;)]/td/input[@value=&quot;Delete&quot;]</td>
<td></td>
</tr>
<tr>
<td>waitForConfirmation</td>
<td>Do you really want to delete this item?</td>
<td></td>
</tr>
<tr>
<td>waitForElementNotPresent</td>
<td>//tr[contains(td[2], &quot;Test Menu Link&quot;)]</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Return to site</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>
......@@ -43,7 +43,7 @@
</tr>
<tr>
<td>clickAndWait</td>
<td>link=profile</td>
<td>link=Content</td>
<td></td>
</tr>
<tr>
......@@ -137,7 +137,6 @@
<td>user/view.php?id=1</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>
......@@ -58,7 +58,7 @@
</tr>
<tr>
<td>click</td>
<td>link=Skin background</td>
<td>link=Skin background(tab)</td>
<td></td>
</tr>
<tr>
......@@ -88,7 +88,7 @@
</tr>
<tr>
<td>click</td>
<td>link=Page background</td>
<td>link=Page background(tab)</td>
<td></td>
</tr>
<tr>
......@@ -118,7 +118,7 @@
</tr>
<tr>
<td>click</td>
<td>link=Page header</td>
<td>link=Page header(tab)</td>
<td></td>
</tr>
<tr>
......@@ -173,7 +173,7 @@
</tr>
<tr>
<td>click</td>
<td>link=Page fonts and colours</td>
<td>link=Page fonts and colours(tab)</td>
<td></td>
</tr>
<tr>
......@@ -253,7 +253,7 @@
</tr>
<tr>
<td>click</td>
<td>link=Page tables and buttons</td>
<td>link=Page tables and buttons(tab)</td>
<td></td>
</tr>
<tr>
......@@ -338,7 +338,7 @@
</tr>
<tr>
<td>click</td>
<td>link=Advanced</td>
<td>link=Advanced(tab)</td>
<td></td>
</tr>
<tr>
......
......@@ -61,11 +61,6 @@
<td>link=folder</td>
<td>folder</td>
</tr>
<tr>
<td>setSpeed</td>
<td>500</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Journal</td>
......@@ -108,7 +103,7 @@
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Add one</td>
<td>link=New plan</td>
<td></td>
</tr>
<tr>
......@@ -137,13 +132,13 @@
<td></td>
</tr>
<tr>
<td>click</td>
<td>clickAndWait</td>
<td>id=addplan_submit</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Add one</td>
<td>link=New task</td>
<td></td>
</tr>
<tr>
......@@ -241,9 +236,14 @@
<td>id=instconf_tags</td>
<td>box1,test</td>
</tr>
<tr>
<td>selectWindow</td>
<td>null</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//input[@class='submitcancel submit']</td>
<td>//input[starts-with(@id, 'instconf_action_configureblockinstance_id_')]</td>
<td></td>
</tr>
<tr>
......@@ -251,6 +251,11 @@
<td>link=Portfolio</td>
<td></td>
</tr>
<tr>
<td>setSpeed</td>
<td>500</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>
......@@ -38,7 +38,7 @@
</tr>
<tr>
<td>click</td>
<td>css=#block-category-fileimagevideo > div.withjs</td>
<td>css=#block-category-fileimagevideo &gt; div.withjs</td>
<td></td>
</tr>
<tr>
......@@ -53,7 +53,7 @@
</tr>
<tr>
<td>click</td>
<td>css=#block-category-blog > div.withjs</td>
<td>css=#block-category-blog &gt; div.withjs</td>
<td></td>
</tr>
<tr>
......@@ -68,7 +68,7 @@
</tr>
<tr>
<td>click</td>
<td>css=#block-category-general > div.withjs</td>
<td>css=#block-category-general &gt; div.withjs</td>
<td></td>
</tr>
<tr>
......@@ -83,7 +83,7 @@
</tr>
<tr>
<td>click</td>
<td>css=#block-category-internal > div.withjs</td>
<td>css=#block-category-internal &gt; div.withjs</td>
<td></td>
</tr>
<tr>
......@@ -93,12 +93,12 @@
</tr>
<tr>
<td>assertTextPresent</td>
<td>Contact information</td>
<td>Profile information</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>css=#block-category-external > div.withjs</td>
<td>css=#block-category-external &gt; div.withjs</td>
<td></td>
</tr>
<tr>
......@@ -113,7 +113,7 @@
</tr>
<tr>
<td>clickAndWait</td>
<td>//a[text()='Edit title and description']</td>
<td>link=Edit title and description(tab)</td>
<td></td>
</tr>
<tr>
......
......@@ -18,7 +18,7 @@
</tr>
<tr>
<td>clickAndWait</td>
<td>//img[@alt='Delete']</td>
<td>css=img[alt=&quot;Delete &quot;Test view&quot;&quot;]</td>
<td></td>
</tr>
<tr>
......@@ -36,7 +36,6 @@
<td>Page deleted</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment