Skip to content

Commit

Permalink
Issue #862: avoid a TODO passed test case
Browse files Browse the repository at this point in the history
The real TODO test is still failing.
  • Loading branch information
bschmalhofer committed May 12, 2021
1 parent ebc8486 commit cb46fcd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/test/Selenium/Agent/AgentTicketCompose.t
Original file line number Diff line number Diff line change
Expand Up @@ -423,15 +423,17 @@ $Selenium->RunTest(

$Selenium->WaitFor( JavaScript => 'return typeof($) === "function" && $("#ToCustomer").length;' );

eval {
{
my $ToDo = todo('warning is not shown, issue #862');

my $Message = 'Article subject will be empty if the subject contains only the ticket hook!';

$Selenium->LogExecuteCommandActive(0);
$Self->True(
$Selenium->execute_script("return \$('.MessageBox.Notice:contains(\"$Message\")').length;"),
"Notification about empty subject is found",
);
$Selenium->LogExecuteCommandActive(1);
};

# Check duplication of customer user who doesn't exist in the system (see bug#13784).
Expand Down

0 comments on commit cb46fcd

Please sign in to comment.