integrity_actions_errors
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/stats/last_calls_stats
select id=date_from_year label=2008
clickAndWait name=commit
open /billing/test/load_delta_sql/integrity_actions_errors
open /billing/functions/integrity_check
waitForElementPresent css=img[alt="Wrench"]
waitForText actions_errors_size 10
clickAndWait css=img[alt="Wrench"]
select id=date_from_year label=2010
select id=date_till_year label=2012
clickAndWait name=commit
waitForText id=date_63 2011-08-29 15:55:05
waitForText link=System Admin System Admin
waitForText id=type_55 error
waitForText id=cross_55
clickAndWait id=cross_55
waitForText id=status Action was marked as reviewed
waitForElementPresent id=date_55
verifySelectedLabel id=action_type error
select id=date_from_year label=2011
select id=date_from_month label=June
select id=date_from_day label=10
select id=date_till_year label=2012
select id=date_till_month label=December
select id=date_till_day label=31
clickAndWait name=commit
waitForElementNotPresent id=date_55
verifyElementPresent id=date_63
verifyElementPresent id=date_64
waitForElementNotPresent id=date_56
waitForElementNotPresent id=date_60
verifyElementPresent id=date_62
clickAndWait link=Clear search
waitForElementPresent id=date_3
select id=date_from_year label=2006
select id=date_from_month label=January
select id=date_from_day label=1
select id=date_till_year label=2012
select id=processed label=reviewed
clickAndWait name=commit
verifyElementPresent id=date_55
waitForElementNotPresent id=date_63
waitForElementNotPresent id=date_64
waitForElementNotPresent id=date_56
waitForElementNotPresent id=date_60
verifyElementNotPresent id=date_62
select id=user_id label=Test User #1
select id=action_type label=error
select id=processed label=not reviewed
clickAndWait name=commit
waitForElementPresent id=date_56
waitForElementPresent id=date_58
waitForElementPresent id=date_61
verifyText id=user_56 Test User #1
waitForElementNotPresent id=date_63
waitForElementNotPresent id=date_64
waitForElementNotPresent id=date_60
waitForElementNotPresent id=date_62
open /billing/functions/integrity_check
waitForText actions_errors_size 9
open /billing/stats/action_log
verifyTextPresent 2011-01-29 15:55:05
clickAndWait link=Mark all as reviewed
verifyTextPresent Actions marked as reviewed
verifyTextNotPresent 2011-01-29 15:55:05
open /billing/destination_groups/destinations_to_dg
waitForText id=page_title Destinations not assigned to Destination Groups
verifyTextNotPresent INTERNAL ERROR
clickAndWait name=commit
verifyTextNotPresent INTERNAL ERROR
waitForTextPresent No Destinations
clickAndWait css=input[type="submit"]
assertConfirmation Are you sure?
verifyTextNotPresent INTERNAL ERROR
clickAndWait css=input[type="submit"]
assertConfirmation Are you sure?
verifyTextNotPresent INTERNAL ERROR
waitForTextPresent Destinations assigned
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
open /billing/users/new
type id=user_username adminuser
type id=password_password adminuser1
clickAndWait commit
open /billing/users/edit/6
type id=password_password adminuser
clickAndWait commit
assertConfirmation Are you sure?
open /billing/users/users_weak_passwords
verifyText user_link_6 adminuser
open /billing/callc/logout
type id=login_username reseller
type id=login_psw reseller1
clickAndWait commit
open /billing/users/new
type id=user_username reselleruser
type id=password_password reselleruser1
clickAndWait commit
open /billing/users/edit/7
type id=password_password reselleruser
clickAndWait commit
assertConfirmation Are you sure?
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
open /billing/users/users_weak_passwords
verifyTextPresent Owner
verifyText user_owner_6 System Admin
verifyText user_owner_7 Test Reseller
clickAndWait css=#login_as_link_7 > img
assertConfirmation Are you sure?
verifyTextPresent Hello, Test Reseller
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
open /billing/users/users_weak_passwords
verifyText user_owner_7 Test Reseller
clickAndWait css=img[alt="Application_key"]
assertConfirmation Are you sure?
open /billing/users/edit/7
type id=password_password reselleruser1
clickAndWait commit
assertConfirmation Are you sure?
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
open /billing/users/edit/6
type id=password_password adminuser1
clickAndWait commit
assertConfirmation Are you sure?
open /billing/users/users_weak_passwords
verifyTextNotPresent adminuser
verifyTextNotPresent reselleruser
open /billing/functions/integrity_check
waitForElementPresent link=For more details about Integrity Check please click here