TestSidebars
open /comicpress_manager_mu/wordpress-mu/wp-admin/
assertElementPresent //img[contains(@src, 'comicpress-icon.png')]
clickAndWait link=Manager Config
select cpm-sidebar-type label=ComicPress Status and Help
clickAndWait //input[@value='Change Configuration']
assertElementNotPresent //div[@id='cpm-activity-column'][@class='no-sidebar']
assertElementPresent //div[@id='comicpress-details']
assertElementNotPresent //div[@id='comicpress-details']//a[text()='comicpress-config.php']
clickAndWait link=ComicPress Config
storeSelectedLabel comiccat comiccat
storeSelectedLabel blogcat blogcat
assertText //div[@id='comicpress-details']//li[6]/a ${comiccat}
assertText //div[@id='comicpress-details']//li[7]/a ${blogcat}
assertTextPresent Comics folder: comics
assertTextPresent Archive folder: comics-archive
assertTextPresent RSS feed folder: comics-rss
clickAndWait link=Manager Config
select cpm-sidebar-type label=Latest Comic Posts
assertElementNotPresent //span[@id='debug-info']
clickAndWait //input[@value='Change Configuration']
assertElementNotPresent //div[@id='cpm-activity-column'][@class='no-sidebar']
assertElementPresent //div[@id='comicpress-latest-posts']
select cpm-sidebar-type label=No Sidebar
clickAndWait //input[@value='Change Configuration']
assertElementPresent //div[@id='cpm-activity-column'][@class='no-sidebar']
select cpm-sidebar-type label=ComicPress Status and Help
clickAndWait //input[@value='Change Configuration']