TT#56376 selenium: re-enable a test in controller_domain

controller_domain.t:
- re-enabled test "add empty ip into allowed ip's". TT#61401 was fixed, so
it works properly now

Change-Id: I53f1f62481bbb1b26a54ad86bf37e9cccea70820
changes/10/31910/1
Nico Schedel 6 years ago
parent f79527ed44
commit 07c34962f8

@ -72,10 +72,8 @@ diag("Click edit for the preference allowed_ips");
$d->move_and_click('//table/tbody/tr/td[contains(text(), "allowed_ips")]/../td/div/a[contains(text(), "Edit")]', 'xpath', '//table/tbody/tr/td[contains(text(), "man_allowed_ips")]/../td/div/a[contains(text(), "Edit")]');
diag("Enter an IP address");
=pod
$d->find_element('//*[@id="add"]')->click();
ok($d->find_element_by_xpath('//*[@id="mod_edit"]//div//span[contains(text(), "Invalid IPv4 or IPv6 address")]'), "Invalid IP address detected");
=cut
$d->fill_element('//*[@id="allowed_ips"]', 'xpath', '127.0.0.0.0');
$d->find_element('//*[@id="add"]')->click();
ok($d->find_element_by_xpath('//*[@id="mod_edit"]//div//span[contains(text(), "Invalid IPv4 or IPv6 address")]'), "Invalid IP address detected");

Loading…
Cancel
Save