public class AsynchronousTasks extends Object
|Constructor and Description|
|Modifier and Type||Method and Description|
Waits for an asynchronous action to complete and acknowledges the result on completion
public AsynchronousTasks(net.sourceforge.jwebunit.WebTester tester, JIRAEnvironmentData environmentData, int logIndentLevel)
@Inject public AsynchronousTasks(net.sourceforge.jwebunit.WebTester tester, JIRAEnvironmentData environmentData)
public void waitForSuccessfulCompletion(long sleepTime, int retryCount, String operationName)
sleepTime- The time to sleep before refreshing the page again and checking for the operation to be finished.
retryCount- The number of times we will try to check for the operation to be finished.
operationName- The name of the operation that we are checking. Only used for printing messages.
Copyright © 2002-2020 Atlassian. All Rights Reserved.