diff --git a/t/selenium/controller_customer.t b/t/selenium/controller_customer.t index 113b93d93f..4299bb9da5 100644 --- a/t/selenium/controller_customer.t +++ b/t/selenium/controller_customer.t @@ -115,11 +115,8 @@ my $elem = $d->find_element('//div[contains(@class,"accordion-heading")]//a[cont $d->scroll_to_element($elem); $elem->click(); $row = $d->find_element('//div[contains(@class,"accordion-body")]//table//tr/td[contains(text(),"Monthly Settings")]'); -ok($row, 'Changed monthly settings'); -$edit_link = $d->find_child_element($row, './../td//a[text()[contains(.,"Edit")]]'); -ok($edit_link); $d->move_action(element => $row); -$edit_link->click(); +$edit_link = $d->find_child_element($row, './../td//a[text()[contains(.,"Edit")]]')->click(); diag("Do Edit Fraud Limits"); $d->fill_element('#fraud_interval_limit', 'css', "100");