## Simple test
# In the development environment, make search by keyword block_no_data in the advanced theme.
# Confirm, that in the each of found cases block_no_data tag parameter goes together with data_exists="1" tag parameter.
## Preparations
# go to {nav User Management > Users}, create some user
# go to {nav E-commerce > Afiliates}, create new affiliate with same user, entered in `Username` field
# go to {nav User Management > Users}, select same user in the grid and press `Login As` button in toolbar
# confirm that front-end page is opened
## Affiliate payments (case of empty list)
# click on `Affiliate` link in the `My Account` sidebar section
# confirm that `Affiliate Program` page is opened
# click on `Affiliate Payments` link in the main page part
# confirm that page with `No payments` text is shown
## Affiliate orders (case of empty list)
# click on `Affiliate` link in the `My Account` sidebar section
# confirm that `Affiliate Program` page is opened
# click on `Affiliate Statistics` link in the main page part
# confirm that `Affiliate Statistics` page is opened
# click on `Details` link in the `Total orders` row
# confirm that `Orders Statistics` page is opened, and `No orders` text is shown on this page
## Affiliate visits (case of empty list)
# click on `Affiliate` link in the `My Account` sidebar section
# confirm that `Affiliate Program` page is opened
# click on `Affiliate Statistics` link in the main page part
# confirm that `Affiliate Statistics` page is opened
# click on `Details` link in the `Total visitors` row
# confirm that `Visitor Statistics` page is opened, and `No visitors` text is shown on this page
## Cancel recurring (case of empty list)
# go to URL `in-commerce/my_account/cancel_recurring.html` of current project
# confirm that `Cancel Reoccuring Billing` page is opened, and `No orders` text is shown on this page
## Cancel recurring ok (case of empty list)
# go to URL `in-commerce/my_account/cancel_recurring_ok.html` of current project
# confirm that `Cancel Reoccuring Billing` page is opened, and `No orders` text is shown on this page
## My downloads (case of empty list)
# click on `My Downloads` link in the `My Account` sidebar section
# confirm that `My Downloads` page is opened, and `No products` text is shown on this page
## My orders (case of empty list)
# click on `My Orders` link in the `My Account` sidebar section
# confirm that `My Orders` page is opened, and `No orders` text is shown on this page
## In-commerce category/section (not in-commerce home page, case of empty products list)
# go to adm.console
# create `Services` section as child of `Products` category
# go to front-ent, to the URL `products/services.html` of current project
# confirm that `Services` page is opened, and it contains `No products` text under `Products` subsection
## Preparations to get all above lists have records
# go to {nav Tools > Query Database} section
# run SQL like: "INSERT INTO inp_AffiliatePayments SET AffiliateId = 1" where "1" may be replaced with ID of affiliate, created in `Preparations` above
# run SQL like: "INSERT INTO inp_UserVisits SET PortalUserId = 2, AffiliateId = 1" where "1" may be replaced with ID of affiliate, created in `Preparations` above, "2" may be replaced with ID of user, created in `Preparations` above
# run SQL like: "INSERT INTO inp_Orders SET VisitId = 1, Status = 4" where "1" may be replaced with ID of inp_UserVisits record, created by SQL command above
# run SQL like: "INSERT INTO inp_Orders SET PortalUserId = 2, Status = 4, IsRecurringBilling = 1" where "2" may be replaced with ID of user, created in `Preparations` above
# go to adm.console and create active product of type "Downloadable" under "Products" category
# run SQL like: "INSERT INTO inp_UserFileAccess SET ProductId = 1, PortalUserId = 2" where "1" may be replaced with ID of inp_Products record, created in adm.console above, "2" may be replaced with ID of user, created in `Preparations` above