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);