open |
/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'] |
|
assertElementPresent |
//div[@id='comicpress-details']//a[text()='comicpress-config.php'] |
|
clickAndWait |
//div[@id='comicpress-details']//a[text()='comicpress-config.php'] |
|
assertElementPresent |
//h2[text()='Edit ComicPress Config'] |
|
storeSelectedLabel |
comiccat |
comiccat |
storeSelectedLabel |
blogcat |
blogcat |
storeSelectedValue |
select-comic_folder |
comic_folder |
storeSelectedValue |
select-rss_comic_folder |
rss_comic_folder |
storeSelectedValue |
select-archive_comic_folder |
archive_comic_folder |
storeSelectedValue |
select-mini_comic_folder |
mini_comic_folder |
assertText |
//div[@id='comicpress-details']//li[6]/a |
${comiccat} |
assertText |
//div[@id='comicpress-details']//li[7]/a |
${blogcat} |
assertTextPresent |
Comics folder: |
|
assertTextPresent |
Archive folder: ${archive_comic_folder} |
|
assertTextPresent |
RSS feed folder: ${rss_comic_folder} |
|
assertTextPresent |
Minithumb folder: ${mini_comic_folder} |
|
clickAndWait |
link=Manager Config |
|
click |
//a[text()='Show debug info'] |
|
select |
cpm-sidebar-type |
label=Latest Comic Posts |
assertVisible |
//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'] |
|