Commit 42d47637 authored by Aaron Wells's avatar Aaron Wells
Browse files

Updating Selenium tests to be compatible with 1.8rc1

Change-Id: I27d98d9c676015dba41b7008c9e275100d76328e
parent fcdc55df
......@@ -45,9 +45,9 @@
<td align="center">{$n->count}</td>
<td class="right buttonscell btns2">
{if $n->exists}
<a href="{$WWWROOT}artefact/resume/editgoalsandskills.php?id={$n->id}" title="{str tag=edit}"><img src="{theme_url filename='images/btn_edit.png'}" alt="{str tag=edit}"></a>
<a id="goals_edit_{$n->artefacttype}" href="{$WWWROOT}artefact/resume/editgoalsandskills.php?id={$n->id}" title="{str tag=edit}"><img src="{theme_url filename='images/btn_edit.png'}" alt="{str tag=edit}"></a>
{else}
<a href="{$WWWROOT}artefact/resume/editgoalsandskills.php?type={$n->artefacttype}" title="{str tag=edit}"><img src="{theme_url filename='images/btn_edit.png'}" alt="{str tag=edit}"></a>
<a id="goals_edit_{$n->artefacttype}" href="{$WWWROOT}artefact/resume/editgoalsandskills.php?type={$n->artefacttype}" title="{str tag=edit}"><img src="{theme_url filename='images/btn_edit.png'}" alt="{str tag=edit}"></a>
{/if}
</td>
</tr>
......
......@@ -45,9 +45,9 @@
<td align="center">{$n->count}</td>
<td class="right buttonscell btns2">
{if $n->exists}
<a href="{$WWWROOT}artefact/resume/editgoalsandskills.php?id={$n->id}" title="{str tag=edit}"><img src="{theme_url filename='images/btn_edit.png'}" alt="{str tag=edit}"></a>
<a id="skills_edit_{$n->artefacttype}" href="{$WWWROOT}artefact/resume/editgoalsandskills.php?id={$n->id}" title="{str tag=edit}"><img src="{theme_url filename='images/btn_edit.png'}" alt="{str tag=edit}"></a>
{else}
<a href="{$WWWROOT}artefact/resume/editgoalsandskills.php?type={$n->artefacttype}" title="{str tag=edit}"><img src="{theme_url filename='images/btn_edit.png'}" alt="{str tag=edit}"></a>
<a id="skills_edit_{$n->artefacttype}" href="{$WWWROOT}artefact/resume/editgoalsandskills.php?type={$n->artefacttype}" title="{str tag=edit}"><img src="{theme_url filename='images/btn_edit.png'}" alt="{str tag=edit}"></a>
{/if}
</td>
</tr>
......
......@@ -183,7 +183,7 @@
</tr>
<tr>
<td>waitForVisible</td>
<td>footernav</td>
<td>footer-nav</td>
<td></td>
</tr>
<tr>
......@@ -273,7 +273,7 @@
</tr>
<tr>
<td>waitForVisible</td>
<td>footernav</td>
<td>footer-nav</td>
<td></td>
</tr>
<tr>
......
......@@ -268,47 +268,32 @@
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Goals</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>id=resumefieldform_personalgoaledit</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>css=html</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>id=resumefieldform_personalgoalsubmit</td>
<td>link=Goals and skills</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Skills</td>
<td>id=goals_edit_personalgoal</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>id=resumefieldform_personalskilledit</td>
<td>clickAndWait</td>
<td>id=editgoalsandskills_submitform</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>css=html</td>
<td>clickAndWait</td>
<td>link=Goals and skills</td>
<td></td>
</tr>
<tr>
<td>selectWindow</td>
<td>null</td>
<td>clickAndWait</td>
<td>id=skills_edit_personalskill</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>id=resumefieldform_personalskillsubmit</td>
<td>clickAndWait</td>
<td>id=editgoalsandskills_submitform</td>
<td></td>
</tr>
<tr>
......
......@@ -78,7 +78,7 @@
</tr>
<tr>
<td>pause</td>
<td>500</td>
<td>1000</td>
<td></td>
</tr>
<tr>
......@@ -98,7 +98,7 @@
</tr>
<tr>
<td>pause</td>
<td>500</td>
<td>1000</td>
<td></td>
</tr>
<tr>
......@@ -118,7 +118,7 @@
</tr>
<tr>
<td>pause</td>
<td>500</td>
<td>1000</td>
<td></td>
</tr>
<tr>
......@@ -138,7 +138,7 @@
</tr>
<tr>
<td>pause</td>
<td>500</td>
<td>1000</td>
<td></td>
</tr>
<tr>
......
......@@ -38,32 +38,77 @@
</tr>
<tr>
<td>click</td>
<td>link=Journals</td>
<td>css=#block-category-fileimagevideo > div.withjs</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>link=External content</td>
<td>pause</td>
<td>1000</td>
<td></td>
</tr>
<tr>
<td>assertTextPresent</td>
<td>File(s) to download</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>link=Files, images and video</td>
<td>css=#block-category-blog > div.withjs</td>
<td></td>
</tr>
<tr>
<td>pause</td>
<td>1000</td>
<td></td>
</tr>
<tr>
<td>assertTextPresent</td>
<td>Recent journal entries</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>link=General</td>
<td>css=#block-category-general > div.withjs</td>
<td></td>
</tr>
<tr>
<td>pause</td>
<td>1000</td>
<td></td>
</tr>
<tr>
<td>assertTextPresent</td>
<td>Recent forum posts</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//div[@id='category-list']/*/*/a[text()='Profile']</td>
<td>css=#block-category-internal > div.withjs</td>
<td></td>
</tr>
<tr>
<td>pause</td>
<td>1000</td>
<td></td>
</tr>
<tr>
<td>assertTextPresent</td>
<td>Contact information</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>link=Résumé</td>
<td>css=#block-category-external > div.withjs</td>
<td></td>
</tr>
<tr>
<td>pause</td>
<td>1000</td>
<td></td>
</tr>
<tr>
<td>assertTextPresent</td>
<td>External media</td>
<td></td>
</tr>
<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