Skip to content

Commit

Permalink
Selenium-IDE script for validating user signup
Browse files Browse the repository at this point in the history
  • Loading branch information
justinabrahms committed Mar 15, 2016
1 parent 3d2768f commit f3366e0
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ StarCellBio
Getting started? Check out the `Developer's Guide <https://github.com/starteam/starcellbio_html/blob/develop/docs/DeveloperGuide.rst>`_.

Curious about architecture? Try `this document <https://github.com/starteam/starcellbio_html/blob/develop/docs/StarCellBio-Architecture.rst>`_.

If you want to run the selenium ide scripts, you'll need to `get selenium-ide firefox plugin <https://addons.mozilla.org/en-US/firefox/addon/selenium-ide/>`. From there, you can load the cases in the selenium_ide directory and run them.
51 changes: 51 additions & 0 deletions selenium_ide/post-deploy-checklist
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="https://starcellbio.mit.edu/" />
<title>post-deploy-checklist</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">post-deploy-checklist</td></tr>
</thead><tbody>
<tr>
<td>open</td>
<td>/accounts/signup/</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>id=id_account_type_0</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>id=id_email</td>
<td>javascript{&quot;test-user&quot; + (new Date).getTime() + &quot;@example.com&quot;}</td>
</tr>
<tr>
<td>type</td>
<td>id=id_password1</td>
<td>asdfasdf</td>
</tr>
<tr>
<td>type</td>
<td>id=id_password2</td>
<td>asdfasdf</td>
</tr>
<tr>
<td>type</td>
<td>id=id_course_code</td>
<td>usability</td>
</tr>
<tr>
<td>click</td>
<td>css=button.primaryAction.auth_submit_button</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>

0 comments on commit f3366e0

Please sign in to comment.