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

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

XMLWordPrintable

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

      Migrate OLM core resource tests to RTL 11 files, ~127 tests CSV, Subscription, InstallPlan, OperatorGroup, Operand components 

      A.C.

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

      Additional Info:

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

      ├── catalog-source.spec.tsx                                    (6 tests)

      ├── clusterserviceversion.spec.tsx                            (34 tests)

      ├── install-plan.spec.tsx                                      (20 tests)

      ├── operator-group.spec.tsx                                    (21 tests)

      ├── package-manifest.spec.tsx                                  (8 tests)

      ├── subscription.spec.tsx                                      (18 tests)

      ├── modals/

      │   ├── installplan-approval-modal.spec.tsx                    (7 tests)

      │   └── subscription-channel-modal.spec.tsx                    (4 tests)

      └── operand/

          ├── create-operand.spec.tsx                                (9 tests)

          ├── index.spec.tsx                                         (37 tests)

          └── utils.spec.ts 

              sgoodwin_redhat Steve goodwin
              cajieh Cyril Ajieh
              None
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: