TT#56376 selenium: fix for tooltips preventing input

controller_other.t:
- execute click events before fill_element to prevent tooltips from blocking
input
- click on titlebar of edit window to workaround tooltips

Change-Id: Iae335558dc8c4b161cf11e74f0db95f0935a221d
changes/73/32273/5
Nico Schedel 6 years ago
parent c82299257f
commit 126e3ebfb8

@ -60,9 +60,10 @@ 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="mod_edit"]/div/h3[contains(text(), "Edit Call List Suppression")]')->click();
$d->find_element('//*[@id="direction"]/option[@value="incoming"]')->click();
$d->fill_element('//*[@id="pattern"]', 'xpath', 'testing');
$d->find_element('//*[@id="mode"]/option[@value="obfuscate"]')->click();
$d->fill_element('//*[@id="pattern"]', 'xpath', 'testing');
$d->fill_element('//*[@id="label"]', 'xpath', 'text');
$d->find_element('//*[@id="save"]')->click();

Loading…
Cancel
Save