open |
/billing/callc/logout |
|
type |
login_username |
admin |
type |
login_psw |
admin1 |
clickAndWait |
commit |
|
verifyTextPresent |
Succesfully logged in |
|
open |
/billing/functions/settings |
|
click |
//div[@id='tabTabdhtmlgoodies_tabView1_9']/span |
|
click |
allow_api |
|
click |
allow_get_api |
|
click |
xml_api_extension |
|
type |
api_secret_key |
secret |
clickAndWait |
commit |
|
waitForTextPresent |
Settings saved |
|
open |
/billing/monitorings |
|
click |
monitoring_period_in_past_type_days |
|
select |
monitoring_period_in_past_days |
label=20 |
type |
amount_above |
1 |
click |
will_be_blocked |
|
click |
monitoring_user_type_all |
|
clickAndWait |
commit |
|
waitForTextPresent |
Monitoring created successfully. Applied to all users. |
|
open |
/billing/users/edit/2 |
|
waitForValue |
user_blocked_1 |
on |
waitForValue |
user_blocked_2 |
off |
waitForElementPresent |
ignore_global_monitorings |
|
check |
ignore_global_monitorings |
|
waitForValue |
ignore_global_monitorings |
on |
clickAndWait |
//div[@id='confirm_without_message']/input |
|
waitForTextPresent |
User's settings succesfully changed: Test User #1 |
|
open |
/billing/test/load_delta_sql/monitoring_test |
|
open |
billing/test/run_ma_script?params="-ahttp://127.0.0.1/billing/api/ma_activate -p mor -umor -nmor -ksecret" |
|
open |
/billing/users/edit/2 |
|
waitForValue |
user_blocked_1 |
on |
waitForValue |
user_blocked_2 |
off |
waitForValue |
ignore_global_monitorings |
on |
open |
/billing/users/edit/3 |
|
waitForValue |
user_blocked_2 |
on |