From 0649dcb5943ebcd5ce01b75ddb64b3652c01ecf3 Mon Sep 17 00:00:00 2001 From: Nico Schedel Date: Wed, 10 Apr 2019 09:52:10 +0200 Subject: [PATCH] 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 --- t/selenium/controller_customer.t | 1 - 1 file changed, 1 deletion(-) diff --git a/t/selenium/controller_customer.t b/t/selenium/controller_customer.t index 8af2683842..113b93d93f 100644 --- a/t/selenium/controller_customer.t +++ b/t/selenium/controller_customer.t @@ -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")]]');