TT#56376 selenium: fix for tooltip blocking main menu in ctr_ncos

controller_ncos.t:
- tooltip from the input box would not clear fast enough when scrolling
up to the main menu button, causing the tooltip to also scroll up, blocking
the menu button from inputs. now it will click into the second search box
after it is done with text input becuase the second toolip would not block
the menu even when scrolled

Change-Id: If3f548b67e0560fb8ab6bd59cbeae838b63bb4da
changes/95/32495/1
Nico Schedel 6 years ago
parent 126e3ebfb8
commit 9f1a168712

@ -304,6 +304,7 @@ $d->find_element('//*[@id="dataConfirmOK"]')->click();
diag("Check if Entry was deleted"); diag("Check if Entry was deleted");
is($d->get_text('//*[@id="content"]//div[contains(@class, "alert")]'), "LNP carrier successfully deleted", "Correct Alert was shown"); is($d->get_text('//*[@id="content"]//div[contains(@class, "alert")]'), "LNP carrier successfully deleted", "Correct Alert was shown");
$d->fill_element('//*[@id="lnp_carriers_table_filter"]/label/input', 'xpath', $lnpcarrier); $d->fill_element('//*[@id="lnp_carriers_table_filter"]/label/input', 'xpath', $lnpcarrier);
$d->move_and_click('//*[@id="lnp_numbers_table_filter"]//label//input', 'xpath', '//*[@id="content"]/div/h3[contains(text(), "LNP Numbers")]');
ok($d->find_element_by_css('#lnp_carriers_table tr > td.dataTables_empty', 'css'), 'Entry was deleted'); ok($d->find_element_by_css('#lnp_carriers_table tr > td.dataTables_empty', 'css'), 'Entry was deleted');
$c->delete_domain($domainstring); $c->delete_domain($domainstring);

Loading…
Cancel
Save