From 9f1a168712f4b9ae48b3a6c010de3672ac4df661 Mon Sep 17 00:00:00 2001 From: Nico Schedel Date: Mon, 19 Aug 2019 10:36:19 +0200 Subject: [PATCH] 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 --- t/selenium/controller_ncos.t | 1 + 1 file changed, 1 insertion(+) diff --git a/t/selenium/controller_ncos.t b/t/selenium/controller_ncos.t index b49a9ed391..f49b0fc667 100644 --- a/t/selenium/controller_ncos.t +++ b/t/selenium/controller_ncos.t @@ -304,6 +304,7 @@ $d->find_element('//*[@id="dataConfirmOK"]')->click(); diag("Check if Entry was deleted"); 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->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'); $c->delete_domain($domainstring);