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

Remove snapshot tests

XMLWordPrintable

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

      Remove snapshot tests since Console is migrating away from Enzyme to React Testing Library.

      The snapshot test is often fragile, breaking due to minor and frequently irrelevant UI changes, resulting in high maintenance overhead. Also tightly couple to implementation details rather than user-facing behavior approach of RTL. 

      Number of files: 4

      Number of Snapshot `toMatchSnapshot()` test cases: 10

      A.C.

         All Enzynme snapshot tests are removed. 

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

                Created:
                Updated:
                Resolved: