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 //tr[4]/td[2] 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 //tr[4]/td[2] 9
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/functions/integrity_check
clickAndWait link=Fix
clickAndWait link=Mark all as reviewed
open /billing/functions/integrity_check
verifyText actions_errors_size 0