From 57908d22602a1cefd1d852777fc836dda72b13f0 Mon Sep 17 00:00:00 2001 From: Nico Schedel Date: Thu, 12 Sep 2019 12:26:21 +0200 Subject: [PATCH] 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 --- t/selenium/controller_other.t | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/t/selenium/controller_other.t b/t/selenium/controller_other.t index 8b83ffc960..9073b73580 100644 --- a/t/selenium/controller_other.t +++ b/t/selenium/controller_other.t @@ -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');