TT#56376 selenium: add missing alert check to ctr_customer

controller_customer.t:
- add missing check for one alert message

Change-Id: I2d6564eddd51c5fc80f2fc1f44c4792ae1de5e77
changes/44/32944/2
Nico Schedel 6 years ago
parent 5a11c5a24f
commit a114ff9d24

@ -95,6 +95,8 @@ $d->find_element('//*[@id="status"]/option[contains(text(), "active")]')->click(
$d->find_element('#save', 'css')->click();
diag("Search for Customer");
$compstring = "Customer #" . $custnum . " successfully updated";
is($d->find_element_by_xpath('//*[@id="content"]//div[contains(@class, "alert")]')->get_text(), $compstring, "Correct Alert was shown");
$d->fill_element('#Customer_table_filter input', 'css', 'thisshouldnotexist');
ok($d->find_element_by_css('#Customer_table tr > td.dataTables_empty', 'css'), 'Garbage test not found');
$d->fill_element('#Customer_table_filter input', 'css', $customerid);

Loading…
Cancel
Save