Class TestTimeTrackingInputValidation

java.lang.Object
com.atlassian.jira.functest.framework.BaseJiraFuncTest
com.atlassian.jira.webtests.ztests.timetracking.modern.TestTimeTrackingInputValidation

public class TestTimeTrackingInputValidation extends BaseJiraFuncTest
Responsible for verifying that the time tracking field verifies that data entered in the Time Tracking field is is in the correct format.
Since:
v4.2
  • Constructor Details

    • TestTimeTrackingInputValidation

      public TestTimeTrackingInputValidation()
  • Method Details

    • setUpTest

      public void setUpTest()
    • testTimeTrackingFieldRejectsRubbish

      public void testTimeTrackingFieldRejectsRubbish()
    • testTimeTrackingAcceptsFractionalValues

      public void testTimeTrackingAcceptsFractionalValues()
    • testTimeTrackingRejectsInvalidTimeUnitSuffixes

      public void testTimeTrackingRejectsInvalidTimeUnitSuffixes()
    • testTimeTrackingAcceptsMoreThanOneEntryQualifiedByTheSameTimeUnit

      public void testTimeTrackingAcceptsMoreThanOneEntryQualifiedByTheSameTimeUnit()

      This is the behaviour now. This should really be flagged as an input error because it is most likely to be a mistake made by the user.

      This has been reported this as JRA-20974. When and if, this gets changed this test will fail and will have to be changed to verify the opposite of the current behaviour.

    • testTimeTrackingRejectsTimeUnitsNotQualifiedByANumber

      public void testTimeTrackingRejectsTimeUnitsNotQualifiedByANumber()
    • testTimeTrackingAcceptsMoreThanOneEmptyTimeUnitSuffix

      public void testTimeTrackingAcceptsMoreThanOneEmptyTimeUnitSuffix()
      JRA-20975.