public class BulkOperations extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SAME_FOR_ALL |
Constructor and Description |
---|
BulkOperations(net.sourceforge.jwebunit.WebTester tester,
com.atlassian.jira.testkit.client.log.FuncTestLogger logger,
Navigation navigation,
Administration administration,
Assertions assertions) |
Modifier and Type | Method and Description |
---|---|
void |
bulkChangeCancel()
Clicks on the 'Cancel' button on any of the bulk change steps
|
void |
bulkChangeChooseIssuesAll()
selects the checkbox with id all
Used in the Step Choose Issues |
void |
bulkChangeChooseOperationEdit()
Chooses the Edit Operation radio button in the Step Choose Operation
|
void |
bulkChangeConfirm()
Clicks on the 'Confirm' button on the confirmation steps
|
void |
bulkChangeIncludeAllPages()
Simulates the clicking on bulk change all issues
|
void |
bulkChangeIncludeCurrentPage()
Simulates the clicking on bulk change current page of issues
|
void |
bulkChangeSelectIssue(String key) |
void |
bulkChangeSelectIssues(Collection keys) |
void |
bulkEditConfirmEdit(Map<String,String> fields)
Checks in step Confirmation of edit operation before confirming, whether or not the selected fields have been
made
DOES NOT goto the issues change log and check that they are changed after confirmation... |
void |
bulkEditOperationDetailsSetAs(Map<String,String> fields)
Chooses the bulk action(s) you wish to perform on the selected issue.
if a field is not to be selected place "" in place of it. Used in Operation Details |
void |
chooseOperationBulkMove()
Chooses the Move Operation radio button in the Step Choose Operation
|
void |
chooseOperationExecuteWorfklowTransition()
Chooses the Execute Worfklow Action radio button in the Step Choose Operation
|
void |
deleteAllIssuesInAllPages() |
void |
isStepChooseIssues()
Checks if the current step in bulk change is: Choose Issues
|
void |
isStepChooseOperation()
Checks if the current step in bulk change is: Choose Operation
|
void |
isStepConfirmation()
Checks if the current step in bulk change is: Confirmation.
|
void |
isStepOperationDetails()
Checks if the current step in bulk change is: Operation Details
|
void |
setBulkEditFieldTo(String field,
String listValue)
Selects the 'listValue' in the 'field' list and checks that the corresponding 'field' checkbox is selected
|
void |
waitAndReloadBulkOperationProgressPage() |
public static final String SAME_FOR_ALL
@Inject public BulkOperations(net.sourceforge.jwebunit.WebTester tester, com.atlassian.jira.testkit.client.log.FuncTestLogger logger, Navigation navigation, Administration administration, Assertions assertions)
public void bulkChangeIncludeAllPages()
public void bulkChangeIncludeCurrentPage()
public void isStepChooseIssues()
public void isStepChooseOperation()
public void isStepOperationDetails()
public void isStepConfirmation()
public void bulkChangeSelectIssue(String key)
public void bulkChangeSelectIssues(Collection keys)
public void waitAndReloadBulkOperationProgressPage()
public void bulkChangeChooseOperationEdit()
public void setBulkEditFieldTo(String field, String listValue)
public void bulkEditOperationDetailsSetAs(Map<String,String> fields)
fields
- A map woth field ids as keys and field values (have to be simple Strings) as values.public void bulkEditConfirmEdit(Map<String,String> fields)
fields
- a map with field ids as keys and simple Strings as values.public void bulkChangeConfirm()
public void bulkChangeCancel()
public void bulkChangeChooseIssuesAll()
public void chooseOperationExecuteWorfklowTransition()
public void chooseOperationBulkMove()
public void deleteAllIssuesInAllPages()
Copyright © 2002-2016 Atlassian. All Rights Reserved.