TT#56376 selenium: fix use of uninitialized variable

Common.pm:
- define $special variable with text 'empty' when variable is empty

Change-Id: I73a120c564716b6e0e87656d96e95324963c8c10
changes/80/31880/2
Nico Schedel 6 years ago
parent 78a919d083
commit c6d185d959

@ -212,6 +212,7 @@ sub delete_rw_ruleset {
sub create_customer {
my($self, $customerid, $contactmail, $billingname, $special) = @_;
return unless $customerid && $contactmail && $billingname;
$special = 'empty' unless $special;
diag("Go to Customers page");
$self->driver->find_element('//*[@id="main-nav"]//*[contains(text(),"Settings")]')->click();

Loading…
Cancel
Save