Commit c1ba1f2b authored by Nigel McNie's avatar Nigel McNie
Browse files

Added an installation test

parent 9694e9eb
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Install_Mahara</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">Install_Mahara</td></tr>
</thead><tbody>
<tr>
<td>open</td>
<td>/admin/</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>//input[@value='I agree']</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>Successfully installed Mahara</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Continue</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>Welcome to Mahara</td>
<td></td>
</tr>
<tr>
<td>assertElementPresent</td>
<td>login_login_username</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>login_login_username</td>
<td>admin</td>
</tr>
<tr>
<td>type</td>
<td>login_login_password</td>
<td>mahara</td>
</tr>
<tr>
<td>clickAndWait</td>
<td>login_submit</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>Change password</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>Primary email</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>change_password_password1</td>
<td>password1</td>
</tr>
<tr>
<td>type</td>
<td>change_password_password2</td>
<td>password2</td>
</tr>
<tr>
<td>type</td>
<td>change_password_email</td>
<td>dev@mahara.org</td>
</tr>
<tr>
<td>clickAndWait</td>
<td>change_password_submit</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>The passwords do not match</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>change_password_password2</td>
<td>password1</td>
</tr>
<tr>
<td>clickAndWait</td>
<td>change_password_submit</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>Your new password has been saved</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>You are logged in as Admin User (admin)</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>
......@@ -7,6 +7,7 @@
<table cellpadding="1" cellspacing="1" border="1">
<tbody>
<tr><td><strong>Mahara Test Suite</strong></td></tr>
<tr><td><a href="./Install_Mahara.html">Install Mahara</a></td></tr>
<tr><td><a href="./add_new_group.html">Add New Group</a></td></tr>
<tr><td><a href="./Change_Password.html">Change Password</a></td></tr>
<tr><td><a href="./create_new_view_1.html">Create New View - Step 1</a></td></tr>
......
Markdown is supported
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