TT#56376 selenium: workaround for header popup blocking items

controller_header.t:
- click on first element and sleep for 1 second, to make other popup
dissapear.

Change-Id: If4300ca4f527fa6acd51ac27dacf33dd2adec4c3
changes/35/33635/2
Nico Schedel 6 years ago
parent 57908d2260
commit 582f6b3848

@ -107,6 +107,8 @@ ok($d->wait_for_text('//*[@id="header_rules_table"]//tr[1]//td[7]', '1'), "Enabl
diag('Edit Header Rule');
$headerrule = ("header" . int(rand(100000)) . "rule");
$d->move_and_click('//*[@id="header_rules_table"]//tr[1]//td//a[contains(text(), "Edit")]', 'xpath', '//*[@id="header_rules_table_filter"]/label/input');
$d->find_element('//*[@id="priority"]')->click();
sleep 1;
$d->fill_element('//*[@id="priority"]', 'xpath', '1');
$d->fill_element('//*[@id="name"]', 'xpath', $headerrule);
$d->find_element('//*[@id="direction"]/option[@value="outbound"]')->click();

Loading…
Cancel
Save