Skip to content

Conversation

@gireesh-naidu
Copy link
Contributor

@gireesh-naidu gireesh-naidu commented Feb 5, 2024

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes devtron-labs/devtron#4629

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Test A
  • Test B

Checklist:

  • The title of the PR states what changed and the related issues number (used for the release note).
  • Does this PR require documentation updates?
  • I've updated documentation as required by this PR.
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas

@github-actions github-actions bot added the PR:Ready-to-Review PR:Ready-to-Review label Feb 5, 2024
vivek-devtron
vivek-devtron previously approved these changes Feb 5, 2024
@gireesh-naidu gireesh-naidu changed the title chore: set USE_V2 flag to true by default chore: remove versioning from app listing api Feb 5, 2024
@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 5, 2024

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@gireesh-naidu gireesh-naidu merged commit 603fdf9 into main Feb 5, 2024
@gireesh-naidu gireesh-naidu deleted the use_v2_true_as_default branch February 5, 2024 14:42
@github-actions
Copy link

github-actions bot commented Feb 5, 2024

Coverage report

❌ An unexpected error occurred. For more details, check console

Error: The process '/usr/local/bin/yarn' failed with exit code 1
St.
Category Percentage Covered / Total
🔴 Statements 6.85% 2680/39115
🔴 Branches 3.13% 943/30095
🔴 Functions 3.78% 407/10753
🔴 Lines 6.95% 2606/37509

⚠️ Details were not displayed: the report size has exceeded the limit.

Test suite run failed

Failed tests: 20/139. Failed suites: 10/40.
  ● DynamicTabs component › Component renders properly

    TypeError: Cannot set properties of undefined (setting 'current')

      62 |         const _lastDataSyncTime = Date()
      63 |         const _staleDataCheckTime = moment()
    > 64 |         isStaleDataRef.current = false
         |         ^
      65 |         setLastDataSyncTimeString(` ${handleUTCTime(_lastDataSyncTime, true)}`)
      66 |         interval = setInterval(() => {
      67 |             checkIfDataIsStale(isStaleDataRef, _staleDataCheckTime)

      at src/components/common/DynamicTabs/DynamicTabs.tsx:64:9
      at invokePassiveEffectCreate (node_modules/react-dom/cjs/react-dom.development.js:23487:20)
      at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:3945:14)
      at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:3994:16)
      at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4056:31)
      at flushPassiveEffectsImpl (node_modules/react-dom/cjs/react-dom.development.js:23574:9)
      at unstable_runWithPriority (node_modules/scheduler/cjs/scheduler.development.js:468:12)
      at runWithPriority$1 (node_modules/react-dom/cjs/react-dom.development.js:11276:10)
      at flushPassiveEffects (node_modules/react-dom/cjs/react-dom.development.js:23447:14)
      at Object.<anonymous>.flushWork (node_modules/react-dom/cjs/react-dom-test-utils.development.js:992:10)
      at act (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1107:9)
      at render (node_modules/@testing-library/react/dist/pure.js:97:26)
      at Object.<anonymous> (src/components/common/DynamicTabs/__tests__/DynamicTabs.test.tsx:10:31)

  ● DynamicTabs component › Fixed tabs are rendered but no dynamic tabs

    TypeError: Cannot set properties of undefined (setting 'current')

      62 |         const _lastDataSyncTime = Date()
      63 |         const _staleDataCheckTime = moment()
    > 64 |         isStaleDataRef.current = false
         |         ^
      65 |         setLastDataSyncTimeString(` ${handleUTCTime(_lastDataSyncTime, true)}`)
      66 |         interval = setInterval(() => {
      67 |             checkIfDataIsStale(isStaleDataRef, _staleDataCheckTime)

      at src/components/common/DynamicTabs/DynamicTabs.tsx:64:9
      at invokePassiveEffectCreate (node_modules/react-dom/cjs/react-dom.development.js:23487:20)
      at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:3945:14)
      at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:3994:16)
      at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4056:31)
      at flushPassiveEffectsImpl (node_modules/react-dom/cjs/react-dom.development.js:23574:9)
      at unstable_runWithPriority (node_modules/scheduler/cjs/scheduler.development.js:468:12)
      at runWithPriority$1 (node_modules/react-dom/cjs/react-dom.development.js:11276:10)
      at flushPassiveEffects (node_modules/react-dom/cjs/react-dom.development.js:23447:14)
      at Object.<anonymous>.flushWork (node_modules/react-dom/cjs/react-dom-test-utils.development.js:992:10)
      at act (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1107:9)
      at render (node_modules/@testing-library/react/dist/pure.js:97:26)
      at Object.<anonymous> (src/components/common/DynamicTabs/__tests__/DynamicTabs.test.tsx:21:42)

  ● DynamicTabs component › Dynamic tabs are rendered but no fixed tabs

    TypeError: Cannot set properties of undefined (setting 'current')

      62 |         const _lastDataSyncTime = Date()
      63 |         const _staleDataCheckTime = moment()
    > 64 |         isStaleDataRef.current = false
         |         ^
      65 |         setLastDataSyncTimeString(` ${handleUTCTime(_lastDataSyncTime, true)}`)
      66 |         interval = setInterval(() => {
      67 |             checkIfDataIsStale(isStaleDataRef, _staleDataCheckTime)

      at src/components/common/DynamicTabs/DynamicTabs.tsx:64:9
      at invokePassiveEffectCreate (node_modules/react-dom/cjs/react-dom.development.js:23487:20)
      at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:3945:14)
      at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:3994:16)
      at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4056:31)
      at flushPassiveEffectsImpl (node_modules/react-dom/cjs/react-dom.development.js:23574:9)
      at unstable_runWithPriority (node_modules/scheduler/cjs/scheduler.development.js:468:12)
      at runWithPriority$1 (node_modules/react-dom/cjs/react-dom.development.js:11276:10)
      at flushPassiveEffects (node_modules/react-dom/cjs/react-dom.development.js:23447:14)
      at Object.<anonymous>.flushWork (node_modules/react-dom/cjs/react-dom-test-utils.development.js:992:10)
      at act (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1107:9)
      at render (node_modules/@testing-library/react/dist/pure.js:97:26)
      at Object.<anonymous> (src/components/common/DynamicTabs/__tests__/DynamicTabs.test.tsx:37:42)

  ● DynamicTabs component › Fixed & Dynamic tabs are rendered properly

    TypeError: Cannot set properties of undefined (setting 'current')

      62 |         const _lastDataSyncTime = Date()
      63 |         const _staleDataCheckTime = moment()
    > 64 |         isStaleDataRef.current = false
         |         ^
      65 |         setLastDataSyncTimeString(` ${handleUTCTime(_lastDataSyncTime, true)}`)
      66 |         interval = setInterval(() => {
      67 |             checkIfDataIsStale(isStaleDataRef, _staleDataCheckTime)

      at src/components/common/DynamicTabs/DynamicTabs.tsx:64:9
      at invokePassiveEffectCreate (node_modules/react-dom/cjs/react-dom.development.js:23487:20)
      at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:3945:14)
      at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:3994:16)
      at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4056:31)
      at flushPassiveEffectsImpl (node_modules/react-dom/cjs/react-dom.development.js:23574:9)
      at unstable_runWithPriority (node_modules/scheduler/cjs/scheduler.development.js:468:12)
      at runWithPriority$1 (node_modules/react-dom/cjs/react-dom.development.js:11276:10)
      at flushPassiveEffects (node_modules/react-dom/cjs/react-dom.development.js:23447:14)
      at Object.<anonymous>.flushWork (node_modules/react-dom/cjs/react-dom-test-utils.development.js:992:10)
      at act (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1107:9)
      at render (node_modules/@testing-library/react/dist/pure.js:97:26)
      at Object.<anonymous> (src/components/common/DynamicTabs/__tests__/DynamicTabs.test.tsx:55:42)

  ● DynamicTabs component › More tabs option works properly

    TypeError: Cannot set properties of undefined (setting 'current')

      62 |         const _lastDataSyncTime = Date()
      63 |         const _staleDataCheckTime = moment()
    > 64 |         isStaleDataRef.current = false
         |         ^
      65 |         setLastDataSyncTimeString(` ${handleUTCTime(_lastDataSyncTime, true)}`)
      66 |         interval = setInterval(() => {
      67 |             checkIfDataIsStale(isStaleDataRef, _staleDataCheckTime)

      at src/components/common/DynamicTabs/DynamicTabs.tsx:64:9
      at invokePassiveEffectCreate (node_modules/react-dom/cjs/react-dom.development.js:23487:20)
      at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:3945:14)
      at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:3994:16)
      at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4056:31)
      at flushPassiveEffectsImpl (node_modules/react-dom/cjs/react-dom.development.js:23574:9)
      at unstable_runWithPriority (node_modules/scheduler/cjs/scheduler.development.js:468:12)
      at runWithPriority$1 (node_modules/react-dom/cjs/react-dom.development.js:11276:10)
      at flushPassiveEffects (node_modules/react-dom/cjs/react-dom.development.js:23447:14)
      at Object.<anonymous>.flushWork (node_modules/react-dom/cjs/react-dom-test-utils.development.js:992:10)
      at act (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1107:9)
      at render (node_modules/@testing-library/react/dist/pure.js:97:26)
      at Object.<anonymous> (src/components/common/DynamicTabs/__tests__/DynamicTabs.test.tsx:81:42)

  ● DynamicTabs component › Dynamic tab close action works properly

    TypeError: Cannot set properties of undefined (setting 'current')

      62 |         const _lastDataSyncTime = Date()
      63 |         const _staleDataCheckTime = moment()
    > 64 |         isStaleDataRef.current = false
         |         ^
      65 |         setLastDataSyncTimeString(` ${handleUTCTime(_lastDataSyncTime, true)}`)
      66 |         interval = setInterval(() => {
      67 |             checkIfDataIsStale(isStaleDataRef, _staleDataCheckTime)

      at src/components/common/DynamicTabs/DynamicTabs.tsx:64:9
      at invokePassiveEffectCreate (node_modules/react-dom/cjs/react-dom.development.js:23487:20)
      at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:3945:14)
      at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:3994:16)
      at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4056:31)
      at flushPassiveEffectsImpl (node_modules/react-dom/cjs/react-dom.development.js:23574:9)
      at unstable_runWithPriority (node_modules/scheduler/cjs/scheduler.development.js:468:12)
      at runWithPriority$1 (node_modules/react-dom/cjs/react-dom.development.js:11276:10)
      at flushPassiveEffects (node_modules/react-dom/cjs/react-dom.development.js:23447:14)
      at Object.<anonymous>.flushWork (node_modules/react-dom/cjs/react-dom-test-utils.development.js:992:10)
      at act (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1107:9)
      at render (node_modules/@testing-library/react/dist/pure.js:97:26)
      at Object.<anonymous> (src/components/common/DynamicTabs/__tests__/DynamicTabs.test.tsx:144:41)


  ● workflow service tests › process workflows no PRECD, no POSTCD

    expect(received).toStrictEqual(expected) // deep equality

    - Expected
    + Received

    @@ -13,17 +13,20 @@
          "id": "92",
          "name": "first",
          "nodes": Array [
            Object {
              "branch": "master",
    +         "cipipelineId": 97,
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [
                "CI-96",
              ],
              "height": 64,
              "icon": "git",
              "id": "GIT-getting-started-nodejs-0",
              "isGitSource": true,
    +         "isJobCI": false,
              "isRegex": undefined,
              "isRoot": true,
              "isSource": true,
              "parents": Array [],
              "primaryBranchAfterRegex": "master",
    @@ -35,25 +38,31 @@
              "width": 200,
              "x": 20,
              "y": 24,
            },
            Object {
    +         "ciBlockState": undefined,
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [],
              "height": 126,
              "id": "96",
              "inputMaterialList": Array [],
    +         "isCITriggerBlocked": undefined,
              "isExternalCI": false,
              "isGitSource": false,
    +         "isJobCI": false,
    +         "isLinkedCD": false,
              "isLinkedCI": false,
              "isRoot": false,
              "isSource": true,
              "linkedCount": 0,
              "parentAppId": 0,
              "parentCiPipeline": 0,
              "parents": Array [
                "GIT-getting-started-nodejs-0",
              ],
    +         "showPluginWarning": undefined,
              "status": "Checking Status...",
              "title": "amit-16-jan-replica-ci-amit-16-jan-ci-master-original",
              "triggerType": "Manual",
              "type": "CI",
              "width": 200,
    @@ -62,22 +71,28 @@
            },
            Object {
              "activeIn": false,
              "activeOut": false,
              "connectingCiPipelineId": 96,
    +         "deploymentAppCreated": undefined,
              "deploymentAppDeleteRequest": undefined,
    +         "deploymentAppType": undefined,
              "deploymentStrategy": "rolling",
              "description": "test",
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [],
              "environmentId": 1,
              "environmentName": "",
              "height": 126,
    +         "helmPackageName": "",
              "id": "79",
              "inputMaterialList": Array [],
              "isGitSource": false,
    +         "isLast": undefined,
              "isRoot": false,
              "isSource": false,
    +         "isVirtualEnvironment": undefined,
              "parentPipelineId": "undefined",
              "parentPipelineType": undefined,
              "parents": Array [
                "96",
              ],
    @@ -113,17 +128,20 @@
          "id": "93",
          "name": "external ci",
          "nodes": Array [
            Object {
              "branch": "test",
    +         "cipipelineId": 107,
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [
                "CI-106",
              ],
              "height": 64,
              "icon": "git",
              "id": "GIT-getting-started-nodejs-0",
              "isGitSource": true,
    +         "isJobCI": false,
              "isRegex": undefined,
              "isRoot": true,
              "isSource": true,
              "parents": Array [],
              "primaryBranchAfterRegex": "test",
    @@ -135,25 +153,31 @@
              "width": 200,
              "x": 20,
              "y": 24,
            },
            Object {
    +         "ciBlockState": undefined,
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [],
              "height": 126,
              "id": "106",
              "inputMaterialList": Array [],
    +         "isCITriggerBlocked": undefined,
              "isExternalCI": false,
              "isGitSource": false,
    +         "isJobCI": false,
    +         "isLinkedCD": false,
              "isLinkedCI": false,
              "isRoot": false,
              "isSource": true,
              "linkedCount": 0,
              "parentAppId": 0,
              "parentCiPipeline": 0,
              "parents": Array [
                "GIT-getting-started-nodejs-0",
              ],
    +         "showPluginWarning": undefined,
              "status": "Checking Status...",
              "title": "amit-16-jan-replica-ci-arya-test",
              "triggerType": "Manual",
              "type": "CI",
              "width": 200,
    @@ -162,22 +186,28 @@
            },
            Object {
              "activeIn": false,
              "activeOut": false,
              "connectingCiPipelineId": 106,
    +         "deploymentAppCreated": undefined,
              "deploymentAppDeleteRequest": undefined,
    +         "deploymentAppType": undefined,
              "deploymentStrategy": "rolling",
              "description": "test",
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [],
              "environmentId": 3,
              "environmentName": "",
              "height": 126,
    +         "helmPackageName": "",
              "id": "92",
              "inputMaterialList": Array [],
              "isGitSource": false,
    +         "isLast": undefined,
              "isRoot": false,
              "isSource": false,
    +         "isVirtualEnvironment": undefined,
              "parentPipelineId": "undefined",
              "parentPipelineType": undefined,
              "parents": Array [
                "106",
              ],
    @@ -196,22 +226,28 @@
            },
            Object {
              "activeIn": false,
              "activeOut": false,
              "connectingCiPipelineId": 106,
    +         "deploymentAppCreated": undefined,
              "deploymentAppDeleteRequest": undefined,
    +         "deploymentAppType": undefined,
              "deploymentStrategy": "rolling",
              "description": "test",
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [],
              "environmentId": 5,
              "environmentName": "",
              "height": 126,
    +         "helmPackageName": "",
              "id": "94",
              "inputMaterialList": Array [],
              "isGitSource": false,
    +         "isLast": undefined,
              "isRoot": false,
              "isSource": false,
    +         "isVirtualEnvironment": undefined,
              "parentPipelineId": "undefined",
              "parentPipelineType": undefined,
              "parents": Array [
                "106",
              ],

      44 |                 WorkflowTrigger.workflow,
      45 |             ).workflows,
    > 46 |         ).toStrictEqual(workflowsTrigger)
         |           ^
      47 |         expect(
      48 |             processWorkflow(
      49 |                 workflow.result as WorkflowResult,

      at Object.<anonymous> (src/components/app/details/triggerView/__tests__/workflow.service.test.ts:46:11)

  ● workflow service tests › process workflows PRECD, no POSTCD

    expect(received).toStrictEqual(expected) // deep equality

    - Expected
    + Received

    @@ -13,17 +13,20 @@
          "id": "92",
          "name": "first",
          "nodes": Array [
            Object {
              "branch": "master",
    +         "cipipelineId": 97,
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [
                "CI-96",
              ],
              "height": 64,
              "icon": "git",
              "id": "GIT-getting-started-nodejs-0",
              "isGitSource": true,
    +         "isJobCI": false,
              "isRegex": undefined,
              "isRoot": true,
              "isSource": true,
              "parents": Array [],
              "primaryBranchAfterRegex": "master",
    @@ -35,25 +38,31 @@
              "width": 200,
              "x": 20,
              "y": 24,
            },
            Object {
    +         "ciBlockState": undefined,
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [],
              "height": 126,
              "id": "96",
              "inputMaterialList": Array [],
    +         "isCITriggerBlocked": undefined,
              "isExternalCI": false,
              "isGitSource": false,
    +         "isJobCI": false,
    +         "isLinkedCD": false,
              "isLinkedCI": false,
              "isRoot": false,
              "isSource": true,
              "linkedCount": 0,
              "parentAppId": 0,
              "parentCiPipeline": 0,
              "parents": Array [
                "GIT-getting-started-nodejs-0",
              ],
    +         "showPluginWarning": undefined,
              "status": "Checking Status...",
              "title": "amit-16-jan-replica-ci-amit-16-jan-ci-master-original",
              "triggerType": "Manual",
              "type": "CI",
              "width": 200,
    @@ -61,23 +70,28 @@
              "y": 24,
            },
            Object {
              "activeIn": false,
              "activeOut": false,
    +         "connectingCiPipelineId": 96,
    +         "deploymentAppType": undefined,
              "deploymentStrategy": "rolling",
              "description": "test",
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [
                "CD-79",
              ],
              "environmentId": 1,
              "environmentName": "dev",
              "height": 126,
    +         "helmPackageName": "",
              "id": "79",
              "inputMaterialList": Array [],
              "isGitSource": false,
              "isRoot": false,
              "isSource": false,
    +         "isVirtualEnvironment": undefined,
              "parents": Array [
                "96",
              ],
              "rollbackMaterialList": Array [],
              "stageIndex": 1,
    @@ -91,44 +105,55 @@
            },
            Object {
              "activeIn": false,
              "activeOut": false,
              "connectingCiPipelineId": 96,
    +         "deploymentAppCreated": undefined,
              "deploymentAppDeleteRequest": undefined,
    +         "deploymentAppType": undefined,
              "deploymentStrategy": "rolling",
              "description": "test",
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [],
              "environmentId": 1,
              "environmentName": "dev",
              "height": 126,
    +         "helmPackageName": "",
              "id": "79",
              "inputMaterialList": Array [],
              "isGitSource": false,
    +         "isLast": undefined,
              "isRoot": false,
              "isSource": false,
    +         "isVirtualEnvironment": undefined,
              "parentPipelineId": "undefined",
              "parentPipelineType": undefined,
              "parents": Array [
                "96",
              ],
              "postNode": undefined,
              "preNode": Object {
                "activeIn": false,
                "activeOut": false,
    +           "connectingCiPipelineId": 96,
    +           "deploymentAppType": undefined,
                "deploymentStrategy": "rolling",
                "description": "test",
    +           "downstreamEnvironments": Array [],
                "downstreams": Array [
                  "CD-79",
                ],
                "environmentId": 1,
                "environmentName": "dev",
                "height": 126,
    +           "helmPackageName": "",
                "id": "79",
                "inputMaterialList": Array [],
                "isGitSource": false,
                "isRoot": false,
                "isSource": false,
    +           "isVirtualEnvironment": undefined,
                "parents": Array [
                  "96",
                ],
                "rollbackMaterialList": Array [],
                "stageIndex": 1,
    @@ -170,17 +195,20 @@
          "id": "93",
          "name": "external ci",
          "nodes": Array [
            Object {
              "branch": "test",
    +         "cipipelineId": 107,
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [
                "CI-106",
              ],
              "height": 64,
              "icon": "git",
              "id": "GIT-getting-started-nodejs-0",
              "isGitSource": true,
    +         "isJobCI": false,
              "isRegex": undefined,
              "isRoot": true,
              "isSource": true,
              "parents": Array [],
              "primaryBranchAfterRegex": "test",
    @@ -192,25 +220,31 @@
              "width": 200,
              "x": 20,
              "y": 24,
            },
            Object {
    +         "ciBlockState": undefined,
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [],
              "height": 126,
              "id": "106",
              "inputMaterialList": Array [],
    +         "isCITriggerBlocked": undefined,
              "isExternalCI": false,
              "isGitSource": false,
    +         "isJobCI": false,
    +         "isLinkedCD": false,
              "isLinkedCI": false,
              "isRoot": false,
              "isSource": true,
              "linkedCount": 0,
              "parentAppId": 0,
              "parentCiPipeline": 0,
              "parents": Array [
                "GIT-getting-started-nodejs-0",
              ],
    +         "showPluginWarning": undefined,
              "status": "Checking Status...",
              "title": "amit-16-jan-replica-ci-arya-test",
              "triggerType": "Manual",
              "type": "CI",
              "width": 200,
    @@ -219,22 +253,28 @@
            },
            Object {
              "activeIn": false,
              "activeOut": false,
              "connectingCiPipelineId": 106,
    +         "deploymentAppCreated": undefined,
              "deploymentAppDeleteRequest": undefined,
    +         "deploymentAppType": undefined,
              "deploymentStrategy": "rolling",
              "description": "test",
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [],
              "environmentId": 3,
              "environmentName": "dev2",
              "height": 126,
    +         "helmPackageName": "",
              "id": "92",
              "inputMaterialList": Array [],
              "isGitSource": false,
    +         "isLast": undefined,
              "isRoot": false,
              "isSource": false,
    +         "isVirtualEnvironment": undefined,
              "parentPipelineId": "undefined",
              "parentPipelineType": undefined,
              "parents": Array [
                "106",
              ],
    @@ -253,22 +293,28 @@
            },
            Object {
              "activeIn": false,
              "activeOut": false,
              "connectingCiPipelineId": 106,
    +         "deploymentAppCreated": undefined,
              "deploymentAppDeleteRequest": undefined,
    +         "deploymentAppType": undefined,
              "deploymentStrategy": "rolling",
              "description": "test",
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [],
              "environmentId": 5,
              "environmentName": "dev4",
              "height": 126,
    +         "helmPackageName": "",
              "id": "94",
              "inputMaterialList": Array [],
              "isGitSource": false,
    +         "isLast": undefined,
              "isRoot": false,
              "isSource": false,
    +         "isVirtualEnvironment": undefined,
              "parentPipelineId": "undefined",
              "parentPipelineType": undefined,
              "parents": Array [
                "106",
              ],

      67 |                 WorkflowTrigger.workflow,
      68 |             ).workflows,
    > 69 |         ).toStrictEqual(workflowsTriggerPreCDResp)
         |           ^
      70 |         expect(
      71 |             processWorkflow(
      72 |                 workflow.result as WorkflowResult,

      at Object.<anonymous> (src/components/app/details/triggerView/__tests__/workflow.service.test.ts:69:11)

  ● workflow service tests › process workflows no PRECD, POSTCD

    expect(received).toStrictEqual(expected) // deep equality

    - Expected
    + Received

    @@ -13,17 +13,20 @@
          "id": "92",
          "name": "first",
          "nodes": Array [
            Object {
              "branch": "master",
    +         "cipipelineId": 97,
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [
                "CI-96",
              ],
              "height": 64,
              "icon": "git",
              "id": "GIT-getting-started-nodejs-0",
              "isGitSource": true,
    +         "isJobCI": false,
              "isRegex": undefined,
              "isRoot": true,
              "isSource": true,
              "parents": Array [],
              "primaryBranchAfterRegex": "master",
    @@ -35,25 +38,31 @@
              "width": 200,
              "x": 20,
              "y": 24,
            },
            Object {
    +         "ciBlockState": undefined,
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [],
              "height": 126,
              "id": "96",
              "inputMaterialList": Array [],
    +         "isCITriggerBlocked": undefined,
              "isExternalCI": false,
              "isGitSource": false,
    +         "isJobCI": false,
    +         "isLinkedCD": false,
              "isLinkedCI": false,
              "isRoot": false,
              "isSource": true,
              "linkedCount": 0,
              "parentAppId": 0,
              "parentCiPipeline": 0,
              "parents": Array [
                "GIT-getting-started-nodejs-0",
              ],
    +         "showPluginWarning": undefined,
              "status": "Checking Status...",
              "title": "amit-16-jan-replica-ci-amit-16-jan-ci-master-original",
              "triggerType": "Manual",
              "type": "CI",
              "width": 200,
    @@ -62,43 +71,54 @@
            },
            Object {
              "activeIn": false,
              "activeOut": false,
              "connectingCiPipelineId": 96,
    +         "deploymentAppCreated": undefined,
              "deploymentAppDeleteRequest": undefined,
    +         "deploymentAppType": undefined,
              "deploymentStrategy": "rolling",
              "description": "test",
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [
                "POSTCD-79",
              ],
              "environmentId": 1,
              "environmentName": "dev",
              "height": 126,
    +         "helmPackageName": "",
              "id": "79",
              "inputMaterialList": Array [],
              "isGitSource": false,
    +         "isLast": undefined,
              "isRoot": false,
              "isSource": false,
    +         "isVirtualEnvironment": undefined,
              "parentPipelineId": "undefined",
              "parentPipelineType": undefined,
              "parents": Array [
                "96",
              ],
              "postNode": Object {
                "activeIn": false,
                "activeOut": false,
    +           "connectingCiPipelineId": 96,
    +           "deploymentAppType": undefined,
                "deploymentStrategy": "rolling",
                "description": "test",
    +           "downstreamEnvironments": Array [],
                "downstreams": Array [],
                "environmentId": 1,
                "environmentName": "dev",
                "height": 126,
    +           "helmPackageName": "",
                "id": "79",
                "inputMaterialList": Array [],
                "isGitSource": false,
                "isRoot": false,
                "isSource": false,
    +           "isVirtualEnvironment": undefined,
                "parents": Array [
                  "79",
                ],
                "rollbackMaterialList": Array [],
                "stageIndex": 2,
    @@ -123,21 +143,26 @@
              "y": 0,
            },
            Object {
              "activeIn": false,
              "activeOut": false,
    +         "connectingCiPipelineId": 96,
    +         "deploymentAppType": undefined,
              "deploymentStrategy": "rolling",
              "description": "test",
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [],
              "environmentId": 1,
              "environmentName": "dev",
              "height": 126,
    +         "helmPackageName": "",
              "id": "79",
              "inputMaterialList": Array [],
              "isGitSource": false,
              "isRoot": false,
              "isSource": false,
    +         "isVirtualEnvironment": undefined,
              "parents": Array [
                "79",
              ],
              "rollbackMaterialList": Array [],
              "stageIndex": 2,
    @@ -168,17 +193,20 @@
          "id": "93",
          "name": "external ci",
          "nodes": Array [
            Object {
              "branch": "test",
    +         "cipipelineId": 107,
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [
                "CI-106",
              ],
              "height": 64,
              "icon": "git",
              "id": "GIT-getting-started-nodejs-0",
              "isGitSource": true,
    +         "isJobCI": false,
              "isRegex": undefined,
              "isRoot": true,
              "isSource": true,
              "parents": Array [],
              "primaryBranchAfterRegex": "test",
    @@ -190,25 +218,31 @@
              "width": 200,
              "x": 20,
              "y": 24,
            },
            Object {
    +         "ciBlockState": undefined,
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [],
              "height": 126,
              "id": "106",
              "inputMaterialList": Array [],
    +         "isCITriggerBlocked": undefined,
              "isExternalCI": false,
              "isGitSource": false,
    +         "isJobCI": false,
    +         "isLinkedCD": false,
              "isLinkedCI": false,
              "isRoot": false,
              "isSource": true,
              "linkedCount": 0,
              "parentAppId": 0,
              "parentCiPipeline": 0,
              "parents": Array [
                "GIT-getting-started-nodejs-0",
              ],
    +         "showPluginWarning": undefined,
              "status": "Checking Status...",
              "title": "amit-16-jan-replica-ci-arya-test",
              "triggerType": "Manual",
              "type": "CI",
              "width": 200,
    @@ -217,22 +251,28 @@
            },
            Object {
              "activeIn": false,
              "activeOut": false,
              "connectingCiPipelineId": 106,
    +         "deploymentAppCreated": undefined,
              "deploymentAppDeleteRequest": undefined,
    +         "deploymentAppType": undefined,
              "deploymentStrategy": "rolling",
              "description": "test",
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [],
              "environmentId": 3,
              "environmentName": "dev2",
              "height": 126,
    +         "helmPackageName": "",
              "id": "92",
              "inputMaterialList": Array [],
              "isGitSource": false,
    +         "isLast": undefined,
              "isRoot": false,
              "isSource": false,
    +         "isVirtualEnvironment": undefined,
              "parentPipelineId": "undefined",
              "parentPipelineType": undefined,
              "parents": Array [
                "106",
              ],
    @@ -251,22 +291,28 @@
            },
            Object {
              "activeIn": false,
              "activeOut": false,
              "connectingCiPipelineId": 106,
    +         "deploymentAppCreated": undefined,
              "deploymentAppDeleteRequest": undefined,
    +         "deploymentAppType": undefined,
              "deploymentStrategy": "rolling",
              "description": "test",
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [],
              "environmentId": 5,
              "environmentName": "dev4",
              "height": 126,
    +         "helmPackageName": "",
              "id": "94",
              "inputMaterialList": Array [],
              "isGitSource": false,
    +         "isLast": undefined,
              "isRoot": false,
              "isSource": false,
    +         "isVirtualEnvironment": undefined,
              "parentPipelineId": "undefined",
              "parentPipelineType": undefined,
              "parents": Array [
                "106",
              ],

      90 |                 WorkflowTrigger.workflow,
      91 |             ).workflows,
    > 92 |         ).toStrictEqual(workflowsTriggerPostCD)
         |           ^
      93 |         expect(
      94 |             processWorkflow(
      95 |                 workflow.result as WorkflowResult,

      at Object.<anonymous> (src/components/app/details/triggerView/__tests__/workflow.service.test.ts:92:11)

  ● workflow service tests › process workflows PRECD, POSTCD

    expect(received).toStrictEqual(expected) // deep equality

    - Expected
    + Received

    @@ -13,17 +13,20 @@
          "id": "92",
          "name": "first",
          "nodes": Array [
            Object {
              "branch": "master",
    +         "cipipelineId": 97,
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [
                "CI-96",
              ],
              "height": 64,
              "icon": "git",
              "id": "GIT-getting-started-nodejs-0",
              "isGitSource": true,
    +         "isJobCI": false,
              "isRegex": undefined,
              "isRoot": true,
              "isSource": true,
              "parents": Array [],
              "primaryBranchAfterRegex": "master",
    @@ -35,25 +38,31 @@
              "width": 200,
              "x": 20,
              "y": 24,
            },
            Object {
    +         "ciBlockState": undefined,
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [],
              "height": 126,
              "id": "96",
              "inputMaterialList": Array [],
    +         "isCITriggerBlocked": undefined,
              "isExternalCI": false,
              "isGitSource": false,
    +         "isJobCI": false,
    +         "isLinkedCD": false,
              "isLinkedCI": false,
              "isRoot": false,
              "isSource": true,
              "linkedCount": 0,
              "parentAppId": 0,
              "parentCiPipeline": 0,
              "parents": Array [
                "GIT-getting-started-nodejs-0",
              ],
    +         "showPluginWarning": undefined,
              "status": "Checking Status...",
              "title": "amit-16-jan-replica-ci-amit-16-jan-ci-master-original",
              "triggerType": "Manual",
              "type": "CI",
              "width": 200,
    @@ -61,23 +70,28 @@
              "y": 24,
            },
            Object {
              "activeIn": false,
              "activeOut": false,
    +         "connectingCiPipelineId": 96,
    +         "deploymentAppType": undefined,
              "deploymentStrategy": "rolling",
              "description": "test",
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [
                "CD-79",
              ],
              "environmentId": 1,
              "environmentName": "",
              "height": 126,
    +         "helmPackageName": "",
              "id": "79",
              "inputMaterialList": Array [],
              "isGitSource": false,
              "isRoot": false,
              "isSource": false,
    +         "isVirtualEnvironment": undefined,
              "parents": Array [
                "96",
              ],
              "rollbackMaterialList": Array [],
              "stageIndex": 1,
    @@ -91,43 +105,54 @@
            },
            Object {
              "activeIn": false,
              "activeOut": false,
              "connectingCiPipelineId": 96,
    +         "deploymentAppCreated": undefined,
              "deploymentAppDeleteRequest": undefined,
    +         "deploymentAppType": undefined,
              "deploymentStrategy": "rolling",
              "description": "test",
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [
                "POSTCD-79",
              ],
              "environmentId": 1,
              "environmentName": "",
              "height": 126,
    +         "helmPackageName": "",
              "id": "79",
              "inputMaterialList": Array [],
              "isGitSource": false,
    +         "isLast": undefined,
              "isRoot": false,
              "isSource": false,
    +         "isVirtualEnvironment": undefined,
              "parentPipelineId": "undefined",
              "parentPipelineType": undefined,
              "parents": Array [
                "96",
              ],
              "postNode": Object {
                "activeIn": false,
                "activeOut": false,
    +           "connectingCiPipelineId": 96,
    +           "deploymentAppType": undefined,
                "deploymentStrategy": "rolling",
                "description": "test",
    +           "downstreamEnvironments": Array [],
                "downstreams": Array [],
                "environmentId": 1,
                "environmentName": "",
                "height": 126,
    +           "helmPackageName": "",
                "id": "79",
                "inputMaterialList": Array [],
                "isGitSource": false,
                "isRoot": false,
                "isSource": false,
    +           "isVirtualEnvironment": undefined,
                "parents": Array [
                  "79",
                ],
                "rollbackMaterialList": Array [],
                "stageIndex": 3,
    @@ -140,23 +165,28 @@
                "y": 0,
              },
              "preNode": Object {
                "activeIn": false,
                "activeOut": false,
    +           "connectingCiPipelineId": 96,
    +           "deploymentAppType": undefined,
                "deploymentStrategy": "rolling",
                "description": "test",
    +           "downstreamEnvironments": Array [],
                "downstreams": Array [
                  "CD-79",
                ],
                "environmentId": 1,
                "environmentName": "",
                "height": 126,
    +           "helmPackageName": "",
                "id": "79",
                "inputMaterialList": Array [],
                "isGitSource": false,
                "isRoot": false,
                "isSource": false,
    +           "isVirtualEnvironment": undefined,
                "parents": Array [
                  "96",
                ],
                "rollbackMaterialList": Array [],
                "stageIndex": 1,
    @@ -180,21 +210,26 @@
              "y": 0,
            },
            Object {
              "activeIn": false,
              "activeOut": false,
    +         "connectingCiPipelineId": 96,
    +         "deploymentAppType": undefined,
              "deploymentStrategy": "rolling",
              "description": "test",
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [],
              "environmentId": 1,
              "environmentName": "",
              "height": 126,
    +         "helmPackageName": "",
              "id": "79",
              "inputMaterialList": Array [],
              "isGitSource": false,
              "isRoot": false,
              "isSource": false,
    +         "isVirtualEnvironment": undefined,
              "parents": Array [
                "79",
              ],
              "rollbackMaterialList": Array [],
              "stageIndex": 3,
    @@ -225,17 +260,20 @@
          "id": "93",
          "name": "external ci",
          "nodes": Array [
            Object {
              "branch": "test",
    +         "cipipelineId": 107,
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [
                "CI-106",
              ],
              "height": 64,
              "icon": "git",
              "id": "GIT-getting-started-nodejs-0",
              "isGitSource": true,
    +         "isJobCI": false,
              "isRegex": undefined,
              "isRoot": true,
              "isSource": true,
              "parents": Array [],
              "primaryBranchAfterRegex": "test",
    @@ -247,25 +285,31 @@
              "width": 200,
              "x": 20,
              "y": 24,
            },
            Object {
    +         "ciBlockState": undefined,
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [],
              "height": 126,
              "id": "106",
              "inputMaterialList": Array [],
    +         "isCITriggerBlocked": undefined,
              "isExternalCI": false,
              "isGitSource": false,
    +         "isJobCI": false,
    +         "isLinkedCD": false,
              "isLinkedCI": false,
              "isRoot": false,
              "isSource": true,
              "linkedCount": 0,
              "parentAppId": 0,
              "parentCiPipeline": 0,
              "parents": Array [
                "GIT-getting-started-nodejs-0",
              ],
    +         "showPluginWarning": undefined,
              "status": "Checking Status...",
              "title": "amit-16-jan-replica-ci-arya-test",
              "triggerType": "Manual",
              "type": "CI",
              "width": 200,
    @@ -274,22 +318,28 @@
            },
            Object {
              "activeIn": false,
              "activeOut": false,
              "connectingCiPipelineId": 106,
    +         "deploymentAppCreated": undefined,
              "deploymentAppDeleteRequest": undefined,
    +         "deploymentAppType": undefined,
              "deploymentStrategy": "rolling",
              "description": "test",
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [],
              "environmentId": 3,
              "environmentName": "",
              "height": 126,
    +         "helmPackageName": "",
              "id": "92",
              "inputMaterialList": Array [],
              "isGitSource": false,
    +         "isLast": undefined,
              "isRoot": false,
              "isSource": false,
    +         "isVirtualEnvironment": undefined,
              "parentPipelineId": "undefined",
              "parentPipelineType": undefined,
              "parents": Array [
                "106",
              ],
    @@ -308,22 +358,28 @@
            },
            Object {
              "activeIn": false,
              "activeOut": false,
              "connectingCiPipelineId": 106,
    +         "deploymentAppCreated": undefined,
              "deploymentAppDeleteRequest": undefined,
    +         "deploymentAppType": undefined,
              "deploymentStrategy": "rolling",
              "description": "test",
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [],
              "environmentId": 5,
              "environmentName": "",
              "height": 126,
    +         "helmPackageName": "",
              "id": "94",
              "inputMaterialList": Array [],
              "isGitSource": false,
    +         "isLast": undefined,
              "isRoot": false,
              "isSource": false,
    +         "isVirtualEnvironment": undefined,
              "parentPipelineId": "undefined",
              "parentPipelineType": undefined,
              "parents": Array [
                "106",
              ],

      113 |                 WorkflowTrigger.workflow,
      114 |             ).workflows,
    > 115 |         ).toStrictEqual(workflowsTriggerPrePostCD)
          |           ^
      116 |         expect(
      117 |             processWorkflow(
      118 |                 workflow.result as WorkflowResult,

      at Object.<anonymous> (src/components/app/details/triggerView/__tests__/workflow.service.test.ts:115:11)

  ● workflow service tests › process workflows sequential no PRECD, no POSTCD

    expect(received).toStrictEqual(expected) // deep equality

    - Expected
    + Received

    @@ -13,17 +13,20 @@
          "id": "92",
          "name": "first",
          "nodes": Array [
            Object {
              "branch": "master",
    +         "cipipelineId": 97,
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [
                "CI-96",
              ],
              "height": 64,
              "icon": "git",
              "id": "GIT-getting-started-nodejs-0",
              "isGitSource": true,
    +         "isJobCI": false,
              "isRegex": undefined,
              "isRoot": true,
              "isSource": true,
              "parents": Array [],
              "primaryBranchAfterRegex": "master",
    @@ -35,25 +38,31 @@
              "width": 200,
              "x": 20,
              "y": 24,
            },
            Object {
    +         "ciBlockState": undefined,
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [],
              "height": 126,
              "id": "96",
              "inputMaterialList": Array [],
    +         "isCITriggerBlocked": undefined,
              "isExternalCI": false,
              "isGitSource": false,
    +         "isJobCI": false,
    +         "isLinkedCD": false,
              "isLinkedCI": false,
              "isRoot": false,
              "isSource": true,
              "linkedCount": 0,
              "parentAppId": 0,
              "parentCiPipeline": 0,
              "parents": Array [
                "GIT-getting-started-nodejs-0",
              ],
    +         "showPluginWarning": undefined,
              "status": "Checking Status...",
              "title": "amit-16-jan-replica-ci-amit-16-jan-ci-master-original",
              "triggerType": "Manual",
              "type": "CI",
              "width": 200,
    @@ -62,22 +71,28 @@
            },
            Object {
              "activeIn": false,
              "activeOut": false,
              "connectingCiPipelineId": 96,
    +         "deploymentAppCreated": undefined,
              "deploymentAppDeleteRequest": undefined,
    +         "deploymentAppType": undefined,
              "deploymentStrategy": "rolling",
              "description": "test",
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [],
              "environmentId": 1,
              "environmentName": "",
              "height": 126,
    +         "helmPackageName": "",
              "id": "79",
              "inputMaterialList": Array [],
              "isGitSource": false,
    +         "isLast": undefined,
              "isRoot": false,
              "isSource": false,
    +         "isVirtualEnvironment": undefined,
              "parentPipelineId": "undefined",
              "parentPipelineType": undefined,
              "parents": Array [
                "96",
              ],
    @@ -96,22 +111,28 @@
            },
            Object {
              "activeIn": false,
              "activeOut": false,
              "connectingCiPipelineId": 96,
    +         "deploymentAppCreated": undefined,
              "deploymentAppDeleteRequest": undefined,
    +         "deploymentAppType": undefined,
              "deploymentStrategy": "rolling",
              "description": "test",
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [],
              "environmentId": 2,
              "environmentName": "",
              "height": 126,
    +         "helmPackageName": "",
              "id": "80",
              "inputMaterialList": Array [],
              "isGitSource": false,
    +         "isLast": undefined,
              "isRoot": false,
              "isSource": false,
    +         "isVirtualEnvironment": undefined,
              "parentPipelineId": "undefined",
              "parentPipelineType": undefined,
              "parents": Array [
                "79",
              ],
    @@ -147,17 +168,20 @@
          "id": "93",
          "name": "external ci",
          "nodes": Array [
            Object {
              "branch": "test",
    +         "cipipelineId": 107,
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [
                "CI-106",
              ],
              "height": 64,
              "icon": "git",
              "id": "GIT-getting-started-nodejs-0",
              "isGitSource": true,
    +         "isJobCI": false,
              "isRegex": undefined,
              "isRoot": true,
              "isSource": true,
              "parents": Array [],
              "primaryBranchAfterRegex": "test",
    @@ -169,25 +193,31 @@
              "width": 200,
              "x": 20,
              "y": 24,
            },
            Object {
    +         "ciBlockState": undefined,
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [],
              "height": 126,
              "id": "106",
              "inputMaterialList": Array [],
    +         "isCITriggerBlocked": undefined,
              "isExternalCI": false,
              "isGitSource": false,
    +         "isJobCI": false,
    +         "isLinkedCD": false,
              "isLinkedCI": false,
              "isRoot": false,
              "isSource": true,
              "linkedCount": 0,
              "parentAppId": 0,
              "parentCiPipeline": 0,
              "parents": Array [
                "GIT-getting-started-nodejs-0",
              ],
    +         "showPluginWarning": undefined,
              "status": "Checking Status...",
              "title": "amit-16-jan-replica-ci-arya-test",
              "triggerType": "Manual",
              "type": "CI",
              "width": 200,
    @@ -196,22 +226,28 @@
            },
            Object {
              "activeIn": false,
              "activeOut": false,
              "connectingCiPipelineId": 106,
    +         "deploymentAppCreated": undefined,
              "deploymentAppDeleteRequest": undefined,
    +         "deploymentAppType": undefined,
              "deploymentStrategy": "rolling",
              "description": "test",
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [],
              "environmentId": 3,
              "environmentName": "",
              "height": 126,
    +         "helmPackageName": "",
              "id": "92",
              "inputMaterialList": Array [],
              "isGitSource": false,
    +         "isLast": undefined,
              "isRoot": false,
              "isSource": false,
    +         "isVirtualEnvironment": undefined,
              "parentPipelineId": "undefined",
              "parentPipelineType": undefined,
              "parents": Array [
                "106",
              ],
    @@ -230,22 +266,28 @@
            },
            Object {
              "activeIn": false,
              "activeOut": false,
              "connectingCiPipelineId": 106,
    +         "deploymentAppCreated": undefined,
              "deploymentAppDeleteRequest": undefined,
    +         "deploymentAppType": undefined,
              "deploymentStrategy": "rolling",
              "description": "test",
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [],
              "environmentId": 5,
              "environmentName": "",
              "height": 126,
    +         "helmPackageName": "",
              "id": "94",
              "inputMaterialList": Array [],
              "isGitSource": false,
    +         "isLast": undefined,
              "isRoot": false,
              "isSource": false,
    +         "isVirtualEnvironment": undefined,
              "parentPipelineId": "undefined",
              "parentPipelineType": undefined,
              "parents": Array [
                "106",
              ],
    @@ -264,22 +306,28 @@
            },
            Object {
              "activeIn": false,
              "activeOut": false,
              "connectingCiPipelineId": 106,
    +         "deploymentAppCreated": undefined,
              "deploymentAppDeleteRequest": undefined,
    +         "deploymentAppType": undefined,
              "deploymentStrategy": "rolling",
              "description": "test",
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [],
              "environmentId": 6,
              "environmentName": "",
              "height": 126,
    +         "helmPackageName": "",
              "id": "95",
              "inputMaterialList": Array [],
              "isGitSource": false,
    +         "isLast": undefined,
              "isRoot": false,
              "isSource": false,
    +         "isVirtualEnvironment": undefined,
              "parentPipelineId": "undefined",
              "parentPipelineType": undefined,
              "parents": Array [
                "92",
              ],

      136 |                 WorkflowTrigger.workflow,
      137 |             ).workflows,
    > 138 |         ).toStrictEqual(workflowsTriggerWithSequential)
          |           ^
      139 |         expect(
      140 |             processWorkflow(
      141 |                 workflowWithSequential.result as WorkflowResult,

      at Object.<anonymous> (src/components/app/details/triggerView/__tests__/workflow.service.test.ts:138:11)

  ● workflow service tests › process workflows sequeqntial PRECD, no POSTCD

    expect(received).toStrictEqual(expected) // deep equality

    - Expected
    + Received

    @@ -13,17 +13,20 @@
          "id": "92",
          "name": "first",
          "nodes": Array [
            Object {
              "branch": "master",
    +         "cipipelineId": 97,
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [
                "CI-96",
              ],
              "height": 64,
              "icon": "git",
              "id": "GIT-getting-started-nodejs-0",
              "isGitSource": true,
    +         "isJobCI": false,
              "isRegex": undefined,
              "isRoot": true,
              "isSource": true,
              "parents": Array [],
              "primaryBranchAfterRegex": "master",
    @@ -35,25 +38,31 @@
              "width": 200,
              "x": 20,
              "y": 24,
            },
            Object {
    +         "ciBlockState": undefined,
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [],
              "height": 126,
              "id": "96",
              "inputMaterialList": Array [],
    +         "isCITriggerBlocked": undefined,
              "isExternalCI": false,
              "isGitSource": false,
    +         "isJobCI": false,
    +         "isLinkedCD": false,
              "isLinkedCI": false,
              "isRoot": false,
              "isSource": true,
              "linkedCount": 0,
              "parentAppId": 0,
              "parentCiPipeline": 0,
              "parents": Array [
                "GIT-getting-started-nodejs-0",
              ],
    +         "showPluginWarning": undefined,
              "status": "Checking Status...",
              "title": "amit-16-jan-replica-ci-amit-16-jan-ci-master-original",
              "triggerType": "Manual",
              "type": "CI",
              "width": 200,
    @@ -61,23 +70,28 @@
              "y": 24,
            },
            Object {
              "activeIn": false,
              "activeOut": false,
    +         "connectingCiPipelineId": 96,
    +         "deploymentAppType": undefined,
              "deploymentStrategy": "rolling",
              "description": "test",
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [
                "CD-79",
              ],
              "environmentId": 1,
              "environmentName": "dev",
              "height": 126,
    +         "helmPackageName": "",
              "id": "79",
              "inputMaterialList": Array [],
              "isGitSource": false,
              "isRoot": false,
              "isSource": false,
    +         "isVirtualEnvironment": undefined,
              "parents": Array [
                "96",
              ],
              "rollbackMaterialList": Array [],
              "stageIndex": 1,
    @@ -91,44 +105,55 @@
            },
            Object {
              "activeIn": false,
              "activeOut": false,
              "connectingCiPipelineId": 96,
    +         "deploymentAppCreated": undefined,
              "deploymentAppDeleteRequest": undefined,
    +         "deploymentAppType": undefined,
              "deploymentStrategy": "rolling",
              "description": "test",
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [],
              "environmentId": 1,
              "environmentName": "dev",
              "height": 126,
    +         "helmPackageName": "",
              "id": "79",
              "inputMaterialList": Array [],
              "isGitSource": false,
    +         "isLast": undefined,
              "isRoot": false,
              "isSource": false,
    +         "isVirtualEnvironment": undefined,
              "parentPipelineId": "undefined",
              "parentPipelineType": undefined,
              "parents": Array [
                "96",
              ],
              "postNode": undefined,
              "preNode": Object {
                "activeIn": false,
                "activeOut": false,
    +           "connectingCiPipelineId": 96,
    +           "deploymentAppType": undefined,
                "deploymentStrategy": "rolling",
                "description": "test",
    +           "downstreamEnvironments": Array [],
                "downstreams": Array [
                  "CD-79",
                ],
                "environmentId": 1,
                "environmentName": "dev",
                "height": 126,
    +           "helmPackageName": "",
                "id": "79",
                "inputMaterialList": Array [],
                "isGitSource": false,
                "isRoot": false,
                "isSource": false,
    +           "isVirtualEnvironment": undefined,
                "parents": Array [
                  "96",
                ],
                "rollbackMaterialList": Array [],
                "stageIndex": 1,
    @@ -153,22 +178,28 @@
            },
            Object {
              "activeIn": false,
              "activeOut": false,
              "connectingCiPipelineId": 96,
    +         "deploymentAppCreated": undefined,
              "deploymentAppDeleteRequest": undefined,
    +         "deploymentAppType": undefined,
              "deploymentStrategy": "rolling",
              "description": "test",
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [],
              "environmentId": 2,
              "environmentName": "",
              "height": 126,
    +         "helmPackageName": "",
              "id": "80",
              "inputMaterialList": Array [],
              "isGitSource": false,
    +         "isLast": undefined,
              "isRoot": false,
              "isSource": false,
    +         "isVirtualEnvironment": undefined,
              "parentPipelineId": "undefined",
              "parentPipelineType": undefined,
              "parents": Array [
                "79",
              ],
    @@ -204,17 +235,20 @@
          "id": "93",
          "name": "external ci",
          "nodes": Array [
            Object {
              "branch": "test",
    +         "cipipelineId": 107,
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [
                "CI-106",
              ],
              "height": 64,
              "icon": "git",
              "id": "GIT-getting-started-nodejs-0",
              "isGitSource": true,
    +         "isJobCI": false,
              "isRegex": undefined,
              "isRoot": true,
              "isSource": true,
              "parents": Array [],
              "primaryBranchAfterRegex": "test",
    @@ -226,25 +260,31 @@
              "width": 200,
              "x": 20,
              "y": 24,
            },
            Object {
    +         "ciBlockState": undefined,
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [],
              "height": 126,
              "id": "106",
              "inputMaterialList": Array [],
    +         "isCITriggerBlocked": undefined,
              "isExternalCI": false,
              "isGitSource": false,
    +         "isJobCI": false,
    +         "isLinkedCD": false,
              "isLinkedCI": false,
              "isRoot": false,
              "isSource": true,
              "linkedCount": 0,
              "parentAppId": 0,
              "parentCiPipeline": 0,
              "parents": Array [
                "GIT-getting-started-nodejs-0",
              ],
    +         "showPluginWarning": undefined,
              "status": "Checking Status...",
              "title": "amit-16-jan-replica-ci-arya-test",
              "triggerType": "Manual",
              "type": "CI",
              "width": 200,
    @@ -253,22 +293,28 @@
            },
            Object {
              "activeIn": false,
              "activeOut": false,
              "connectingCiPipelineId": 106,
    +         "deploymentAppCreated": undefined,
              "deploymentAppDeleteRequest": undefined,
    +         "deploymentAppType": undefined,
              "deploymentStrategy": "rolling",
              "description": "test",
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [],
              "environmentId": 3,
              "environmentName": "dev2",
              "height": 126,
    +         "helmPackageName": "",
              "id": "92",
              "inputMaterialList": Array [],
              "isGitSource": false,
    +         "isLast": undefined,
              "isRoot": false,
              "isSource": false,
    +         "isVirtualEnvironment": undefined,
              "parentPipelineId": "undefined",
              "parentPipelineType": undefined,
              "parents": Array [
                "106",
              ],
    @@ -287,22 +333,28 @@
            },
            Object {
              "activeIn": false,
              "activeOut": false,
              "connectingCiPipelineId": 106,
    +         "deploymentAppCreated": undefined,
              "deploymentAppDeleteRequest": undefined,
    +         "deploymentAppType": undefined,
              "deploymentStrategy": "rolling",
              "description": "test",
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [],
              "environmentId": 5,
              "environmentName": "dev4",
              "height": 126,
    +         "helmPackageName": "",
              "id": "94",
              "inputMaterialList": Array [],
              "isGitSource": false,
    +         "isLast": undefined,
              "isRoot": false,
              "isSource": false,
    +         "isVirtualEnvironment": undefined,
              "parentPipelineId": "undefined",
              "parentPipelineType": undefined,
              "parents": Array [
                "106",
              ],
    @@ -321,22 +373,28 @@
            },
            Object {
              "activeIn": false,
              "activeOut": false,
              "connectingCiPipelineId": 106,
    +         "deploymentAppCreated": undefined,
              "deploymentAppDeleteRequest": undefined,
    +         "deploymentAppType": undefined,
              "deploymentStrategy": "rolling",
              "description": "test",
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [],
              "environmentId": 6,
              "environmentName": "",
              "height": 126,
    +         "helmPackageName": "",
              "id": "95",
              "inputMaterialList": Array [],
              "isGitSource": false,
    +         "isLast": undefined,
              "isRoot": false,
              "isSource": false,
    +         "isVirtualEnvironment": undefined,
              "parentPipelineId": "undefined",
              "parentPipelineType": undefined,
              "parents": Array [
                "92",
              ],

      159 |                 WorkflowTrigger.workflow,
      160 |             ).workflows,
    > 161 |         ).toStrictEqual(workflowsTriggerPreCDRespWithSequential)
          |           ^
      162 |         expect(
      163 |             processWorkflow(
      164 |                 workflowWithSequential.result as WorkflowResult,

      at Object.<anonymous> (src/components/app/details/triggerView/__tests__/workflow.service.test.ts:161:11)

  ● workflow service tests › process workflows sequential no PRECD, POSTCD

    expect(received).toStrictEqual(expected) // deep equality

    - Expected
    + Received

    @@ -13,17 +13,20 @@
          "id": "92",
          "name": "first",
          "nodes": Array [
            Object {
              "branch": "master",
    +         "cipipelineId": 97,
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [
                "CI-96",
              ],
              "height": 64,
              "icon": "git",
              "id": "GIT-getting-started-nodejs-0",
              "isGitSource": true,
    +         "isJobCI": false,
              "isRegex": undefined,
              "isRoot": true,
              "isSource": true,
              "parents": Array [],
              "primaryBranchAfterRegex": "master",
    @@ -35,25 +38,31 @@
              "width": 200,
              "x": 20,
              "y": 24,
            },
            Object {
    +         "ciBlockState": undefined,
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [],
              "height": 126,
              "id": "96",
              "inputMaterialList": Array [],
    +         "isCITriggerBlocked": undefined,
              "isExternalCI": false,
              "isGitSource": false,
    +         "isJobCI": false,
    +         "isLinkedCD": false,
              "isLinkedCI": false,
              "isRoot": false,
              "isSource": true,
              "linkedCount": 0,
              "parentAppId": 0,
              "parentCiPipeline": 0,
              "parents": Array [
                "GIT-getting-started-nodejs-0",
              ],
    +         "showPluginWarning": undefined,
              "status": "Checking Status...",
              "title": "amit-16-jan-replica-ci-amit-16-jan-ci-master-original",
              "triggerType": "Manual",
              "type": "CI",
              "width": 200,
    @@ -62,43 +71,54 @@
            },
            Object {
              "activeIn": false,
              "activeOut": false,
              "connectingCiPipelineId": 96,
    +         "deploymentAppCreated": undefined,
              "deploymentAppDeleteRequest": undefined,
    +         "deploymentAppType": undefined,
              "deploymentStrategy": "rolling",
              "description": "test",
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [
                "POSTCD-79",
              ],
              "environmentId": 1,
              "environmentName": "dev",
              "height": 126,
    +         "helmPackageName": "",
              "id": "79",
              "inputMaterialList": Array [],
              "isGitSource": false,
    +         "isLast": undefined,
              "isRoot": false,
              "isSource": false,
    +         "isVirtualEnvironment": undefined,
              "parentPipelineId": "undefined",
              "parentPipelineType": undefined,
              "parents": Array [
                "96",
              ],
              "postNode": Object {
                "activeIn": false,
                "activeOut": false,
    +           "connectingCiPipelineId": 96,
    +           "deploymentAppType": undefined,
                "deploymentStrategy": "rolling",
                "description": "test",
    +           "downstreamEnvironments": Array [],
                "downstreams": Array [],
                "environmentId": 1,
                "environmentName": "dev",
                "height": 126,
    +           "helmPackageName": "",
                "id": "79",
                "inputMaterialList": Array [],
                "isGitSource": false,
                "isRoot": false,
                "isSource": false,
    +           "isVirtualEnvironment": undefined,
                "parents": Array [
                  "79",
                ],
                "rollbackMaterialList": Array [],
                "stageIndex": 2,
    @@ -123,21 +143,26 @@
              "y": 0,
            },
            Object {
              "activeIn": false,
              "activeOut": false,
    +         "connectingCiPipelineId": 96,
    +         "deploymentAppType": undefined,
              "deploymentStrategy": "rolling",
              "description": "test",
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [],
              "environmentId": 1,
              "environmentName": "dev",
              "height": 126,
    +         "helmPackageName": "",
              "id": "79",
              "inputMaterialList": Array [],
              "isGitSource": false,
              "isRoot": false,
              "isSource": false,
    +         "isVirtualEnvironment": undefined,
              "parents": Array [
                "79",
              ],
              "rollbackMaterialList": Array [],
              "stageIndex": 2,
    @@ -151,22 +176,28 @@
            },
            Object {
              "activeIn": false,
              "activeOut": false,
              "connectingCiPipelineId": 96,
    +         "deploymentAppCreated": undefined,
              "deploymentAppDeleteRequest": undefined,
    +         "deploymentAppType": undefined,
              "deploymentStrategy": "rolling",
              "description": "test",
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [],
              "environmentId": 2,
              "environmentName": "",
              "height": 126,
    +         "helmPackageName": "",
              "id": "80",
              "inputMaterialList": Array [],
              "isGitSource": false,
    +         "isLast": undefined,
              "isRoot": false,
              "isSource": false,
    +         "isVirtualEnvironment": undefined,
              "parentPipelineId": "undefined",
              "parentPipelineType": undefined,
              "parents": Array [
                "79",
              ],
    @@ -202,17 +233,20 @@
          "id": "93",
          "name": "external ci",
          "nodes": Array [
            Object {
              "branch": "test",
    +         "cipipelineId": 107,
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [
                "CI-106",
              ],
              "height": 64,
              "icon": "git",
              "id": "GIT-getting-started-nodejs-0",
              "isGitSource": true,
    +         "isJobCI": false,
              "isRegex": undefined,
              "isRoot": true,
              "isSource": true,
              "parents": Array [],
              "primaryBranchAfterRegex": "test",
    @@ -224,25 +258,31 @@
              "width": 200,
              "x": 20,
              "y": 24,
            },
            Object {
    +         "ciBlockState": undefined,
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [],
              "height": 126,
              "id": "106",
              "inputMaterialList": Array [],
    +         "isCITriggerBlocked": undefined,
              "isExternalCI": false,
              "isGitSource": false,
    +         "isJobCI": false,
    +         "isLinkedCD": false,
              "isLinkedCI": false,
              "isRoot": false,
              "isSource": true,
              "linkedCount": 0,
              "parentAppId": 0,
              "parentCiPipeline": 0,
              "parents": Array [
                "GIT-getting-started-nodejs-0",
              ],
    +         "showPluginWarning": undefined,
              "status": "Checking Status...",
              "title": "amit-16-jan-replica-ci-arya-test",
              "triggerType": "Manual",
              "type": "CI",
              "width": 200,
    @@ -251,22 +291,28 @@
            },
            Object {
              "activeIn": false,
              "activeOut": false,
              "connectingCiPipelineId": 106,
    +         "deploymentAppCreated": undefined,
              "deploymentAppDeleteRequest": undefined,
    +         "deploymentAppType": undefined,
              "deploymentStrategy": "rolling",
              "description": "test",
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [],
              "environmentId": 3,
              "environmentName": "dev2",
              "height": 126,
    +         "helmPackageName": "",
              "id": "92",
              "inputMaterialList": Array [],
              "isGitSource": false,
    +         "isLast": undefined,
              "isRoot": false,
              "isSource": false,
    +         "isVirtualEnvironment": undefined,
              "parentPipelineId": "undefined",
              "parentPipelineType": undefined,
              "parents": Array [
                "106",
              ],
    @@ -285,22 +331,28 @@
            },
            Object {
              "activeIn": false,
              "activeOut": false,
              "connectingCiPipelineId": 106,
    +         "deploymentAppCreated": undefined,
              "deploymentAppDeleteRequest": undefined,
    +         "deploymentAppType": undefined,
              "deploymentStrategy": "rolling",
              "description": "test",
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [],
              "environmentId": 5,
              "environmentName": "dev4",
              "height": 126,
    +         "helmPackageName": "",
              "id": "94",
              "inputMaterialList": Array [],
              "isGitSource": false,
    +         "isLast": undefined,
              "isRoot": false,
              "isSource": false,
    +         "isVirtualEnvironment": undefined,
              "parentPipelineId": "undefined",
              "parentPipelineType": undefined,
              "parents": Array [
                "106",
              ],
    @@ -319,22 +371,28 @@
            },
            Object {
              "activeIn": false,
              "activeOut": false,
              "connectingCiPipelineId": 106,
    +         "deploymentAppCreated": undefined,
              "deploymentAppDeleteRequest": undefined,
    +         "deploymentAppType": undefined,
              "deploymentStrategy": "rolling",
              "description": "test",
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [],
              "environmentId": 6,
              "environmentName": "",
              "height": 126,
    +         "helmPackageName": "",
              "id": "95",
              "inputMaterialList": Array [],
              "isGitSource": false,
    +         "isLast": undefined,
              "isRoot": false,
              "isSource": false,
    +         "isVirtualEnvironment": undefined,
              "parentPipelineId": "undefined",
              "parentPipelineType": undefined,
              "parents": Array [
                "92",
              ],

      182 |                 WorkflowTrigger.workflow,
      183 |             ).workflows,
    > 184 |         ).toStrictEqual(workflowsTriggerPostCDWithSequential)
          |           ^
      185 |         expect(
      186 |             processWorkflow(
      187 |                 workflowWithSequential.result as WorkflowResult,

      at Object.<anonymous> (src/components/app/details/triggerView/__tests__/workflow.service.test.ts:184:11)

  ● workflow service tests › process workflows sequential PRECD, POSTCD

    expect(received).toStrictEqual(expected) // deep equality

    - Expected
    + Received

    @@ -13,17 +13,20 @@
          "id": "92",
          "name": "first",
          "nodes": Array [
            Object {
              "branch": "master",
    +         "cipipelineId": 97,
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [
                "CI-96",
              ],
              "height": 64,
              "icon": "git",
              "id": "GIT-getting-started-nodejs-0",
              "isGitSource": true,
    +         "isJobCI": false,
              "isRegex": undefined,
              "isRoot": true,
              "isSource": true,
              "parents": Array [],
              "primaryBranchAfterRegex": "master",
    @@ -35,25 +38,31 @@
              "width": 200,
              "x": 20,
              "y": 24,
            },
            Object {
    +         "ciBlockState": undefined,
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [],
              "height": 126,
              "id": "96",
              "inputMaterialList": Array [],
    +         "isCITriggerBlocked": undefined,
              "isExternalCI": false,
              "isGitSource": false,
    +         "isJobCI": false,
    +         "isLinkedCD": false,
              "isLinkedCI": false,
              "isRoot": false,
              "isSource": true,
              "linkedCount": 0,
              "parentAppId": 0,
              "parentCiPipeline": 0,
              "parents": Array [
                "GIT-getting-started-nodejs-0",
              ],
    +         "showPluginWarning": undefined,
              "status": "Checking Status...",
              "title": "amit-16-jan-replica-ci-amit-16-jan-ci-master-original",
              "triggerType": "Manual",
              "type": "CI",
              "width": 200,
    @@ -61,23 +70,28 @@
              "y": 24,
            },
            Object {
              "activeIn": false,
              "activeOut": false,
    +         "connectingCiPipelineId": 96,
    +         "deploymentAppType": undefined,
              "deploymentStrategy": "rolling",
              "description": "test",
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [
                "CD-79",
              ],
              "environmentId": 1,
              "environmentName": "",
              "height": 126,
    +         "helmPackageName": "",
              "id": "79",
              "inputMaterialList": Array [],
              "isGitSource": false,
              "isRoot": false,
              "isSource": false,
    +         "isVirtualEnvironment": undefined,
              "parents": Array [
                "96",
              ],
              "rollbackMaterialList": Array [],
              "stageIndex": 1,
    @@ -91,43 +105,54 @@
            },
            Object {
              "activeIn": false,
              "activeOut": false,
              "connectingCiPipelineId": 96,
    +         "deploymentAppCreated": undefined,
              "deploymentAppDeleteRequest": undefined,
    +         "deploymentAppType": undefined,
              "deploymentStrategy": "rolling",
              "description": "test",
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [
                "POSTCD-79",
              ],
              "environmentId": 1,
              "environmentName": "",
              "height": 126,
    +         "helmPackageName": "",
              "id": "79",
              "inputMaterialList": Array [],
              "isGitSource": false,
    +         "isLast": undefined,
              "isRoot": false,
              "isSource": false,
    +         "isVirtualEnvironment": undefined,
              "parentPipelineId": "undefined",
              "parentPipelineType": undefined,
              "parents": Array [
                "96",
              ],
              "postNode": Object {
                "activeIn": false,
                "activeOut": false,
    +           "connectingCiPipelineId": 96,
    +           "deploymentAppType": undefined,
                "deploymentStrategy": "rolling",
                "description": "test",
    +           "downstreamEnvironments": Array [],
                "downstreams": Array [],
                "environmentId": 1,
                "environmentName": "",
                "height": 126,
    +           "helmPackageName": "",
                "id": "79",
                "inputMaterialList": Array [],
                "isGitSource": false,
                "isRoot": false,
                "isSource": false,
    +           "isVirtualEnvironment": undefined,
                "parents": Array [
                  "79",
                ],
                "rollbackMaterialList": Array [],
                "stageIndex": 3,
    @@ -140,23 +165,28 @@
                "y": 0,
              },
              "preNode": Object {
                "activeIn": false,
                "activeOut": false,
    +           "connectingCiPipelineId": 96,
    +           "deploymentAppType": undefined,
                "deploymentStrategy": "rolling",
                "description": "test",
    +           "downstreamEnvironments": Array [],
                "downstreams": Array [
                  "CD-79",
                ],
                "environmentId": 1,
                "environmentName": "",
                "height": 126,
    +           "helmPackageName": "",
                "id": "79",
                "inputMaterialList": Array [],
                "isGitSource": false,
                "isRoot": false,
                "isSource": false,
    +           "isVirtualEnvironment": undefined,
                "parents": Array [
                  "96",
                ],
                "rollbackMaterialList": Array [],
                "stageIndex": 1,
    @@ -180,21 +210,26 @@
              "y": 0,
            },
            Object {
              "activeIn": false,
              "activeOut": false,
    +         "connectingCiPipelineId": 96,
    +         "deploymentAppType": undefined,
              "deploymentStrategy": "rolling",
              "description": "test",
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [],
              "environmentId": 1,
              "environmentName": "",
              "height": 126,
    +         "helmPackageName": "",
              "id": "79",
              "inputMaterialList": Array [],
              "isGitSource": false,
              "isRoot": false,
              "isSource": false,
    +         "isVirtualEnvironment": undefined,
              "parents": Array [
                "79",
              ],
              "rollbackMaterialList": Array [],
              "stageIndex": 3,
    @@ -208,22 +243,28 @@
            },
            Object {
              "activeIn": false,
              "activeOut": false,
              "connectingCiPipelineId": 96,
    +         "deploymentAppCreated": undefined,
              "deploymentAppDeleteRequest": undefined,
    +         "deploymentAppType": undefined,
              "deploymentStrategy": "rolling",
              "description": "test",
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [],
              "environmentId": 2,
              "environmentName": "",
              "height": 126,
    +         "helmPackageName": "",
              "id": "80",
              "inputMaterialList": Array [],
              "isGitSource": false,
    +         "isLast": undefined,
              "isRoot": false,
              "isSource": false,
    +         "isVirtualEnvironment": undefined,
              "parentPipelineId": "undefined",
              "parentPipelineType": undefined,
              "parents": Array [
                "79",
              ],
    @@ -259,17 +300,20 @@
          "id": "93",
          "name": "external ci",
          "nodes": Array [
            Object {
              "branch": "test",
    +         "cipipelineId": 107,
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [
                "CI-106",
              ],
              "height": 64,
              "icon": "git",
              "id": "GIT-getting-started-nodejs-0",
              "isGitSource": true,
    +         "isJobCI": false,
              "isRegex": undefined,
              "isRoot": true,
              "isSource": true,
              "parents": Array [],
              "primaryBranchAfterRegex": "test",
    @@ -281,25 +325,31 @@
              "width": 200,
              "x": 20,
              "y": 24,
            },
            Object {
    +         "ciBlockState": undefined,
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [],
              "height": 126,
              "id": "106",
              "inputMaterialList": Array [],
    +         "isCITriggerBlocked": undefined,
              "isExternalCI": false,
              "isGitSource": false,
    +         "isJobCI": false,
    +         "isLinkedCD": false,
              "isLinkedCI": false,
              "isRoot": false,
              "isSource": true,
              "linkedCount": 0,
              "parentAppId": 0,
              "parentCiPipeline": 0,
              "parents": Array [
                "GIT-getting-started-nodejs-0",
              ],
    +         "showPluginWarning": undefined,
              "status": "Checking Status...",
              "title": "amit-16-jan-replica-ci-arya-test",
              "triggerType": "Manual",
              "type": "CI",
              "width": 200,
    @@ -308,22 +358,28 @@
            },
            Object {
              "activeIn": false,
              "activeOut": false,
              "connectingCiPipelineId": 106,
    +         "deploymentAppCreated": undefined,
              "deploymentAppDeleteRequest": undefined,
    +         "deploymentAppType": undefined,
              "deploymentStrategy": "rolling",
              "description": "test",
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [],
              "environmentId": 3,
              "environmentName": "",
              "height": 126,
    +         "helmPackageName": "",
              "id": "92",
              "inputMaterialList": Array [],
              "isGitSource": false,
    +         "isLast": undefined,
              "isRoot": false,
              "isSource": false,
    +         "isVirtualEnvironment": undefined,
              "parentPipelineId": "undefined",
              "parentPipelineType": undefined,
              "parents": Array [
                "106",
              ],
    @@ -342,22 +398,28 @@
            },
            Object {
              "activeIn": false,
              "activeOut": false,
              "connectingCiPipelineId": 106,
    +         "deploymentAppCreated": undefined,
              "deploymentAppDeleteRequest": undefined,
    +         "deploymentAppType": undefined,
              "deploymentStrategy": "rolling",
              "description": "test",
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [],
              "environmentId": 5,
              "environmentName": "",
              "height": 126,
    +         "helmPackageName": "",
              "id": "94",
              "inputMaterialList": Array [],
              "isGitSource": false,
    +         "isLast": undefined,
              "isRoot": false,
              "isSource": false,
    +         "isVirtualEnvironment": undefined,
              "parentPipelineId": "undefined",
              "parentPipelineType": undefined,
              "parents": Array [
                "106",
              ],
    @@ -376,22 +438,28 @@
            },
            Object {
              "activeIn": false,
              "activeOut": false,
              "connectingCiPipelineId": 106,
    +         "deploymentAppCreated": undefined,
              "deploymentAppDeleteRequest": undefined,
    +         "deploymentAppType": undefined,
              "deploymentStrategy": "rolling",
              "description": "test",
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [],
              "environmentId": 6,
              "environmentName": "",
              "height": 126,
    +         "helmPackageName": "",
              "id": "95",
              "inputMaterialList": Array [],
              "isGitSource": false,
    +         "isLast": undefined,
              "isRoot": false,
              "isSource": false,
    +         "isVirtualEnvironment": undefined,
              "parentPipelineId": "undefined",
              "parentPipelineType": undefined,
              "parents": Array [
                "92",
              ],

      205 |                 WorkflowTrigger.workflow,
      206 |             ).workflows,
    > 207 |         ).toStrictEqual(workflowsTriggerPrePostCDWithSequential)
          |           ^
      208 |         expect(
      209 |             processWorkflow(
      210 |                 workflowWithSequential.result as WorkflowResult,

      at Object.<anonymous> (src/components/app/details/triggerView/__tests__/workflow.service.test.ts:207:11)

  ● workflow service tests › process workflows pre and post sequential PRECD, POSTCD

    expect(received).toStrictEqual(expected) // deep equality

    - Expected
    + Received

    @@ -13,17 +13,20 @@
          "id": "92",
          "name": "first",
          "nodes": Array [
            Object {
              "branch": "master",
    +         "cipipelineId": 97,
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [
                "CI-96",
              ],
              "height": 64,
              "icon": "git",
              "id": "GIT-getting-started-nodejs-0",
              "isGitSource": true,
    +         "isJobCI": false,
              "isRegex": undefined,
              "isRoot": true,
              "isSource": true,
              "parents": Array [],
              "primaryBranchAfterRegex": "master",
    @@ -35,25 +38,31 @@
              "width": 200,
              "x": 20,
              "y": 24,
            },
            Object {
    +         "ciBlockState": undefined,
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [],
              "height": 126,
              "id": "96",
              "inputMaterialList": Array [],
    +         "isCITriggerBlocked": undefined,
              "isExternalCI": false,
              "isGitSource": false,
    +         "isJobCI": false,
    +         "isLinkedCD": false,
              "isLinkedCI": false,
              "isRoot": false,
              "isSource": true,
              "linkedCount": 0,
              "parentAppId": 0,
              "parentCiPipeline": 0,
              "parents": Array [
                "GIT-getting-started-nodejs-0",
              ],
    +         "showPluginWarning": undefined,
              "status": "Checking Status...",
              "title": "amit-16-jan-replica-ci-amit-16-jan-ci-master-original",
              "triggerType": "Manual",
              "type": "CI",
              "width": 200,
    @@ -61,23 +70,28 @@
              "y": 24,
            },
            Object {
              "activeIn": false,
              "activeOut": false,
    +         "connectingCiPipelineId": 96,
    +         "deploymentAppType": undefined,
              "deploymentStrategy": "rolling",
              "description": "test",
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [
                "CD-79",
              ],
              "environmentId": 1,
              "environmentName": "",
              "height": 126,
    +         "helmPackageName": "",
              "id": "79",
              "inputMaterialList": Array [],
              "isGitSource": false,
              "isRoot": false,
              "isSource": false,
    +         "isVirtualEnvironment": undefined,
              "parents": Array [
                "96",
              ],
              "rollbackMaterialList": Array [],
              "stageIndex": 1,
    @@ -91,43 +105,54 @@
            },
            Object {
              "activeIn": false,
              "activeOut": false,
              "connectingCiPipelineId": 96,
    +         "deploymentAppCreated": undefined,
              "deploymentAppDeleteRequest": undefined,
    +         "deploymentAppType": undefined,
              "deploymentStrategy": "rolling",
              "description": "test",
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [
                "POSTCD-79",
              ],
              "environmentId": 1,
              "environmentName": "",
              "height": 126,
    +         "helmPackageName": "",
              "id": "79",
              "inputMaterialList": Array [],
              "isGitSource": false,
    +         "isLast": undefined,
              "isRoot": false,
              "isSource": false,
    +         "isVirtualEnvironment": undefined,
              "parentPipelineId": "undefined",
              "parentPipelineType": undefined,
              "parents": Array [
                "96",
              ],
              "postNode": Object {
                "activeIn": false,
                "activeOut": false,
    +           "connectingCiPipelineId": 96,
    +           "deploymentAppType": undefined,
                "deploymentStrategy": "rolling",
                "description": "test",
    +           "downstreamEnvironments": Array [],
                "downstreams": Array [],
                "environmentId": 1,
                "environmentName": "",
                "height": 126,
    +           "helmPackageName": "",
                "id": "79",
                "inputMaterialList": Array [],
                "isGitSource": false,
                "isRoot": false,
                "isSource": false,
    +           "isVirtualEnvironment": undefined,
                "parents": Array [
                  "79",
                ],
                "rollbackMaterialList": Array [],
                "stageIndex": 3,
    @@ -140,23 +165,28 @@
                "y": 0,
              },
              "preNode": Object {
                "activeIn": false,
                "activeOut": false,
    +           "connectingCiPipelineId": 96,
    +           "deploymentAppType": undefined,
                "deploymentStrategy": "rolling",
                "description": "test",
    +           "downstreamEnvironments": Array [],
                "downstreams": Array [
                  "CD-79",
                ],
                "environmentId": 1,
                "environmentName": "",
                "height": 126,
    +           "helmPackageName": "",
                "id": "79",
                "inputMaterialList": Array [],
                "isGitSource": false,
                "isRoot": false,
                "isSource": false,
    +           "isVirtualEnvironment": undefined,
                "parents": Array [
                  "96",
                ],
                "rollbackMaterialList": Array [],
                "stageIndex": 1,
    @@ -180,21 +210,26 @@
              "y": 0,
            },
            Object {
              "activeIn": false,
              "activeOut": false,
    +         "connectingCiPipelineId": 96,
    +         "deploymentAppType": undefined,
              "deploymentStrategy": "rolling",
              "description": "test",
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [],
              "environmentId": 1,
              "environmentName": "",
              "height": 126,
    +         "helmPackageName": "",
              "id": "79",
              "inputMaterialList": Array [],
              "isGitSource": false,
              "isRoot": false,
              "isSource": false,
    +         "isVirtualEnvironment": undefined,
              "parents": Array [
                "79",
              ],
              "rollbackMaterialList": Array [],
              "stageIndex": 3,
    @@ -207,23 +242,28 @@
              "y": 0,
            },
            Object {
              "activeIn": false,
              "activeOut": false,
    +         "connectingCiPipelineId": 96,
    +         "deploymentAppType": undefined,
              "deploymentStrategy": "rolling",
              "description": "test",
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [
                "CD-80",
              ],
              "environmentId": 2,
              "environmentName": "",
              "height": 126,
    +         "helmPackageName": "",
              "id": "80",
              "inputMaterialList": Array [],
              "isGitSource": false,
              "isRoot": false,
              "isSource": false,
    +         "isVirtualEnvironment": undefined,
              "parents": Array [
                "79",
              ],
              "rollbackMaterialList": Array [],
              "stageIndex": 1,
    @@ -237,43 +277,54 @@
            },
            Object {
              "activeIn": false,
              "activeOut": false,
              "connectingCiPipelineId": 96,
    +         "deploymentAppCreated": undefined,
              "deploymentAppDeleteRequest": undefined,
    +         "deploymentAppType": undefined,
              "deploymentStrategy": "rolling",
              "description": "test",
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [
                "POSTCD-80",
              ],
              "environmentId": 2,
              "environmentName": "",
              "height": 126,
    +         "helmPackageName": "",
              "id": "80",
              "inputMaterialList": Array [],
              "isGitSource": false,
    +         "isLast": undefined,
              "isRoot": false,
              "isSource": false,
    +         "isVirtualEnvironment": undefined,
              "parentPipelineId": "undefined",
              "parentPipelineType": undefined,
              "parents": Array [
                "79",
              ],
              "postNode": Object {
                "activeIn": false,
                "activeOut": false,
    +           "connectingCiPipelineId": 96,
    +           "deploymentAppType": undefined,
                "deploymentStrategy": "rolling",
                "description": "test",
    +           "downstreamEnvironments": Array [],
                "downstreams": Array [],
                "environmentId": 2,
                "environmentName": "",
                "height": 126,
    +           "helmPackageName": "",
                "id": "80",
                "inputMaterialList": Array [],
                "isGitSource": false,
                "isRoot": false,
                "isSource": false,
    +           "isVirtualEnvironment": undefined,
                "parents": Array [
                  "80",
                ],
                "rollbackMaterialList": Array [],
                "stageIndex": 3,
    @@ -286,23 +337,28 @@
                "y": 0,
              },
              "preNode": Object {
                "activeIn": false,
                "activeOut": false,
    +           "connectingCiPipelineId": 96,
    +           "deploymentAppType": undefined,
                "deploymentStrategy": "rolling",
                "description": "test",
    +           "downstreamEnvironments": Array [],
                "downstreams": Array [
                  "CD-80",
                ],
                "environmentId": 2,
                "environmentName": "",
                "height": 126,
    +           "helmPackageName": "",
                "id": "80",
                "inputMaterialList": Array [],
                "isGitSource": false,
                "isRoot": false,
                "isSource": false,
    +           "isVirtualEnvironment": undefined,
                "parents": Array [
                  "79",
                ],
                "rollbackMaterialList": Array [],
                "stageIndex": 1,
    @@ -326,21 +382,26 @@
              "y": 0,
            },
            Object {
              "activeIn": false,
              "activeOut": false,
    +         "connectingCiPipelineId": 96,
    +         "deploymentAppType": undefined,
              "deploymentStrategy": "rolling",
              "description": "test",
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [],
              "environmentId": 2,
              "environmentName": "",
              "height": 126,
    +         "helmPackageName": "",
              "id": "80",
              "inputMaterialList": Array [],
              "isGitSource": false,
              "isRoot": false,
              "isSource": false,
    +         "isVirtualEnvironment": undefined,
              "parents": Array [
                "80",
              ],
              "rollbackMaterialList": Array [],
              "stageIndex": 3,
    @@ -371,17 +432,20 @@
          "id": "93",
          "name": "external ci",
          "nodes": Array [
            Object {
              "branch": "test",
    +         "cipipelineId": 107,
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [
                "CI-106",
              ],
              "height": 64,
              "icon": "git",
              "id": "GIT-getting-started-nodejs-0",
              "isGitSource": true,
    +         "isJobCI": false,
              "isRegex": undefined,
              "isRoot": true,
              "isSource": true,
              "parents": Array [],
              "primaryBranchAfterRegex": "test",
    @@ -393,25 +457,31 @@
              "width": 200,
              "x": 20,
              "y": 24,
            },
            Object {
    +         "ciBlockState": undefined,
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [],
              "height": 126,
              "id": "106",
              "inputMaterialList": Array [],
    +         "isCITriggerBlocked": undefined,
              "isExternalCI": false,
              "isGitSource": false,
    +         "isJobCI": false,
    +         "isLinkedCD": false,
              "isLinkedCI": false,
              "isRoot": false,
              "isSource": true,
              "linkedCount": 0,
              "parentAppId": 0,
              "parentCiPipeline": 0,
              "parents": Array [
                "GIT-getting-started-nodejs-0",
              ],
    +         "showPluginWarning": undefined,
              "status": "Checking Status...",
              "title": "amit-16-jan-replica-ci-arya-test",
              "triggerType": "Manual",
              "type": "CI",
              "width": 200,
    @@ -420,22 +490,28 @@
            },
            Object {
              "activeIn": false,
              "activeOut": false,
              "connectingCiPipelineId": 106,
    +         "deploymentAppCreated": undefined,
              "deploymentAppDeleteRequest": undefined,
    +         "deploymentAppType": undefined,
              "deploymentStrategy": "rolling",
              "description": "test",
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [],
              "environmentId": 3,
              "environmentName": "",
              "height": 126,
    +         "helmPackageName": "",
              "id": "92",
              "inputMaterialList": Array [],
              "isGitSource": false,
    +         "isLast": undefined,
              "isRoot": false,
              "isSource": false,
    +         "isVirtualEnvironment": undefined,
              "parentPipelineId": "undefined",
              "parentPipelineType": undefined,
              "parents": Array [
                "106",
              ],
    @@ -454,22 +530,28 @@
            },
            Object {
              "activeIn": false,
              "activeOut": false,
              "connectingCiPipelineId": 106,
    +         "deploymentAppCreated": undefined,
              "deploymentAppDeleteRequest": undefined,
    +         "deploymentAppType": undefined,
              "deploymentStrategy": "rolling",
              "description": "test",
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [],
              "environmentId": 5,
              "environmentName": "",
              "height": 126,
    +         "helmPackageName": "",
              "id": "94",
              "inputMaterialList": Array [],
              "isGitSource": false,
    +         "isLast": undefined,
              "isRoot": false,
              "isSource": false,
    +         "isVirtualEnvironment": undefined,
              "parentPipelineId": "undefined",
              "parentPipelineType": undefined,
              "parents": Array [
                "106",
              ],
    @@ -487,23 +569,28 @@
              "y": 0,
            },
            Object {
              "activeIn": false,
              "activeOut": false,
    +         "connectingCiPipelineId": 106,
    +         "deploymentAppType": undefined,
              "deploymentStrategy": "rolling",
              "description": "test",
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [
                "CD-95",
              ],
              "environmentId": 6,
              "environmentName": "",
              "height": 126,
    +         "helmPackageName": "",
              "id": "95",
              "inputMaterialList": Array [],
              "isGitSource": false,
              "isRoot": false,
              "isSource": false,
    +         "isVirtualEnvironment": undefined,
              "parents": Array [
                "92",
              ],
              "rollbackMaterialList": Array [],
              "stageIndex": 1,
    @@ -517,43 +604,54 @@
            },
            Object {
              "activeIn": false,
              "activeOut": false,
              "connectingCiPipelineId": 106,
    +         "deploymentAppCreated": undefined,
              "deploymentAppDeleteRequest": undefined,
    +         "deploymentAppType": undefined,
              "deploymentStrategy": "rolling",
              "description": "test",
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [
                "POSTCD-95",
              ],
              "environmentId": 6,
              "environmentName": "",
              "height": 126,
    +         "helmPackageName": "",
              "id": "95",
              "inputMaterialList": Array [],
              "isGitSource": false,
    +         "isLast": undefined,
              "isRoot": false,
              "isSource": false,
    +         "isVirtualEnvironment": undefined,
              "parentPipelineId": "undefined",
              "parentPipelineType": undefined,
              "parents": Array [
                "92",
              ],
              "postNode": Object {
                "activeIn": false,
                "activeOut": false,
    +           "connectingCiPipelineId": 106,
    +           "deploymentAppType": undefined,
                "deploymentStrategy": "rolling",
                "description": "test",
    +           "downstreamEnvironments": Array [],
                "downstreams": Array [],
                "environmentId": 6,
                "environmentName": "",
                "height": 126,
    +           "helmPackageName": "",
                "id": "95",
                "inputMaterialList": Array [],
                "isGitSource": false,
                "isRoot": false,
                "isSource": false,
    +           "isVirtualEnvironment": undefined,
                "parents": Array [
                  "95",
                ],
                "rollbackMaterialList": Array [],
                "stageIndex": 3,
    @@ -566,23 +664,28 @@
                "y": 0,
              },
              "preNode": Object {
                "activeIn": false,
                "activeOut": false,
    +           "connectingCiPipelineId": 106,
    +           "deploymentAppType": undefined,
                "deploymentStrategy": "rolling",
                "description": "test",
    +           "downstreamEnvironments": Array [],
                "downstreams": Array [
                  "CD-95",
                ],
                "environmentId": 6,
                "environmentName": "",
                "height": 126,
    +           "helmPackageName": "",
                "id": "95",
                "inputMaterialList": Array [],
                "isGitSource": false,
                "isRoot": false,
                "isSource": false,
    +           "isVirtualEnvironment": undefined,
                "parents": Array [
                  "92",
                ],
                "rollbackMaterialList": Array [],
                "stageIndex": 1,
    @@ -606,21 +709,26 @@
              "y": 0,
            },
            Object {
              "activeIn": false,
              "activeOut": false,
    +         "connectingCiPipelineId": 106,
    +         "deploymentAppType": undefined,
              "deploymentStrategy": "rolling",
              "description": "test",
    +         "downstreamEnvironments": Array [],
              "downstreams": Array [],
              "environmentId": 6,
              "environmentName": "",
              "height": 126,
    +         "helmPackageName": "",
              "id": "95",
              "inputMaterialList": Array [],
              "isGitSource": false,
              "isRoot": false,
              "isSource": false,
    +         "isVirtualEnvironment": undefined,
              "parents": Array [
                "95",
              ],
              "rollbackMaterialList": Array [],
              "stageIndex": 3,

      228 |                 WorkflowTrigger.workflow,
      229 |             ).workflows,
    > 230 |         ).toStrictEqual(workflowsTriggerPrePostCDWithPrePostSequential)
          |           ^
      231 |         expect(
      232 |             processWorkflow(
      233 |                 workflowWithSequential.result as WorkflowResult,

      at Object.<anonymous> (src/components/app/details/triggerView/__tests__/workflow.service.test.ts:230:11)


  ● Test suite failed to run

    TypeError: (0 , _Helpers.importComponentFromFELibrary) is not a function

      45 |
      46 | export const mainContext = createContext<any>(null)
    > 47 | const getEnvironmentData = importComponentFromFELibrary('getEnvironmentData', null, 'function')
         |                            ^
      48 |
      49 | export default function NavigationRoutes() {
      50 |     const history = useHistory()

      at Object.<anonymous> (src/components/common/navigation/NavigationRoutes.tsx:47:28)
      at Object.<anonymous> (src/components/common/header/PageHeader.tsx:9:1)
      at Object.<anonymous> (src/components/common/index.ts:32:1)
      at Object.<anonymous> (src/components/app/details/appDetails/utils.tsx:3:1)
      at Object.<anonymous> (src/components/common/helpers/Helpers.tsx:17:1)
      at Object.<anonymous> (src/components/common/formFields/Widgets/Widgets.tsx:8:1)
      at Object.<anonymous> (src/components/ResourceBrowser/ResourceList/ResourceList.component.tsx:11:1)
      at Object.<anonymous> (src/components/ResourceBrowser/ResourceList/Sidebar.tsx:16:1)
      at Object.<anonymous> (src/components/ResourceBrowser/ResourceList/__tests__/Sidebar.test.tsx:10:1)


  ● Test suite failed to run

    TypeError: (0 , _Helpers.importComponentFromFELibrary) is not a function

      45 |
      46 | export const mainContext = createContext<any>(null)
    > 47 | const getEnvironmentData = importComponentFromFELibrary('getEnvironmentData', null, 'function')
         |                            ^
      48 |
      49 | export default function NavigationRoutes() {
      50 |     const history = useHistory()

      at Object.<anonymous> (src/components/common/navigation/NavigationRoutes.tsx:47:28)
      at Object.<anonymous> (src/components/common/header/PageHeader.tsx:9:1)
      at Object.<anonymous> (src/components/common/index.ts:32:1)
      at Object.<anonymous> (src/components/app/details/appDetails/utils.tsx:3:1)
      at Object.<anonymous> (src/components/common/helpers/Helpers.tsx:17:1)
      at Object.<anonymous> (src/components/v2/appDetails/k8Resource/nodeDetail/NodeDetailTabs/terminal/__tests__/Terminal.component.test.tsx:4:1)


  ● Test suite failed to run

    Cannot find module '../ClusterAbout' from 'NodeList.test.tsx'

      4 | import { act, render } from '@testing-library/react'
      5 | import { clusterId, mockFailedResponse, mockSuccessResponseWithOutNote, mockSuccessResponseWithNote, mockMarkDownEditorComponent } from '../__mocks__/clusterAbout.mock'
    > 6 | import ClusterAbout from '../ClusterAbout'
        | ^
      7 | import ApiMethods from '@devtron-labs/devtron-fe-common-lib'
      8 |
      9 | jest.mock('../../charts/discoverChartDetail/DiscoverChartDetails', () => ({

      at Resolver.resolveModule (node_modules/jest-resolve/build/index.js:259:17)
      at Object.<anonymous> (src/components/ClusterNodes/__tests__/NodeList.test.tsx:6:1)


  ● EnvironmentOverview › EnvironmentOverview render with data

    expect(received).toBeInTheDocument()

    received value must be an HTMLElement or an SVGElement.
    Received has value: null

      42 |         expect(component.container).toBeInTheDocument()
      43 |         const leftInfoComponent = component.container.querySelector('.pt-16.pb-16.pl-20.pr-20.dc__border-right')
    > 44 |         expect(leftInfoComponent).toBeInTheDocument()
         |                                   ^
      45 |         const infoLeftRowComponent = leftInfoComponent.querySelector('.fs-13.fw-4.lh-20.cn-9')
      46 |         expect(infoLeftRowComponent).toBeInTheDocument()
      47 |         expect(component.getByText('prakash-1mar')).toBeInTheDocument()

      at Object.toBeInTheDocument (node_modules/expect/build/index.js:342:33)
      at Object.<anonymous> (src/components/ApplicationGroup/Details/EnvironmentOverview/__test__/EnvironmentOverview.test.tsx:44:35)


  ● When FloatingVariablesSuggestions mounts › should show collapsed state by default

    TypeError: (0 , _devtronFeCommonLib.useWindowSize) is not a function

      29 |     )
      30 |
    > 31 |     const windowSize = useWindowSize()
         |                        ^
      32 |     // In case of StrictMode, we get error findDOMNode is deprecated in StrictMode
      33 |     // So we use useRef to get the DOM node
      34 |     const nodeRef = useRef(null)

      at FloatingVariablesSuggestions (src/components/common/FloatingVariablesSuggestions/FloatingVariablesSuggestions.tsx:31:24)
      at renderWithHooks (node_modules/react-dom/cjs/react-dom.development.js:14985:18)
      at updateFunctionComponent (node_modules/react-dom/cjs/react-dom.development.js:17356:20)
      at updateSimpleMemoComponent (node_modules/react-dom/cjs/react-dom.development.js:17215:10)
      at updateMemoComponent (node_modules/react-dom/cjs/react-dom.development.js:17092:14)
      at beginWork (node_modules/react-dom/cjs/react-dom.development.js:19135:16)
      at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:3945:14)
      at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:3994:16)
      at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4056:31)
      at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:23964:7)
      at performUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:22779:12)
      at workLoopSync (node_modules/react-dom/cjs/react-dom.development.js:22707:5)
      at renderRootSync (node_modules/react-dom/cjs/react-dom.development.js:22670:7)
      at performSyncWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:22293:18)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:21881:7)
      at updateContainer (node_modules/react-dom/cjs/react-dom.development.js:25482:3)
      at node_modules/react-dom/cjs/react-dom.development.js:26021:7
      at unbatchedUpdates (node_modules/react-dom/cjs/react-dom.development.js:22431:12)
      at legacyRenderSubtreeIntoContainer (node_modules/react-dom/cjs/react-dom.development.js:26020:5)
      at Object.render (node_modules/react-dom/cjs/react-dom.development.js:26103:10)
      at node_modules/@testing-library/react/dist/pure.js:101:25
      at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom.development.js:22380:12)
      at act (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1042:14)
      at render (node_modules/@testing-library/react/dist/pure.js:97:26)
      at Object.<anonymous> (src/components/common/FloatingVariablesSuggestions/__tests__/FloatingVariablesSuggestions.test.tsx:34:33)

  ● When FloatingVariablesSuggestions mounts › should allow dragging collapsed state on drag of handle-drag

    TypeError: (0 , _devtronFeCommonLib.useWindowSize) is not a function

      29 |     )
      30 |
    > 31 |     const windowSize = useWindowSize()
         |                        ^
      32 |     // In case of StrictMode, we get error findDOMNode is deprecated in StrictMode
      33 |     // So we use useRef to get the DOM node
      34 |     const nodeRef = useRef(null)

      at FloatingVariablesSuggestions (src/components/common/FloatingVariablesSuggestions/FloatingVariablesSuggestions.tsx:31:24)
      at renderWithHooks (node_modules/react-dom/cjs/react-dom.development.js:14985:18)
      at updateFunctionComponent (node_modules/react-dom/cjs/react-dom.development.js:17356:20)
      at updateSimpleMemoComponent (node_modules/react-dom/cjs/react-dom.development.js:17215:10)
      at updateMemoComponent (node_modules/react-dom/cjs/react-dom.development.js:17092:14)
      at beginWork (node_modules/react-dom/cjs/react-dom.development.js:19135:16)
      at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:3945:14)
      at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:3994:16)
      at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4056:31)
      at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:23964:7)
      at performUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:22779:12)
      at workLoopSync (node_modules/react-dom/cjs/react-dom.development.js:22707:5)
      at renderRootSync (node_modules/react-dom/cjs/react-dom.development.js:22670:7)
      at performSyncWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:22293:18)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:21881:7)
      at updateContainer (node_modules/react-dom/cjs/react-dom.development.js:25482:3)
      at node_modules/react-dom/cjs/react-dom.development.js:26021:7
      at unbatchedUpdates (node_modules/react-dom/cjs/react-dom.development.js:22431:12)
      at legacyRenderSubtreeIntoContainer (node_modules/react-dom/cjs/react-dom.development.js:26020:5)
      at Object.render (node_modules/react-dom/cjs/react-dom.development.js:26103:10)
      at node_modules/@testing-library/react/dist/pure.js:101:25
      at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom.development.js:22380:12)
      at act (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1042:14)
      at render (node_modules/@testing-library/react/dist/pure.js:97:26)
      at Object.<anonymous> (src/components/common/FloatingVariablesSuggestions/__tests__/FloatingVariablesSuggestions.test.tsx:40:44)

  ● When FloatingVariablesSuggestions mounts › should show expanded state on click of activate-suggestions

    TypeError: (0 , _devtronFeCommonLib.useWindowSize) is not a function

      29 |     )
      30 |
    > 31 |     const windowSize = useWindowSize()
         |                        ^
      32 |     // In case of StrictMode, we get error findDOMNode is deprecated in StrictMode
      33 |     // So we use useRef to get the DOM node
      34 |     const nodeRef = useRef(null)

      at FloatingVariablesSuggestions (src/components/common/FloatingVariablesSuggestions/FloatingVariablesSuggestions.tsx:31:24)
      at renderWithHooks (node_modules/react-dom/cjs/react-dom.development.js:14985:18)
      at updateFunctionComponent (node_modules/react-dom/cjs/react-dom.development.js:17356:20)
      at updateSimpleMemoComponent (node_modules/react-dom/cjs/react-dom.development.js:17215:10)
      at updateMemoComponent (node_modules/react-dom/cjs/react-dom.development.js:17092:14)
      at beginWork (node_modules/react-dom/cjs/react-dom.development.js:19135:16)
      at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:3945:14)
      at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:3994:16)
      at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4056:31)
      at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:23964:7)
      at performUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:22779:12)
      at workLoopSync (node_modules/react-dom/cjs/react-dom.development.js:22707:5)
      at renderRootSync (node_modules/react-dom/cjs/react-dom.development.js:22670:7)
      at performSyncWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:22293:18)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:21881:7)
      at updateContainer (node_modules/react-dom/cjs/react-dom.development.js:25482:3)
      at node_modules/react-dom/cjs/react-dom.development.js:26021:7
      at unbatchedUpdates (node_modules/react-dom/cjs/react-dom.development.js:22431:12)
      at legacyRenderSubtreeIntoContainer (node_modules/react-dom/cjs/react-dom.development.js:26020:5)
      at Object.render (node_modules/react-dom/cjs/react-dom.development.js:26103:10)
      at node_modules/@testing-library/react/dist/pure.js:101:25
      at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom.development.js:22380:12)
      at act (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1042:14)
      at render (node_modules/@testing-library/react/dist/pure.js:97:26)
      at Object.<anonymous> (src/components/common/FloatingVariablesSuggestions/__tests__/FloatingVariablesSuggestions.test.tsx:52:33)


  ● Test suite failed to run

    Call retries were exceeded

      at ChildProcessWorker.initialize (node_modules/jest-worker/build/workers/ChildProcessWorker.js:193:21)


  ● EnvConfig › Application render with data

    expect(received).toBeInTheDocument()

    received value must be an HTMLElement or an SVGElement.
    Received has value: null

      42 |         })
      43 |         expect(component.container).toBeInTheDocument()
    > 44 |         expect(component.container.querySelector('.env-compose')).toBeInTheDocument()
         |                                                                   ^
      45 |         expect(component.getByText('testing-app')).toBeInTheDocument()
      46 |         expect(component.container.querySelector('.env-compose__main')).toBeInTheDocument()
      47 |     })

      at Object.toBeInTheDocument (node_modules/expect/build/index.js:342:33)
      at Object.<anonymous> (src/components/ApplicationGroup/Details/EnvironmentConfig/__test__/EnvConfig.test.tsx:44:67)


  ● Test suite failed to run

    TypeError: (0 , _Helpers.importComponentFromFELibrary) is not a function

      45 |
      46 | export const mainContext = createContext<any>(null)
    > 47 | const getEnvironmentData = importComponentFromFELibrary('getEnvironmentData', null, 'function')
         |                            ^
      48 |
      49 | export default function NavigationRoutes() {
      50 |     const history = useHistory()

      at Object.<anonymous> (src/components/common/navigation/NavigationRoutes.tsx:47:28)
      at Object.<anonymous> (src/components/common/header/PageHeader.tsx:9:1)
      at Object.<anonymous> (src/components/common/index.ts:32:1)
      at Object.<anonymous> (src/components/app/details/appDetails/utils.tsx:3:1)
      at Object.<anonymous> (src/components/common/helpers/Helpers.tsx:17:1)
      at Object.<anonymous> (src/components/common/formFields/Widgets/Widgets.tsx:8:1)
      at Object.<anonymous> (src/components/scopedVariables/ScopedVariablesLoader.tsx:5:1)
      at Object.<anonymous> (src/components/scopedVariables/SavedVariables.tsx:4:1)
      at Object.<anonymous> (src/components/scopedVariables/ScopedVariables.tsx:3:1)
      at Object.<anonymous> (src/components/scopedVariables/__tests__/ScopedVariables.test.tsx:4:1)

Report generated by 🧪jest coverage report action from 23921d6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR:Ready-to-Review PR:Ready-to-Review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: deprecate app listing V1 API

4 participants