TT#56376 selenium: fill call list suppression domain twice to trigger popup

controller_other.t:
- fill domain name in call list suppression twice, to trigger popup message
on top of edit window, clearing the rest of the input fields from getting
blocked

Change-Id: I97f9014b3fd4bb4d82c3c66d192f33d221217f5b
changes/62/33162/1
Nico Schedel 6 years ago
parent 1669571389
commit 492d137a1f

@ -61,6 +61,7 @@ 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');
$d->find_element('//*[@id="mod_edit"]/div/h3[contains(text(), "Edit Call List Suppression")]')->click();
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);
$d->find_element('//*[@id="direction"]/option[@value="incoming"]')->click();
$d->fill_element('//*[@id="pattern"]', 'xpath', 'testing');
$d->find_element('//*[@id="mode"]/option[@value="obfuscate"]')->click();

Loading…
Cancel
Save