Uploaded image for project: 'OpenShift Console'
  1. OpenShift Console
  2. CONSOLE-4832

Migrate Enzyme OLM descriptors & OperatorHub "packages/operator-lifecycle-manager" unit tests to React Testing Library

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • None
    • None
    • None
    • OCP Console - Sprint 279

      Migrate OLM descriptors & OperatorHub tests to RTL 10 files, ~128 tests OperatorHub, Descriptors (spec & status), Uninstall modal

      A.C.

      • All Enzyme tests are migrated to RTL
      • All tests are passing in CI 

       

      Additional Info:

      packages/operator-lifecycle-manager/src/components/

      ├── descriptors/

      │   ├── spec/

      │   │   ├── index.spec.tsx                                     (7 tests)

      │   │   └── resource-requirements.spec.tsx                     (6 tests)

      │   └── status/

      │       ├── conditions.spec.tsx                                (1 test)

      │       ├── index.spec.tsx                                     (3 tests)

      │       ├── phase.spec.tsx                                     (2 tests)

      │       └── pods.spec.tsx                                      (2 tests)

      ├── operator-hub/

      │   ├── operator-hub.spec.tsx                                  (9 tests)

      │   ├── operator-hub-items.spec.tsx                            (9 tests)

      │   └── operator-hub-utils.spec.ts                             (41 tests)

      └── modals/

          └── uninstall-operator-modal.spec.tsx                      (6 tests)

       

              cajieh Cyril Ajieh
              cajieh Cyril Ajieh
              None
              None
              YaDan Pei YaDan Pei
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: