| open |
|
|
| clickAndWait |
link=Content |
|
| waitForElementPresent |
profileform_firstname |
|
| type |
profileform_firstname |
Administrator |
| type |
profileform_lastname |
User Admin |
| type |
profileform_studentid |
1234 |
| waitForElementPresent |
profileform_preferredname |
|
| type |
profileform_preferredname |
Admin User |
| click |
contact_a |
|
| waitForElementPresent |
//a[@id="contact_a" and @class="current-tab"] |
|
| click |
link=Add email address |
|
| type |
//div[@id='email_list']/div[2]/input |
cri@catalyst.net.nz |
| click |
//input[@value='Add'] |
|
| waitForElementPresent |
profileform_officialwebsite |
|
| type |
profileform_officialwebsite |
www.catalyst.net.nz |
| waitForElementPresent |
profileform_personalwebsite |
|
| type |
profileform_personalwebsite |
www.stuff.co.nz |
| waitForElementPresent |
profileform_blogaddress |
|
| type |
profileform_blogaddress |
www.blog.com |
| type |
profileform_address |
150 Willis Street |
| type |
profileform_city |
CBD |
| type |
profileform_homenumber |
04928375 |
| type |
profileform_businessnumber |
040298375 |
| type |
profileform_mobilenumber |
0272093875482 |
| waitForElementPresent |
profileform_faxnumber |
|
| type |
profileform_faxnumber |
09237842 |
| waitForElementPresent |
profileform_occupation |
|
| type |
profileform_occupation |
it |
| waitForElementPresent |
profileform_industry |
|
| type |
profileform_industry |
it |
| waitForElementPresent |
profileform_submit |
|
| click |
profileform_submit |
|
| waitForNotValue |
profileform_submit |
regexp:Processing.* |
| setSpeed |
1500 |
|
| waitForVisible |
footer-nav |
|
| waitForVisible |
social_a |
|
| click |
contact_a |
|
| waitForElementPresent |
//a[@id="contact_a" and @class="current-tab"] |
|
| waitForText |
//div[@id='email_list']/div[@class="unvalidated"] |
regexp:cri@catalyst.net.nz.* |
| pause |
1000 |
|
| click |
social_a |
|
| waitForVisible |
//a[@id="social_a" and @class="current-tab"] |
|
| setSpeed |
500 |
|
| waitForElementPresent |
link=New social media account |
|
| click |
link=New social media account |
|
| waitForElementPresent |
id=editprofileform_profiletype |
|
| select |
id=editprofileform_profiletype |
value=twitter |
| type |
id=editprofileform_profileurl |
MaharaProject |
| waitForElementPresent |
id=editprofileform_submit |
|
| click |
id=editprofileform_submit |
|
| waitForNotValue |
id=editprofileform_submit |
regexp:Processing.* |
| setSpeed |
1500 |
|
| waitForVisible |
footer-nav |
|
| waitForVisible |
social_a |
|
| pause |
1000 |
|
| click |
social_a |
|
| waitForVisible |
//a[@id="social_a" and @class="current-tab"] |
|
| assertText |
//table[@id='socialprofilelist']/tbody/tr/td[2] |
Twitter |
| assertAttribute |
link=MaharaProject@href |
https://twitter.com/MaharaProject |
| waitForElementPresent |
link=New social media account |
|
| click |
link=New social media account |
|
| waitForElementPresent |
id=editprofileform_profiletype |
|
| select |
id=editprofileform_profiletype |
value=other |
| type |
id=editprofileform_profiletype_other |
Github |
| type |
id=editprofileform_profileurl |
http://github.com/MaharaProjec |
| waitForElementPresent |
id=editprofileform_submit |
|
| click |
id=editprofileform_submit |
|
| waitForNotValue |
id=editprofileform_submit |
regexp:Processing.* |
| setSpeed |
1500 |
|
| waitForVisible |
footer-nav |
|
| waitForVisible |
social_a |
|
| pause |
1000 |
|
| click |
social_a |
|
| waitForVisible |
//a[@id="social_a" and @class="current-tab"] |
|
| assertText |
//table[@id='socialprofilelist']/tbody/tr/td[2]/span |
Github |
| clickAndWait |
css=img[alt="Edit"] |
|
| type |
id=editprofileform_profileurl |
http://github.com/MaharaProject |
| clickAndWait |
id=editprofileform_submit |
|
| waitForVisible |
//a[@id="social_a" and @class="current-tab"] |
|
| assertTextPresent |
http://github.com/MaharaProject |
|
| setSpeed |
500 |
|