Class TestCreateWorklogOnEditIssue
java.lang.Object
com.atlassian.jira.functest.framework.BaseJiraFuncTest
com.atlassian.jira.webtests.ztests.timetracking.modern.AbstractTestCreateWorklogAsField
com.atlassian.jira.webtests.ztests.timetracking.modern.TestCreateWorklogOnEditIssue
Uses the tests defined in
AbstractTestCreateWorklogAsField
to test the "log work" system field on the Edit
Issue screen.- Since:
- v4.2
-
Field Summary
Fields inherited from class com.atlassian.jira.webtests.ztests.timetracking.modern.AbstractTestCreateWorklogAsField
HSP_1, HSP_2
Fields 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.LogWorkRunner
void
void
void
void
void
Errors 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.void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
Errors 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.void
void
void
void
Methods inherited from class com.atlassian.jira.webtests.ztests.timetracking.modern.AbstractTestCreateWorklogAsField
execLogWorkVisibleToCommentLevel, execLogWorkVisibleToGroup, restore
Methods inherited from class com.atlassian.jira.functest.framework.BaseJiraFuncTest
getAssertions, getBackdoor, getEnvironmentData, getTester
-
Constructor Details
-
TestCreateWorklogOnEditIssue
public TestCreateWorklogOnEditIssue()
-
-
Method Details
-
getLogWorkRunner
protected com.atlassian.jira.webtests.ztests.timetracking.modern.LogWorkRunner getLogWorkRunner()- Specified by:
getLogWorkRunner
in classAbstractTestCreateWorklogAsField
- Returns:
- the LogWorkRunner implementation to use when running the tests.
-
testWorklogNoPermToCreate
public void testWorklogNoPermToCreate()- Overrides:
testWorklogNoPermToCreate
in classAbstractTestCreateWorklogAsField
-
testWorklogTimeTrackingDisabled
public void testWorklogTimeTrackingDisabled()- Overrides:
testWorklogTimeTrackingDisabled
in classAbstractTestCreateWorklogAsField
-
testLogWorkLeaveEstimateNoteCorrect
public void testLogWorkLeaveEstimateNoteCorrect()- Overrides:
testLogWorkLeaveEstimateNoteCorrect
in classAbstractTestCreateWorklogAsField
-
testMandatoryFields
public void testMandatoryFields()Description copied from class:AbstractTestCreateWorklogAsField
Errors 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:
testMandatoryFields
in classAbstractTestCreateWorklogAsField
-
testInvalidFormattedDurationFields
public void testInvalidFormattedDurationFields()Description copied from class:AbstractTestCreateWorklogAsField
Errors 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:
testInvalidFormattedDurationFields
in classAbstractTestCreateWorklogAsField
-
testBadFractionDuration
public void testBadFractionDuration()- Overrides:
testBadFractionDuration
in classAbstractTestCreateWorklogAsField
-
testGoodFractionDuration
- Overrides:
testGoodFractionDuration
in classAbstractTestCreateWorklogAsField
- Throws:
Exception
-
testInvalidTimeSpentZero
public void testInvalidTimeSpentZero()- Overrides:
testInvalidTimeSpentZero
in classAbstractTestCreateWorklogAsField
-
testInvalidStartDateField
public void testInvalidStartDateField()- Overrides:
testInvalidStartDateField
in classAbstractTestCreateWorklogAsField
-
testAutoAdjustEstimate
public void testAutoAdjustEstimate()- Overrides:
testAutoAdjustEstimate
in classAbstractTestCreateWorklogAsField
-
testNewEstimate
public void testNewEstimate()- Overrides:
testNewEstimate
in classAbstractTestCreateWorklogAsField
-
testLeaveExistingEstimate
public void testLeaveExistingEstimate()- Overrides:
testLeaveExistingEstimate
in classAbstractTestCreateWorklogAsField
-
testManuallyAdjustEstimate
public void testManuallyAdjustEstimate()- Overrides:
testManuallyAdjustEstimate
in classAbstractTestCreateWorklogAsField
-
testLogWorkVisibleToAll
public void testLogWorkVisibleToAll()- Overrides:
testLogWorkVisibleToAll
in classAbstractTestCreateWorklogAsField
-
testLogWorkVisibleToAllDaysTimeFormat
public void testLogWorkVisibleToAllDaysTimeFormat()- Overrides:
testLogWorkVisibleToAllDaysTimeFormat
in classAbstractTestCreateWorklogAsField
-
testLogWorkVisibleToAllHoursTimeFormat
public void testLogWorkVisibleToAllHoursTimeFormat()- Overrides:
testLogWorkVisibleToAllHoursTimeFormat
in classAbstractTestCreateWorklogAsField
-
testLogWorkVisibleToRole
public void testLogWorkVisibleToRole()- Overrides:
testLogWorkVisibleToRole
in classAbstractTestCreateWorklogAsField
-
testLogWorkVisibleToRoleDaysTimeFormat
public void testLogWorkVisibleToRoleDaysTimeFormat()- Overrides:
testLogWorkVisibleToRoleDaysTimeFormat
in classAbstractTestCreateWorklogAsField
-
testLogWorkVisibleToRoleHoursTimeFormat
public void testLogWorkVisibleToRoleHoursTimeFormat()- Overrides:
testLogWorkVisibleToRoleHoursTimeFormat
in classAbstractTestCreateWorklogAsField
-
testLogWorkVisibleToGroup
public void testLogWorkVisibleToGroup()- Overrides:
testLogWorkVisibleToGroup
in classAbstractTestCreateWorklogAsField
-
testLogWorkVisibleToGroupDaysTimeFormat
public void testLogWorkVisibleToGroupDaysTimeFormat()- Overrides:
testLogWorkVisibleToGroupDaysTimeFormat
in classAbstractTestCreateWorklogAsField
-
testLogWorkVisibleToGroupHoursTimeFormat
public void testLogWorkVisibleToGroupHoursTimeFormat()- Overrides:
testLogWorkVisibleToGroupHoursTimeFormat
in classAbstractTestCreateWorklogAsField
-
testLogWorkCommentsNotCopiedWhenCopyingDisabled
public void testLogWorkCommentsNotCopiedWhenCopyingDisabled()- Overrides:
testLogWorkCommentsNotCopiedWhenCopyingDisabled
in classAbstractTestCreateWorklogAsField
-
testLogWorkCommentsCopiedWhenCopyingEnabled
public void testLogWorkCommentsCopiedWhenCopyingEnabled()- Overrides:
testLogWorkCommentsCopiedWhenCopyingEnabled
in classAbstractTestCreateWorklogAsField
-
testLogWorkDateIsStartDate
public void testLogWorkDateIsStartDate()- Overrides:
testLogWorkDateIsStartDate
in classAbstractTestCreateWorklogAsField
-
testChangeHistory
- Overrides:
testChangeHistory
in classAbstractTestCreateWorklogAsField
- Throws:
Exception
-