Skip to content

Commit

Permalink
* Follow-up to fixes for ledgersmb#2654: adapt test expectations
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuelsmann committed May 26, 2017
1 parent 07a34b4 commit aae6ca5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions t/lib/PageObject/Setup/CreateUser.pm
Expand Up @@ -18,8 +18,8 @@ __PACKAGE__->self_register(
});


my @fields = ("Username", "Password", "Yes", "No", "Salutation",
"First Name", "Last name", "Employee Number",
my @fields = ("Username", "Password", "Create new user", "Import existing user",
"Salutation", "First Name", "Last name", "Employee Number",
"Date of Birth", "Tax ID/SSN", "Country", "Assign Permissions");


Expand Down
4 changes: 2 additions & 2 deletions t/lib/PageObject/Setup/Login.pm
Expand Up @@ -26,7 +26,7 @@ sub _verify {
my ($self) = @_;

$self->find('*labeled', text => $_)
for ("Password", "Database", "Super-user login");
for ("Password", "Database", "DB admin login");
return $self;
};

Expand All @@ -45,7 +45,7 @@ sub login {
$element->click;
$element->send_keys($_->{value});
$element->send_keys(KEYS->{'tab'}) if defined $_->{list};
} for ({ label => "Super-user login",
} for ({ label => "DB admin login",
value => $user,
list => 1 },
{ label => "Password",
Expand Down

0 comments on commit aae6ca5

Please sign in to comment.