TT#56376 selenium: remove phantomjs/chrome sleep call

controller_customer.t:
- removing a probably unnecessary sleep call that would trigger if either
chrome or phantomjs are used.

Change-Id: I2758c2756eb9f29fcbdcfacbce9b02faef87e056
changes/85/28985/2
Nico Schedel 7 years ago
parent cfa13da9ae
commit 0649dcb594

@ -114,7 +114,6 @@ diag("Edit Fraud Limits");
my $elem = $d->find_element('//div[contains(@class,"accordion-heading")]//a[contains(text(),"Fraud Limits")]');
$d->scroll_to_element($elem);
$elem->click();
sleep 4 if ($d->browser_name_in("phantomjs", "chrome")); # time to move
$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")]]');

Loading…
Cancel
Save