|
|
|
@ -45,11 +45,8 @@ sub ctr_billing {
|
|
|
|
$d->move_and_click('//*[@id="billing_profile_table"]/tbody/tr[1]//td//div//a[contains(text(), "Edit")]', 'xpath', '//*[@id="billing_profile_table_filter"]//input');
|
|
|
|
$d->move_and_click('//*[@id="billing_profile_table"]/tbody/tr[1]//td//div//a[contains(text(), "Edit")]', 'xpath', '//*[@id="billing_profile_table_filter"]//input');
|
|
|
|
|
|
|
|
|
|
|
|
diag("Edit Test Profile");
|
|
|
|
diag("Edit Test Profile");
|
|
|
|
my $elem = $d->find_element('#name', 'css');
|
|
|
|
|
|
|
|
ok($elem);
|
|
|
|
|
|
|
|
$d->fill_element('#interval_charge', 'css', '3.2');
|
|
|
|
$d->fill_element('#interval_charge', 'css', '3.2');
|
|
|
|
$d->find_element('#save', 'css')->click();
|
|
|
|
$d->find_element('#save', 'css')->click();
|
|
|
|
sleep 1;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
diag('Open "Fees" for Test Profile');
|
|
|
|
diag('Open "Fees" for Test Profile');
|
|
|
|
$d->fill_element('//*[@id="billing_profile_table_filter"]//input', 'xpath', 'thisshouldnotexist');
|
|
|
|
$d->fill_element('//*[@id="billing_profile_table_filter"]//input', 'xpath', 'thisshouldnotexist');
|
|
|
|
|