From 407c95cd6537e9c9af100adb1936d9ff64d96f86 Mon Sep 17 00:00:00 2001 From: Nico Schedel <nschedel@sipwise.com> Date: Thu, 12 Sep 2019 09:29:23 +0200 Subject: [PATCH] TT#56376 selenium: change clickable element on call list supression window controller_other.t: - changed the element the click workaround should click. apparently the titlebar gets somehow blocked too now Change-Id: Id221776415cd023c88000740bc15747defb439c8 --- t/selenium/controller_other.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/selenium/controller_other.t b/t/selenium/controller_other.t index 72e8762726..da50b63356 100644 --- a/t/selenium/controller_other.t +++ b/t/selenium/controller_other.t @@ -60,7 +60,7 @@ 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="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->fill_element('//*[@id="domain"]', 'xpath', $domainstring);