Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-3542

Fix task details snap tests to avoid fixed values

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 1.0.0.Final
    • Task Console
    • None
    • False
    • False
    • Undefined
    • ---
    • ---
    • 2020 Week 40-42 (from Sep 28)

      This ticket is related to the second failure that was fixed in KOGITO-3541.
      The problem is that there are some fixed values that are calculated dynamically. These changes were part of KOGITO-2690:

      <time
                            dateTime={"2020-02-19T11:11:56.282Z"}
                          >
                            7 months ago
                          </time>
      

      See line here.

      "7 months ago" is a fixed value, but it's calculated dynamically depending to the current date. Indeed, it started failing because the snap test expected "8 months ago". This was fixed in KOGITO-3541, but it requires a final fix which is the objective of this task.

              ajaganat Ajay Jaganathan
              jcarvaja@redhat.com Jose Carvajal Hilario
              Jan Stastny Jan Stastny
              Jan Stastny Jan Stastny
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: