Class TestCreateWorklogOnCreateIssue
java.lang.Object
com.atlassian.jira.functest.framework.BaseJiraFuncTest
com.atlassian.jira.webtests.ztests.timetracking.modern.AbstractTestCreateWorklogAsField
com.atlassian.jira.webtests.ztests.timetracking.modern.TestCreateWorklogOnCreateIssue
Uses the tests defined in
AbstractTestCreateWorklogAsField to test the "log work" system field on the Create
Issue screen.- Since:
- v4.2
-
Field Summary
Fields inherited from class com.atlassian.jira.webtests.ztests.timetracking.modern.AbstractTestCreateWorklogAsField
HSP_1, HSP_2Fields inherited from class com.atlassian.jira.functest.framework.BaseJiraFuncTest
backdoor, environmentData, initClass, navigation, tester, testRule -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected com.atlassian.jira.webtests.ztests.timetracking.modern.LogWorkRunnervoidvoidvoidvoidvoidErrors should be reported if the "Time Spent" field or the hideable "new estimate" field (if "Set estimated time remaining" radio button has been selected) contains an invalid duration string.voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidErrors should be reported on the "Time Spent" field, "Start Date" field and hideable "new estimate" field if "Set estimated time remaining" radio button has been selected, if they are empty.voidvoidvoidvoidMethods inherited from class com.atlassian.jira.webtests.ztests.timetracking.modern.AbstractTestCreateWorklogAsField
execLogWorkVisibleToCommentLevel, execLogWorkVisibleToGroup, restoreMethods inherited from class com.atlassian.jira.functest.framework.BaseJiraFuncTest
getAssertions, getBackdoor, getEnvironmentData, getTester
-
Constructor Details
-
TestCreateWorklogOnCreateIssue
public TestCreateWorklogOnCreateIssue()
-
-
Method Details
-
getLogWorkRunner
protected com.atlassian.jira.webtests.ztests.timetracking.modern.LogWorkRunner getLogWorkRunner()- Specified by:
getLogWorkRunnerin classAbstractTestCreateWorklogAsField- Returns:
- the LogWorkRunner implementation to use when running the tests.
-
testWorklogNoPermToCreate
public void testWorklogNoPermToCreate()- Overrides:
testWorklogNoPermToCreatein classAbstractTestCreateWorklogAsField
-
testWorklogTimeTrackingDisabled
public void testWorklogTimeTrackingDisabled()- Overrides:
testWorklogTimeTrackingDisabledin classAbstractTestCreateWorklogAsField
-
testLogWorkLeaveEstimateNoteCorrect
public void testLogWorkLeaveEstimateNoteCorrect()- Overrides:
testLogWorkLeaveEstimateNoteCorrectin classAbstractTestCreateWorklogAsField
-
testMandatoryFields
public void testMandatoryFields()Description copied from class:AbstractTestCreateWorklogAsFieldErrors should be reported on the "Time Spent" field, "Start Date" field and hideable "new estimate" field if "Set estimated time remaining" radio button has been selected, if they are empty.- Overrides:
testMandatoryFieldsin classAbstractTestCreateWorklogAsField
-
testInvalidFormattedDurationFields
public void testInvalidFormattedDurationFields()Description copied from class:AbstractTestCreateWorklogAsFieldErrors should be reported if the "Time Spent" field or the hideable "new estimate" field (if "Set estimated time remaining" radio button has been selected) contains an invalid duration string. Valid durations strings include "4d 6h", "30m", etc.- Overrides:
testInvalidFormattedDurationFieldsin classAbstractTestCreateWorklogAsField
-
testBadFractionDuration
public void testBadFractionDuration()- Overrides:
testBadFractionDurationin classAbstractTestCreateWorklogAsField
-
testGoodFractionDuration
- Overrides:
testGoodFractionDurationin classAbstractTestCreateWorklogAsField- Throws:
Exception
-
testInvalidTimeSpentZero
public void testInvalidTimeSpentZero()- Overrides:
testInvalidTimeSpentZeroin classAbstractTestCreateWorklogAsField
-
testInvalidStartDateField
public void testInvalidStartDateField()- Overrides:
testInvalidStartDateFieldin classAbstractTestCreateWorklogAsField
-
testAutoAdjustEstimate
public void testAutoAdjustEstimate()- Overrides:
testAutoAdjustEstimatein classAbstractTestCreateWorklogAsField
-
testNewEstimate
public void testNewEstimate()- Overrides:
testNewEstimatein classAbstractTestCreateWorklogAsField
-
testLeaveExistingEstimate
public void testLeaveExistingEstimate()- Overrides:
testLeaveExistingEstimatein classAbstractTestCreateWorklogAsField
-
testManuallyAdjustEstimate
public void testManuallyAdjustEstimate()- Overrides:
testManuallyAdjustEstimatein classAbstractTestCreateWorklogAsField
-
testLogWorkVisibleToAll
public void testLogWorkVisibleToAll()- Overrides:
testLogWorkVisibleToAllin classAbstractTestCreateWorklogAsField
-
testLogWorkVisibleToAllDaysTimeFormat
public void testLogWorkVisibleToAllDaysTimeFormat()- Overrides:
testLogWorkVisibleToAllDaysTimeFormatin classAbstractTestCreateWorklogAsField
-
testLogWorkVisibleToAllHoursTimeFormat
public void testLogWorkVisibleToAllHoursTimeFormat()- Overrides:
testLogWorkVisibleToAllHoursTimeFormatin classAbstractTestCreateWorklogAsField
-
testLogWorkVisibleToRole
public void testLogWorkVisibleToRole()- Overrides:
testLogWorkVisibleToRolein classAbstractTestCreateWorklogAsField
-
testLogWorkVisibleToRoleDaysTimeFormat
public void testLogWorkVisibleToRoleDaysTimeFormat()- Overrides:
testLogWorkVisibleToRoleDaysTimeFormatin classAbstractTestCreateWorklogAsField
-
testLogWorkVisibleToRoleHoursTimeFormat
public void testLogWorkVisibleToRoleHoursTimeFormat()- Overrides:
testLogWorkVisibleToRoleHoursTimeFormatin classAbstractTestCreateWorklogAsField
-
testLogWorkVisibleToGroup
public void testLogWorkVisibleToGroup()- Overrides:
testLogWorkVisibleToGroupin classAbstractTestCreateWorklogAsField
-
testLogWorkVisibleToGroupDaysTimeFormat
public void testLogWorkVisibleToGroupDaysTimeFormat()- Overrides:
testLogWorkVisibleToGroupDaysTimeFormatin classAbstractTestCreateWorklogAsField
-
testLogWorkVisibleToGroupHoursTimeFormat
public void testLogWorkVisibleToGroupHoursTimeFormat()- Overrides:
testLogWorkVisibleToGroupHoursTimeFormatin classAbstractTestCreateWorklogAsField
-
testLogWorkCommentsNotCopiedWhenCopyingDisabled
public void testLogWorkCommentsNotCopiedWhenCopyingDisabled()- Overrides:
testLogWorkCommentsNotCopiedWhenCopyingDisabledin classAbstractTestCreateWorklogAsField
-
testLogWorkCommentsCopiedWhenCopyingEnabled
public void testLogWorkCommentsCopiedWhenCopyingEnabled()- Overrides:
testLogWorkCommentsCopiedWhenCopyingEnabledin classAbstractTestCreateWorklogAsField
-
testLogWorkDateIsStartDate
public void testLogWorkDateIsStartDate()- Overrides:
testLogWorkDateIsStartDatein classAbstractTestCreateWorklogAsField
-
testChangeHistory
- Overrides:
testChangeHistoryin classAbstractTestCreateWorklogAsField- Throws:
Exception
-