Uploaded image for project: 'OCMUI - OpenShift Cluster Manager UI'
  1. OCMUI - OpenShift Cluster Manager UI
  2. OCMUI-3632

Come up with a strategy and fix/delete accessibility unit tests that are skipped

XMLWordPrintable

    • Skipped Unit-tests
    • Quality / Stability / Reliability
    • False
    • False
    • In Progress
    • 0% To Do, 0% In Progress, 100% Done
    • first refinement attempt was off target, need to start another round of refinement

      ♿ Accessibility Test Issues

      Systematic Accessibility Skips

      Multiple files with it.skip('is accessible') pattern:

      • src/components/quota/{}tests{}/Quota.test.tsx:18
      • src/components/downloads/DownloadsPage/{}tests{}/DownloadsPage.test.tsx:48
      • src/components/dashboard/{}tests{}/TopOverviewSection.test.jsx:18
      • src/components/dashboard/InsightsAdvisorCard/InsightsAdvisorCard.test.jsx:67
      • src/components/common/RefreshButton/RefreshButton.test.tsx:25
      • src/components/dashboard/CostCard/{}tests{}/CostSummary.test.tsx:9
      • src/components/dashboard/Dashboard.test.jsx:156
      • src/components/clusters/ClusterDetailsMultiRegion/{}tests{}/ClusterNetwork.test.jsx:9
      • src/components/clusters/ClusterDetailsMultiRegion/components/Overview/InsightsAdvisor/InsightsAdvisor.test.jsx:25,33
      • src/components/clusters/ClusterDetailsMultiRegion/components/Overview/CostBreakdownCard/{}tests{}/CostBreakdownCard.test.tsx:94
      • src/components/clusters/ClusterDetailsMultiRegion/components/TabsRow/{}tests{}/TabsRow.test.tsx:50
      • src/components/clusters/ArchivedClusterListMultiRegion/components/ArchiveClusterListTable/{}tests{}/ArchivedClusterList.test.jsx:10
      • src/components/clusters/ClusterDetailsMultiRegion/{}tests{}/Overview.test.jsx:54,115,186
      • src/components/clusters/CreateClusterPage/CreateCluster.test.jsx:32
      • src/components/clusters/common/ResourceUsage/{}tests{}/ClusterUtilizationChart.test.tsx:30
      • src/components/clusters/common/ResourceUsage/{}tests{}/SmallClusterChart.test.tsx:33
      • src/components/clusters/common/ResourceUsage/{}tests{}/ResourceUsage.test.tsx:44
      • src/components/clusters/install/InstallWrapper.test.tsx:18
      • src/components/releases/ReleaseChannel.test.tsx:17
      • src/components/releases/Releases.test.tsx:38

      Specific Accessibility Issues

      • File: src/components/clusters/wizards/rosa/ControlPlaneScreen/HostedTile.test.tsx:75
        • Reason: "TODO: Skipping accessibility test for now as it is failing and requires PF intervention."
      • File: src/components/common/formik/Checkbox.test.jsx:10
        • Reason: "Checkbox is not accessible due to the lack of associated label. skipped until Checkbox accepts a label and passes it down to FormGroup"
      • File: src/components/clusters/ClusterDetailsMultiRegion/components/Monitoring/{}tests{}/Monitoring.test.tsx:17
        • Reason: "Skipping these tests because the Monitoring component has accessibility issues"
      • File: src/components/clusters/ClusterDetailsMultiRegion/components/Overview/InstallationLogView/{}tests{}/InstallationLogView.test.jsx:36
        • Reason: "Skipping because it fails with Async callback was not invoked within the 5000 ms timeout specified by jest.setTimeout."

      🧩 Component/Library Issues

      React Markdown Issues

      • File: src/common/{}tests{}/MarkdownParser.test.tsx:20
        • Test: describe.skip('MarkdownParser')
        • Reason:

          Fix unit test cases by mocking the ReactMarkdown component in jest.config.js -> moduleNameMapper (see markdownMock.tsx). Since these tests do not mean anything as the mock just returns the same data sent in, we can skip them. Ticket OCMUI-2682 addresses the issues of react-markdown


              Unassigned Unassigned
              achagarl Aneela Chagarlamudi Kaplan
              Jayakrishnan Mekkattillam Jayakrishnan Mekkattillam
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: