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