TT#56376 selenium: workaround for call list suppression popup blocking items

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

Change-Id: I6264acf51692dc62edb5a9eaabfc3bf3942612bd
changes/38/33438/5
Nico Schedel 6 years ago
parent 4155bce8f8
commit 57908d2260

@ -60,9 +60,8 @@ ok($d->find_element_by_xpath('//*[@id="call_list_suppression_table"]//tr[1]/td[c
diag('Edit Call list suppression');
$d->move_and_click('//*[@id="call_list_suppression_table"]//tr[1]//td//a[contains(text(), "Edit")]', 'xpath', '//*[@id="call_list_suppression_table_filter"]//input');
ok($d->find_element_by_xpath('//*[@id="mod_edit"]/div/h3[contains(text(), "Edit Call List Suppression")]'), "Edit Window has been opened");
$d->find_element('//*[@id="label"]')->click();
$d->refresh();
ok($d->find_element_by_xpath('//*[@id="mod_edit"]/div/h3[contains(text(), "Edit Call List Suppression")]'), "Edit Window has been opened");
$d->find_element('//*[@id="domain"]')->click();
sleep 1;
$d->fill_element('//*[@id="domain"]', 'xpath', $domainstring);
$d->find_element('//*[@id="direction"]/option[@value="incoming"]')->click();
$d->fill_element('//*[@id="pattern"]', 'xpath', 'testing');

Loading…
Cancel
Save