TestFirstRun
clickAndWait link=ComicPress Config
click folder-e-comic_folder
type enter-comic_folder bad1
click folder-e-rss_comic_folder
type enter-rss_comic_folder bad2
click folder-e-archive_comic_folder
type enter-archive_comic_folder bad3
clickAndWait //input[@value='Update Config']
assertTextPresent Create your comics, archive, or RSS folders first
click folder-s-comic_folder
click folder-s-rss_comic_folder
click folder-s-archive_comic_folder
clickAndWait //input[@value='Update Config']
assertTextNotPresent Create your comics, archive, or RSS folders first, then reload this page and use the dropdowns to select the target folder.
open /comicpress_manager_mu/wpmu/comic/wp-admin/options.php
type comicpress-manager-cpm-did-first-run 0
clickAndWait Update
clickAndWait //a[contains(@href, 'comicpress-manager') and contains(text(), 'Upload')]
assertTextNotPresent ComicPress Manager First Run
clickAndWait link=ComicPress Config
click folder-e-comic_folder
type enter-comic_folder bad1
click folder-e-rss_comic_folder
type enter-rss_comic_folder bad2
click folder-e-archive_comic_folder
type enter-archive_comic_folder bad3
clickAndWait //input[@value='Update Config']
open /comicpress_manager_mu/wpmu/comic/wp-admin/options.php
type comicpress-manager-cpm-did-first-run 0
clickAndWait Update
clickAndWait //a[contains(@href, 'comicpress-manager') and contains(text(), 'Upload')]
assertTextPresent ComicPress Manager First Run
clickAndWait //input[@value="No, I'll make them myself"]
assertTextPresent The comic folder bad1 does not exist
click folder-s-comic_folder
click folder-s-rss_comic_folder
click folder-s-archive_comic_folder
clickAndWait //input[@value='Update Config']
open /comicpress_manager_mu/wpmu/comic/wp-admin/options.php
type comicpress-manager-cpm-did-first-run 0
clickAndWait Update
clickAndWait //a[contains(@href, 'comicpress-manager') and contains(text(), 'Upload')]
assertTextNotPresent ComicPress Manager First Run
clickAndWait link=ComicPress Config
click folder-e-comic_folder
type enter-comic_folder bad1
click folder-e-rss_comic_folder
type enter-rss_comic_folder bad2
click folder-e-archive_comic_folder
type enter-archive_comic_folder bad3
clickAndWait //input[@value='Update Config']
open /comicpress_manager_mu/wpmu/comic/wp-admin/options.php
type comicpress-manager-cpm-did-first-run 0
clickAndWait Update
clickAndWait //a[contains(@href, 'comicpress-manager') and contains(text(), 'Upload')]
assertTextPresent ComicPress Manager First Run
clickAndWait link=ComicPress Config
assertTextNotPresent ComicPress Manager First Run
assertTextPresent The comic folder bad1 does not exist
click folder-s-comic_folder
click folder-s-rss_comic_folder
click folder-s-archive_comic_folder
select select-comic_folder comics
select select-rss_comic_folder comics-rss
select select-archive_comic_folder comics-archive
clickAndWait //input[@value='Update Config']