open |
/wp-admin/ |
|
storeElementPresent |
//a[contains(@href,'manage-wdts')] |
not_activated |
gotoIf |
!${not_activated} |
not_activated |
clickAndWait |
//a[@href="plugins.php"] |
|
clickAndWait |
//a[contains(@href,"what-did-they-say") and contains(@href,"deactivate")] |
|
assertTextPresent |
Plugin deactivated. |
|
label |
not_activated |
|
clickAndWait |
link=Installed |
|
assertTextPresent |
What Did They Say?!? |
|
clickAndWait |
//a[contains(@href,'what-did-they-say') and contains(@href,'activate')] |
|
assertTextPresent |
Plugin activated. |
|
assertElementPresent |
//a[contains(text(), "What Did They Say?!?")] |
|