setTimeout |
45000 |
|
open |
index.php/products/default?clearingSearch=1 |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
assertTextPresent |
Create |
|
assertTextPresent |
Products |
|
assertTextPresent |
Catalog Items |
|
assertTextPresent |
Categories |
|
assertTextPresent |
Delete |
|
assertTextPresent |
Export |
|
clickAndWait |
//div[@id='SecuredActionBarForProductsSearchAndListView']/div[1]/nav[1]/div[3]/a[1]/span |
|
assertTextNotPresent |
Delete |
|
assertTextNotPresent |
Export |
|
click |
link=Test Category ${randomSuffix} |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
setSpeed |
3000 |
|
waitForTextPresent |
Test Category ${randomSuffix} |
|
assertText |
link=Delete |
Delete |
clickAndWait |
link=Delete |
|
assertConfirmation |
Are you sure you want to delete this Product Category? |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
assertTextNotPresent |
Test Category ${randomSuffix} |
|
setSpeed |
0 |
|