TT#56376 selenium: another crash fix for controller_subscriber

controller_subscriber.t:
- add missing fallback element to move_and_click to fix crash on call
forward creation

Change-Id: Ib9007242fb32da2b7ef230a2a237c68839312ed5
changes/94/31194/2
Nico Schedel 6 years ago
parent 2391e3ce37
commit d51b27635a

@ -245,7 +245,7 @@ ok($d->find_element_by_xpath('//table//tr/td[contains(text(), "record_call")]/..
diag('Trying to add a simple call forward');
$d->scroll_to_element($d->find_element("Call Forwards", 'link_text'));
$d->find_element("Call Forwards", 'link_text')->click();
$d->move_and_click('//*[@id="preferences_table_cf"]/tbody/tr/td[contains(text(), "Unconditional")]/../td/div/a[contains(text(), "Edit")]', 'xpath');
$d->move_and_click('//*[@id="preferences_table_cf"]/tbody/tr/td[contains(text(), "Unconditional")]/../td/div/a[contains(text(), "Edit")]', 'xpath', '//*[@id="preference_groups"]//div//a[contains(text(), "Call Forwards")]');
$d->fill_element('//*[@id="destination.uri.destination"]', 'xpath', '43123456789');
$d->find_element('//*[@id="cf_actions.advanced"]')->click();

Loading…
Cancel
Save