clickAndWait |
link=ComicPress Options |
|
click |
//div[@id='comicpress-tab-config']/span |
|
storeXpathCount |
//div[@id="comicpress-comic-filename-filters-holder"]/div |
filter_count |
while |
${filter_count} > 0 |
|
click |
//div[@id='comicpress-comic-filename-filters-holder']/div[1]/a |
|
assertConfirmation |
Are you sure? |
|
storeXpathCount |
//div[@id="comicpress-comic-filename-filters-holder"]/div |
filter_count |
endWhile |
|
|
clickAndWait |
comicpress_save_config |
|
storeXpathCount |
//div[@id="comicpress-comic-filename-filters-holder"]/div |
filter_count |
echo |
${filter_count} |
|
click |
add-new-filter |
|
storeXpathCount |
//div[@id="comicpress-comic-filename-filters-holder"]/div |
new_filter_count |
assertEval |
(${new_filter_count}) == (${filter_count} + 1) |
true |
clickAndWait |
comicpress_save_config |
|
assertTextPresent |
ComicPress Settings SAVED! |
|
storeXpathCount |
//div[@id="comicpress-comic-filename-filters-holder"]/div |
new_filter_count |
assertEval |
(${new_filter_count}) == (${filter_count} + 1) |
true |
click |
//div[@id='comicpress-comic-filename-filters-holder']/div[2]/a |
|
assertConfirmation |
Are you sure? |
|
storeXpathCount |
//div[@id="comicpress-comic-filename-filters-holder"]/div |
new_filter_count |
assertEval |
(${new_filter_count}) == (${filter_count}) |
true |
clickAndWait |
comicpress_save_config |
|
assertTextPresent |
ComicPress Settings SAVED! |
|
storeXpathCount |
//div[@id="comicpress-comic-filename-filters-holder"]/div |
new_filter_count |
assertEval |
(${new_filter_count}) == (${filter_count}) |
true |
assertTextPresent |
ComicPress Settings SAVED! |
|