Skip to content

Commit

Permalink
Issue #682: try more sleeping for avoiding sporadic failures
Browse files Browse the repository at this point in the history
  • Loading branch information
bschmalhofer committed Apr 29, 2021
1 parent 10f1470 commit 16e31b3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/test/Selenium/Output/Ticket/MenuProcess.t
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ $Selenium->RunTest(
# Go to test created ticket zoom.
$Selenium->VerifiedGet("${ScriptAlias}index.pl?Action=AgentTicketZoom;TicketID=$TicketID");

sleep 11;

# Check if process enroll is available for test ticket.
$Selenium->find_element_ok(
"//a[contains(\@href, \'Action=AgentTicketProcess;IsProcessEnroll=1;TicketID=$TicketID' )]",
Expand Down Expand Up @@ -211,12 +213,13 @@ $Selenium->RunTest(
$Selenium->VerifiedGet("${ScriptAlias}index.pl?Action=AdminProcessManagement");
$Selenium->find_element("//a[contains(\@href, \'Subaction=ProcessSync' )]")->VerifiedClick();

# We have to allow a 1 second delay for Apache2::Reload to pick up the changed process cache.
sleep 11;

# Go to test created ticket zoom.
$Selenium->VerifiedGet("${ScriptAlias}index.pl?Action=AgentTicketZoom;TicketID=$TicketID");

sleep 11;

# Check if process enroll is not available for test ticket.
$Selenium->content_lacks(
"Action=AgentTicketProcess;IsProcessEnroll=1;TicketID=$TicketID",
Expand Down

0 comments on commit 16e31b3

Please sign in to comment.