# Preparations
* in IDE:
*# create `/themes/advanced/test.tpl` template
#* in Admin Console
*# go to {nav Configuration > Website > Themes} section
*# press `Rescan Themes` toolbar button
# Part 1
# login to Admin Console
# go to {nav Website & Content > Structure & Data} section
# confirm, that:
* go to {nav Website & Content > Structure & Data} section # category with `_Auto: test` name exists
* confirm, that# the `_Auto: test` category forhas `test.tpl` t` in `Template was created and it has red icon` column in grid
* delete that category # the `_Auto: test` category has semi-transparent red icon (means not visible in menu + theme bound)
# open `_Auto: test` category for editing
* open any category with Yellow icon (e.g.# press `Save` button on toolbar
# confirm, `Forums`) for editingthat saving was successful
*# open `_Auto: test` category for editing
# change it's typee value in `Template File` textbox from `Virtualtest` into `Template`test_bad`
# press `Save` button on toolbar
# confirm, * specify `test_bad` ithat saving failed due validation error on `Template File` fieldd is triggered about non-existing test_bad` template
* attempt to save changes# close editing window
# Part 2
# login to Admin Console
* confirm, that validation error on `Template File` field is triggered about non-existing `# go to {nav Website & Content > Structure & Data} section
# delete `_Auto: test_bad` template` category
* specify `test` in `Template File` field# open `Forums` category (should have yellow icon in grid) for editing
# change category type from `Virtual` into `Template`
* attempt to save changes# specify `test` in `Template File` field
# press `Save` button on toolbar
# confirm, *that saving was successful
# confirm, that changes were saved and chosend category now has Rred iconn in grid
* open any category with Red icon for editing# open `Forums` category (should have red icon in grid) for editing
# change value in `Template File` textbox from `test` into `test_bad`
# press `Save` button on toolbar
# confirm, * change it's type fromthat saving failed due validation error on `Template` into `Virtual`e File` field is triggered about non-existing test_bad` template
*# change category type from `Template` into `Virtual`
# specify `in-bulletin/designns/section` in `Template` dropdown
# press `Save` button on toolbar
# confirm, * attempt to save changesthat saving was successful
*# confirm, that changes were saved and chosend category now has Yyellow iconn in grid