Skip to content

fix(FileListTable): Prevent crash when API returns null file entries - #4131

Open
sentry[bot] wants to merge 1 commit into
mainfrom
seer/fix/filelist-null-crash
Open

sentry[bot] wants to merge 1 commit into
mainfrom
seer/fix/filelist-null-crash

Conversation

@sentry

@sentry sentry Bot commented Sep 18, 2026

Copy link
Copy Markdown

Description

This PR addresses GAZEBO-187C, a TypeError occurring in the FileListTable when the API returns null entries within the file list data.

Previously, useRepoBranchContentsTable would map API results, returning null for any null API entry. These null values were then passed directly into the rawTableRows array, which is consumed by TanStack Table. When TanStack Table attempted to render cells for these null rows, it would try to access properties like .misses, .hits, or .coverage on a null object, leading to a TypeError.

The fix involves adding a .filter(Boolean) call to the rawTableRows array in src/pages/RepoPage/CoverageTab/OverviewTab/subroute/FileExplorer/hooks/useRepoBranchContentsTable.tsx. This ensures that any null entries are removed from the data before being passed to adjustListIfUpDir and subsequently to TanStack Table, thus preventing the error.

Code Example

// In src/pages/RepoPage/CoverageTab/OverviewTab/subroute/FileExplorer/hooks/useRepoBranchContentsTable.tsx
const rawTableRows = data?.results
  ?.map(result => {
    // ... existing mapping logic that might return null ...
    return result; // or null
  })
  .filter(Boolean); // Added this line to remove nulls

Notable Changes

Added .filter(Boolean) to the rawTableRows array in src/pages/RepoPage/CoverageTab/OverviewTab/subroute/FileExplorer/hooks/useRepoBranchContentsTable.tsx to prevent null entries from being passed to TanStack Table, resolving a TypeError.

Screenshots

N/A

Link to Sample Entry

N/A

Legal Boilerplate

Look, I get it. The entity doing business as "Codecov" is owned by Harness, Inc. In 2026 Harness acquired Codecov and as a result Harness is going to need some rights from me in order to utilize my contributions in this PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Harness can use, modify, copy, and redistribute my contributions, under Harness's choice of terms.

Fixes GAZEBO-187C

@sentry <feedback>: Autofix iterates on these changes
@sentry stop iterating: Autofix stops iterating on this run

This PR was automatically generated by Sentry. You can adjust this setting at any time.

@codecov

codecov Bot commented Sep 18, 2026 •

Copy link
Copy Markdown

Bundle Report

Changes will increase total bundle size by 32 bytes (0.0%) ⬆️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
gazebo-production-system 5.82MB 16 bytes (0.0%) ⬆️
gazebo-production-esm 5.89MB 16 bytes (0.0%) ⬆️

Affected Assets, Files, and Routes:

view changes for bundle: gazebo-production-system

Assets Changed:

Asset Name Size Change Total Size Change (%)
assets/index-legacy.*.js 16 bytes 84.73kB 0.02%

Files in assets/index-legacy.*.js:

  • ./src/pages/RepoPage/CoverageTab/OverviewTab/subroute/FileExplorer/hooks/useRepoBranchContentsTable.tsx → Total Size: 4.54kB
view changes for bundle: gazebo-production-esm

Assets Changed:

Asset Name Size Change Total Size Change (%)
assets/index.*.js 16 bytes 89.98kB 0.02%

Files in assets/index.*.js:

  • ./src/pages/RepoPage/CoverageTab/OverviewTab/subroute/FileExplorer/hooks/useRepoBranchContentsTable.tsx → Total Size: 4.54kB

@codecov

codecov Bot commented Sep 18, 2026 •

Copy link
Copy Markdown

❌ 2 Tests Failed:

Tests completed Failed Passed Skipped
5754 2 5752 3
View the top 2 failed test(s) by shortest run time
src/pages/RepoPage/FailedTestsTab/FailedTestsPage/FailedTestsTable/FailedTestsTable.test.tsx > FailedTestsTable > renders table headers > when repo is private > when plan is free > does not render flake rate column
Stack Traces | 0.0588s run time
TestingLibraryElementError: Unable to find an element with the text: test-1. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.

Ignored nodes: comments, script, style
<body>
  <div>
    Table Header
    <div
      class="tableui"
    >
      <table>
        <colgroup>
          <col
            style="width: 40%;"
          />
          <col
            style="width: 10%;"
          />
          <col
            style="width: 10%;"
          />
          <col
            style="width: 10%;"
          />
          <col
            style="width: 10%;"
          />
          <col
            style="width: 10%;"
          />
          <col
            style="width: 10%;"
          />
        </colgroup>
        <thead>
          <tr>
            <th
              data-sortable="true"
            >
              <div
                class="flex gap-1"
              >
                Test name
                <span
                  class="text-ds-blue-darker group-hover/columnheader:opacity-100"
                  data-sort-direction="false"
                >
                  <svg
                    class="w-4 h-4"
                    data-icon=""
                    data-testid=""
                    fill="none"
                    stroke="currentColor"
                    viewBox="0 0 24 24"
                    xmlns="http://www.w3.org/2000/svg"
                  >
                    <path
                      d="M5 10l7-7m0 0l7 7m-7-7v18"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                      stroke-width="2"
                    />
                  </svg>
                </span>
              </div>
            </th>
            <th
              data-sortable="true"
            >
              <div
                class="flex gap-1 flex-row-reverse"
              >
                Avg. duration
                <span
                  class="text-ds-blue-darker group-hover/columnheader:opacity-100"
                  data-sort-direction="false"
                >
                  <svg
                    class="w-4 h-4"
                    data-icon=""
                    data-testid=""
                    fill="none"
                    stroke="currentColor"
                    viewBox="0 0 24 24"
                    xmlns="http://www.w3.org/2000/svg"
                  >
                    <path
                      d="M5 10l7-7m0 0l7 7m-7-7v18"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                      stroke-width="2"
                    />
                  </svg>
                </span>
              </div>
            </th>
            <th
              data-sortable="true"
            >
              <div
                class="flex gap-1 flex-row-reverse"
              >
                Time spent
                <span
                  class="text-ds-blue-darker group-hover/columnheader:opacity-100"
                  data-sort-direction="false"
                >
                  <svg
                    class="w-4 h-4"
                    data-icon=""
                    data-testid=""
                    fill="none"
                    stroke="currentColor"
                    viewBox="0 0 24 24"
                    xmlns="http://www.w3.org/2000/svg"
                  >
                    <path
                      d="M5 10l7-7m0 0l7 7m-7-7v18"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                      stroke-width="2"
                    />
                  </svg>
                </span>
              </div>
            </th>
            <th
              data-sortable="true"
            >
              <div
                class="flex gap-1 flex-row-reverse"
              >
                Failure rate
                <span
                  class="text-ds-blue-darker group-hover/columnheader:opacity-100"
                  data-sort-direction="false"
                >
                  <svg
                    class="w-4 h-4"
                    data-icon=""
                    data-testid=""
                    fill="none"
                    stroke="currentColor"
                    viewBox="0 0 24 24"
                    xmlns="http://www.w3.org/2000/svg"
                  >
                    <path
                      d="M5 10l7-7m0 0l7 7m-7-7v18"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                      stroke-width="2"
                    />
                  </svg>
                </span>
              </div>
            </th>
            <th
              data-sortable="true"
            >
              <div
                class="flex gap-1 flex-row-reverse"
              >
                <div
                  class="flex items-center gap-1"
                >
                  Flake rate
                  <button
                    class=""
                    data-state="closed"
                  >
                    <div
                      class="text-ds-gray-tertiary dark:text-ds-gray-quinary"
                    >
                      <svg
                        class="w-4 h-4"
                        data-icon=""
                        data-testid=""
                        fill="none"
                        stroke="currentColor"
                        viewBox="0 0 24 24"
                        xmlns="http://www.w3.org/2000/svg"
                      >
                        <path
                          d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
                          stroke-linecap="round"
                          stroke-linejoin="round"
                          stroke-width="2"
                        />
                      </svg>
                    </div>
                  </button>
                </div>
                <span
                  class="text-ds-blue-darker group-hover/columnheader:opacity-100"
                  data-sort-direction="false"
                >
                  <svg
                    class="w-4 h-4"
                    data-icon=""
                    data-testid=""
                    fill="none"
                    stroke="currentColor"
                    viewBox="0 0 24 24"
                    xmlns="http://www.w3.org/2000/svg"
                  >
                    <path
                      d="M5 10l7-7m0 0l7 7m-7-7v18"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                      stroke-width="2"
                    />
                  </svg>
                </span>
              </div>
            </th>
            <th
              data-sortable="true"
            >
              <div
                class="flex gap-1 flex-row-reverse"
              >
                Commits failed
                <span
                  class="text-ds-blue-darker group-hover/columnheader:opacity-100"
                  data-sort-direction="desc"
                >
                  <svg
                    class="w-4 h-4"
                    data-icon=""
                    data-testid=""
                    fill="none"
                    stroke="currentColor"
                    viewBox="0 0 24 24"
                    xmlns="http://www.w3.org/2000/svg"
                  >
                    <path
                      d="M5 10l7-7m0 0l7 7m-7-7v18"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                      stroke-width="2"
                    />
                  </svg>
                </span>
              </div>
            </th>
            <th
              data-sortable="true"
            >
              <div
                class="flex gap-1"
              >
                Last run
                <span
                  class="text-ds-blue-darker group-hover/columnheader:opacity-100"
                  data-sort-direction="false"
                >
                  <svg
                    class="w-4 h-4"
                    data-icon=""
                    data-testid=""
                    fill="none"
                    stroke="currentColor"
                    viewBox="0 0 24 24"
                    xmlns="http://www.w3.org/2000/svg"
                  >
                    <path
                      d="M5 10l7-7m0 0l7 7m-7-7v18"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                      stroke-width="2"
                    />
                  </svg>
                </span>
              </div>
            </th>
          </tr>
        </thead>
        <tbody
          data-testid="failed-tests-table-body"
        >
          <tr>
            <td
              colspan="7"
            >
              <div
                class="mt-16 flex flex-1 items-center justify-center"
              >
                <svg
                  class="size-3 animate-spin"
                  data-testid="spinner"
                  fill="none"
                  role="presentation"
                  viewBox="0 0 24 24"
                  xmlns="http://www.w3.org/2000/svg"
                >
                  <circle
                    class="opacity-25"
                    cx="12"
                    cy="12"
                    r="10"
                    stroke="currentColor"
                    stroke-width="4"
                  />
                  <path
                    class="opacity-75"
                    d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"
                    fill="currentColor"
                  />
                </svg>
              </div>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </div>
</body>

Ignored nodes: comments, script, style
<body>
  <div>
    Table Header
    <div
      class="tableui"
    >
      <table>
        <colgroup>
          <col
            style="width: 40%;"
          />
          <col
            style="width: 10%;"
          />
          <col
            style="width: 10%;"
          />
          <col
            style="width: 10%;"
          />
          <col
            style="width: 10%;"
          />
          <col
            style="width: 10%;"
          />
          <col
            style="width: 10%;"
          />
        </colgroup>
        <thead>
          <tr>
            <th
              data-sortable="true"
            >
              <div
                class="flex gap-1"
              >
                Test name
                <span
                  class="text-ds-blue-darker group-hover/columnheader:opacity-100"
                  data-sort-direction="false"
                >
                  <svg
                    class="w-4 h-4"
                    data-icon=""
                    data-testid=""
                    fill="none"
                    stroke="currentColor"
                    viewBox="0 0 24 24"
                    xmlns="http://www.w3.org/2000/svg"
                  >
                    <path
                      d="M5 10l7-7m0 0l7 7m-7-7v18"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                      stroke-width="2"
                    />
                  </svg>
                </span>
              </div>
            </th>
            <th
              data-sortable="true"
            >
              <div
                class="flex gap-1 flex-row-reverse"
              >
                Avg. duration
                <span
                  class="text-ds-blue-darker group-hover/columnheader:opacity-100"
                  data-sort-direction="false"
                >
                  <svg
                    class="w-4 h-4"
                    data-icon=""
                    data-testid=""
                    fill="none"
                    stroke="currentColor"
                    viewBox="0 0 24 24"
                    xmlns="http://www.w3.org/2000/svg"
                  >
                    <path
                      d="M5 10l7-7m0 0l7 7m-7-7v18"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                      stroke-width="2"
                    />
                  </svg>
                </span>
              </div>
            </th>
            <th
              data-sortable="true"
            >
              <div
                class="flex gap-1 flex-row-reverse"
              >
                Time spent
                <span
                  class="text-ds-blue-darker group-hover/columnheader:opacity-100"
                  data-sort-direction="false"
                >
                  <svg
                    class="w-4 h-4"
                    data-icon=""
                    data-testid=""
                    fill="none"
                    stroke="currentColor"
                    viewBox="0 0 24 24"
                    xmlns="http://www.w3.org/2000/svg"
                  >
                    <path
                      d="M5 10l7-7m0 0l7 7m-7-7v18"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                      stroke-width="2"
                    />
                  </svg>
                </span>
              </div>
            </th>
            <th
              data-sortable="true"
            >
              <div
                class="flex gap-1 flex-row-reverse"
              >
                Failure rate
                <span
                  class="text-ds-blue-darker group-hover/columnheader:opacity-100"
                  data-sort-direction="false"
                >
                  <svg
                    class="w-4 h-4"
                    data-icon=""
                    data-testid=""
                    fill="none"
                    stroke="currentColor"
                    viewBox="0 0 24 24"
                    xmlns="http://www.w3.org/2000/svg"
                  >
                    <path
                      d="M5 10l7-7m0 0l7 7m-7-7v18"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                      stroke-width="2"
                    />
                  </svg>
                </span>
              </div>
            </th>
            <th
              data-sortable="true"
            >
              <div
                class="flex gap-1 flex-row-reverse"
              >
                <div
                  class="flex items-center gap-1"
                >
                  Flake rate
                  <button
                    class=""
                    data-state="closed"
                  >
                    <div
                      class="text-ds-gray-tertiary dark:text-ds-gray-quinary"
                    >
                      <svg
                        class="w-4 h-4"
                        data-icon=""
                        data-testid=""
                        fill="none"
                        stroke="currentColor"
                        viewBox="0 0 24 24"
                        xmlns="http://www.w3.org/2000/svg"
                      >
                        <path
                          d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
                          stroke-linecap="round"
                          stroke-linejoin="round"
                          stroke-width="2"
                        />
                      </svg>
                    </div>
                  </button>
                </div>
                <span
                  class="text-ds-blue-darker group-hover/columnheader:opacity-100"
                  data-sort-direction="false"
                >
                  <svg
                    class="w-4 h-4"
                    data-icon=""
                    data-testid=""
                    fill="none"
                    stroke="currentColor"
                    viewBox="0 0 24 24"
                    xmlns="http://www.w3.org/2000/svg"
                  >
                    <path
                      d="M5 10l7-7m0 0l7 7m-7-7v18"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                      stroke-width="2"
                    />
                  </svg>
                </span>
              </div>
            </th>
            <th
              data-sortable="true"
            >
              <div
                class="flex gap-1 flex-row-reverse"
              >
                Commits failed
                <span
                  class="text-ds-blue-darker group-hover/columnheader:opacity-100"
                  data-sort-direction="desc"
                >
                  <svg
                    class="w-4 h-4"
                    data-icon=""
                    data-testid=""
                    fill="none"
                    stroke="currentColor"
                    viewBox="0 0 24 24"
                    xmlns="http://www.w3.org/2000/svg"
                  >
                    <path
                      d="M5 10l7-7m0 0l7 7m-7-7v18"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                      stroke-width="2"
                    />
                  </svg>
                </span>
              </div>
            </th>
            <th
              data-sortable="true"
            >
              <div
                class="flex gap-1"
              >
                Last run
                <span
                  class="text-ds-blue-darker group-hover/columnheader:opacity-100"
                  data-sort-direction="false"
                >
                  <svg
                    class="w-4 h-4"
                    data-icon=""
                    data-testid=""
                    fill="none"
                    stroke="currentColor"
                    viewBox="0 0 24 24"
                    xmlns="http://www.w3.org/2000/svg"
                  >
                    <path
                      d="M5 10l7-7m0 0l7 7m-7-7v18"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                      stroke-width="2"
                    />
                  </svg>
                </span>
              </div>
            </th>
          </tr>
        </thead>
        <tbody
          data-testid="failed-tests-table-body"
        >
          <tr>
            <td
              colspan="7"
            >
              <div
                class="mt-16 flex flex-1 items-center justify-center"
              >
                <svg
                  class="size-3 animate-spin"
                  data-testid="spinner"
                  fill="none"
                  role="presentation"
                  viewBox="0 0 24 24"
                  xmlns="http://www.w3.org/2000/svg"
                >
                  <circle
                    class="opacity-25"
                    cx="12"
                    cy="12"
                    r="10"
                    stroke="currentColor"
                    stroke-width="4"
                  />
                  <path
                    class="opacity-75"
                    d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"
                    fill="currentColor"
                  />
                </svg>
              </div>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </div>
</body>
 ❯ waitForWrapper node_modules/@.../dom/dist/wait-for.js:163:27
 ❯ node_modules/@.../dom/dist/query-helpers.js:86:33
 ❯ .../FailedTestsPage/FailedTestsTable/FailedTestsTable.test.tsx:259:42
src/pages/RepoPage/FailedTestsTab/FailedTestsPage/FailedTestsTable/FailedTestsTable.test.tsx > FailedTestsTable > renders table headers > when repo is private > when plan is team plan > does not render flake rate column
Stack Traces | 0.127s run time
TestingLibraryElementError: Unable to find an element with the text: test-1. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.

Ignored nodes: comments, script, style
<body>
  <div>
    Table Header
    <div
      class="tableui"
    >
      <table>
        <colgroup>
          <col
            style="width: 40%;"
          />
          <col
            style="width: 10%;"
          />
          <col
            style="width: 10%;"
          />
          <col
            style="width: 10%;"
          />
          <col
            style="width: 10%;"
          />
          <col
            style="width: 10%;"
          />
          <col
            style="width: 10%;"
          />
        </colgroup>
        <thead>
          <tr>
            <th
              data-sortable="true"
            >
              <div
                class="flex gap-1"
              >
                Test name
                <span
                  class="text-ds-blue-darker group-hover/columnheader:opacity-100"
                  data-sort-direction="false"
                >
                  <svg
                    class="w-4 h-4"
                    data-icon=""
                    data-testid=""
                    fill="none"
                    stroke="currentColor"
                    viewBox="0 0 24 24"
                    xmlns="http://www.w3.org/2000/svg"
                  >
                    <path
                      d="M5 10l7-7m0 0l7 7m-7-7v18"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                      stroke-width="2"
                    />
                  </svg>
                </span>
              </div>
            </th>
            <th
              data-sortable="true"
            >
              <div
                class="flex gap-1 flex-row-reverse"
              >
                Avg. duration
                <span
                  class="text-ds-blue-darker group-hover/columnheader:opacity-100"
                  data-sort-direction="false"
                >
                  <svg
                    class="w-4 h-4"
                    data-icon=""
                    data-testid=""
                    fill="none"
                    stroke="currentColor"
                    viewBox="0 0 24 24"
                    xmlns="http://www.w3.org/2000/svg"
                  >
                    <path
                      d="M5 10l7-7m0 0l7 7m-7-7v18"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                      stroke-width="2"
                    />
                  </svg>
                </span>
              </div>
            </th>
            <th
              data-sortable="true"
            >
              <div
                class="flex gap-1 flex-row-reverse"
              >
                Time spent
                <span
                  class="text-ds-blue-darker group-hover/columnheader:opacity-100"
                  data-sort-direction="false"
                >
                  <svg
                    class="w-4 h-4"
                    data-icon=""
                    data-testid=""
                    fill="none"
                    stroke="currentColor"
                    viewBox="0 0 24 24"
                    xmlns="http://www.w3.org/2000/svg"
                  >
                    <path
                      d="M5 10l7-7m0 0l7 7m-7-7v18"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                      stroke-width="2"
                    />
                  </svg>
                </span>
              </div>
            </th>
            <th
              data-sortable="true"
            >
              <div
                class="flex gap-1 flex-row-reverse"
              >
                Failure rate
                <span
                  class="text-ds-blue-darker group-hover/columnheader:opacity-100"
                  data-sort-direction="false"
                >
                  <svg
                    class="w-4 h-4"
                    data-icon=""
                    data-testid=""
                    fill="none"
                    stroke="currentColor"
                    viewBox="0 0 24 24"
                    xmlns="http://www.w3.org/2000/svg"
                  >
                    <path
                      d="M5 10l7-7m0 0l7 7m-7-7v18"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                      stroke-width="2"
                    />
                  </svg>
                </span>
              </div>
            </th>
            <th
              data-sortable="true"
            >
              <div
                class="flex gap-1 flex-row-reverse"
              >
                <div
                  class="flex items-center gap-1"
                >
                  Flake rate
                  <button
                    class=""
                    data-state="closed"
                  >
                    <div
                      class="text-ds-gray-tertiary dark:text-ds-gray-quinary"
                    >
                      <svg
                        class="w-4 h-4"
                        data-icon=""
                        data-testid=""
                        fill="none"
                        stroke="currentColor"
                        viewBox="0 0 24 24"
                        xmlns="http://www.w3.org/2000/svg"
                      >
                        <path
                          d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
                          stroke-linecap="round"
                          stroke-linejoin="round"
                          stroke-width="2"
                        />
                      </svg>
                    </div>
                  </button>
                </div>
                <span
                  class="text-ds-blue-darker group-hover/columnheader:opacity-100"
                  data-sort-direction="false"
                >
                  <svg
                    class="w-4 h-4"
                    data-icon=""
                    data-testid=""
                    fill="none"
                    stroke="currentColor"
                    viewBox="0 0 24 24"
                    xmlns="http://www.w3.org/2000/svg"
                  >
                    <path
                      d="M5 10l7-7m0 0l7 7m-7-7v18"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                      stroke-width="2"
                    />
                  </svg>
                </span>
              </div>
            </th>
            <th
              data-sortable="true"
            >
              <div
                class="flex gap-1 flex-row-reverse"
              >
                Commits failed
                <span
                  class="text-ds-blue-darker group-hover/columnheader:opacity-100"
                  data-sort-direction="desc"
                >
                  <svg
                    class="w-4 h-4"
                    data-icon=""
                    data-testid=""
                    fill="none"
                    stroke="currentColor"
                    viewBox="0 0 24 24"
                    xmlns="http://www.w3.org/2000/svg"
                  >
                    <path
                      d="M5 10l7-7m0 0l7 7m-7-7v18"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                      stroke-width="2"
                    />
                  </svg>
                </span>
              </div>
            </th>
            <th
              data-sortable="true"
            >
              <div
                class="flex gap-1"
              >
                Last run
                <span
                  class="text-ds-blue-darker group-hover/columnheader:opacity-100"
                  data-sort-direction="false"
                >
                  <svg
                    class="w-4 h-4"
                    data-icon=""
                    data-testid=""
                    fill="none"
                    stroke="currentColor"
                    viewBox="0 0 24 24"
                    xmlns="http://www.w3.org/2000/svg"
                  >
                    <path
                      d="M5 10l7-7m0 0l7 7m-7-7v18"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                      stroke-width="2"
                    />
                  </svg>
                </span>
              </div>
            </th>
          </tr>
        </thead>
        <tbody
          data-testid="failed-tests-table-body"
        >
          <tr>
            <td
              colspan="7"
            >
              <div
                class="mt-16 flex flex-1 items-center justify-center"
              >
                <svg
                  class="size-3 animate-spin"
                  data-testid="spinner"
                  fill="none"
                  role="presentation"
                  viewBox="0 0 24 24"
                  xmlns="http://www.w3.org/2000/svg"
                >
                  <circle
                    class="opacity-25"
                    cx="12"
                    cy="12"
                    r="10"
                    stroke="currentColor"
                    stroke-width="4"
                  />
                  <path
                    class="opacity-75"
                    d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"
                    fill="currentColor"
                  />
                </svg>
              </div>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </div>
</body>

Ignored nodes: comments, script, style
<body>
  <div>
    Table Header
    <div
      class="tableui"
    >
      <table>
        <colgroup>
          <col
            style="width: 40%;"
          />
          <col
            style="width: 10%;"
          />
          <col
            style="width: 10%;"
          />
          <col
            style="width: 10%;"
          />
          <col
            style="width: 10%;"
          />
          <col
            style="width: 10%;"
          />
          <col
            style="width: 10%;"
          />
        </colgroup>
        <thead>
          <tr>
            <th
              data-sortable="true"
            >
              <div
                class="flex gap-1"
              >
                Test name
                <span
                  class="text-ds-blue-darker group-hover/columnheader:opacity-100"
                  data-sort-direction="false"
                >
                  <svg
                    class="w-4 h-4"
                    data-icon=""
                    data-testid=""
                    fill="none"
                    stroke="currentColor"
                    viewBox="0 0 24 24"
                    xmlns="http://www.w3.org/2000/svg"
                  >
                    <path
                      d="M5 10l7-7m0 0l7 7m-7-7v18"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                      stroke-width="2"
                    />
                  </svg>
                </span>
              </div>
            </th>
            <th
              data-sortable="true"
            >
              <div
                class="flex gap-1 flex-row-reverse"
              >
                Avg. duration
                <span
                  class="text-ds-blue-darker group-hover/columnheader:opacity-100"
                  data-sort-direction="false"
                >
                  <svg
                    class="w-4 h-4"
                    data-icon=""
                    data-testid=""
                    fill="none"
                    stroke="currentColor"
                    viewBox="0 0 24 24"
                    xmlns="http://www.w3.org/2000/svg"
                  >
                    <path
                      d="M5 10l7-7m0 0l7 7m-7-7v18"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                      stroke-width="2"
                    />
                  </svg>
                </span>
              </div>
            </th>
            <th
              data-sortable="true"
            >
              <div
                class="flex gap-1 flex-row-reverse"
              >
                Time spent
                <span
                  class="text-ds-blue-darker group-hover/columnheader:opacity-100"
                  data-sort-direction="false"
                >
                  <svg
                    class="w-4 h-4"
                    data-icon=""
                    data-testid=""
                    fill="none"
                    stroke="currentColor"
                    viewBox="0 0 24 24"
                    xmlns="http://www.w3.org/2000/svg"
                  >
                    <path
                      d="M5 10l7-7m0 0l7 7m-7-7v18"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                      stroke-width="2"
                    />
                  </svg>
                </span>
              </div>
            </th>
            <th
              data-sortable="true"
            >
              <div
                class="flex gap-1 flex-row-reverse"
              >
                Failure rate
                <span
                  class="text-ds-blue-darker group-hover/columnheader:opacity-100"
                  data-sort-direction="false"
                >
                  <svg
                    class="w-4 h-4"
                    data-icon=""
                    data-testid=""
                    fill="none"
                    stroke="currentColor"
                    viewBox="0 0 24 24"
                    xmlns="http://www.w3.org/2000/svg"
                  >
                    <path
                      d="M5 10l7-7m0 0l7 7m-7-7v18"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                      stroke-width="2"
                    />
                  </svg>
                </span>
              </div>
            </th>
            <th
              data-sortable="true"
            >
              <div
                class="flex gap-1 flex-row-reverse"
              >
                <div
                  class="flex items-center gap-1"
                >
                  Flake rate
                  <button
                    class=""
                    data-state="closed"
                  >
                    <div
                      class="text-ds-gray-tertiary dark:text-ds-gray-quinary"
                    >
                      <svg
                        class="w-4 h-4"
                        data-icon=""
                        data-testid=""
                        fill="none"
                        stroke="currentColor"
                        viewBox="0 0 24 24"
                        xmlns="http://www.w3.org/2000/svg"
                      >
                        <path
                          d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
                          stroke-linecap="round"
                          stroke-linejoin="round"
                          stroke-width="2"
                        />
                      </svg>
                    </div>
                  </button>
                </div>
                <span
                  class="text-ds-blue-darker group-hover/columnheader:opacity-100"
                  data-sort-direction="false"
                >
                  <svg
                    class="w-4 h-4"
                    data-icon=""
                    data-testid=""
                    fill="none"
                    stroke="currentColor"
                    viewBox="0 0 24 24"
                    xmlns="http://www.w3.org/2000/svg"
                  >
                    <path
                      d="M5 10l7-7m0 0l7 7m-7-7v18"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                      stroke-width="2"
                    />
                  </svg>
                </span>
              </div>
            </th>
            <th
              data-sortable="true"
            >
              <div
                class="flex gap-1 flex-row-reverse"
              >
                Commits failed
                <span
                  class="text-ds-blue-darker group-hover/columnheader:opacity-100"
                  data-sort-direction="desc"
                >
                  <svg
                    class="w-4 h-4"
                    data-icon=""
                    data-testid=""
                    fill="none"
                    stroke="currentColor"
                    viewBox="0 0 24 24"
                    xmlns="http://www.w3.org/2000/svg"
                  >
                    <path
                      d="M5 10l7-7m0 0l7 7m-7-7v18"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                      stroke-width="2"
                    />
                  </svg>
                </span>
              </div>
            </th>
            <th
              data-sortable="true"
            >
              <div
                class="flex gap-1"
              >
                Last run
                <span
                  class="text-ds-blue-darker group-hover/columnheader:opacity-100"
                  data-sort-direction="false"
                >
                  <svg
                    class="w-4 h-4"
                    data-icon=""
                    data-testid=""
                    fill="none"
                    stroke="currentColor"
                    viewBox="0 0 24 24"
                    xmlns="http://www.w3.org/2000/svg"
                  >
                    <path
                      d="M5 10l7-7m0 0l7 7m-7-7v18"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                      stroke-width="2"
                    />
                  </svg>
                </span>
              </div>
            </th>
          </tr>
        </thead>
        <tbody
          data-testid="failed-tests-table-body"
        >
          <tr>
            <td
              colspan="7"
            >
              <div
                class="mt-16 flex flex-1 items-center justify-center"
              >
                <svg
                  class="size-3 animate-spin"
                  data-testid="spinner"
                  fill="none"
                  role="presentation"
                  viewBox="0 0 24 24"
                  xmlns="http://www.w3.org/2000/svg"
                >
                  <circle
                    class="opacity-25"
                    cx="12"
                    cy="12"
                    r="10"
                    stroke="currentColor"
                    stroke-width="4"
                  />
                  <path
                    class="opacity-75"
                    d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"
                    fill="currentColor"
                  />
                </svg>
              </div>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </div>
</body>
 ❯ waitForWrapper node_modules/@.../dom/dist/wait-for.js:163:27
 ❯ node_modules/@.../dom/dist/query-helpers.js:86:33
 ❯ .../FailedTestsPage/FailedTestsTable/FailedTestsTable.test.tsx:241:42

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@sentry

sentry Bot commented Sep 18, 2026

Copy link
Copy Markdown
Author

⚠️ Seer needs additional GitHub permissions

Seer wants to keep iterating on this pull request to get CI passing, but the Sentry GitHub App installation is missing permissions it needs to read the failing checks and push a fix.

Review and accept the updated permissions to let Seer continue: https://github.com/organizations/codecov/settings/installations/86101127/permissions/update

@codecov-public-qa

codecov-public-qa Bot commented Sep 18, 2026 •

Copy link
Copy Markdown

❌ 2 Tests Failed:

Tests completed Failed Passed Skipped
5754 2 5752 3
View the top 2 failed test(s) by shortest run time
src/pages/RepoPage/FailedTestsTab/FailedTestsPage/FailedTestsTable/FailedTestsTable.test.tsx > FailedTestsTable > renders table headers > when repo is private > when plan is free > does not render flake rate column
Stack Traces | 0.0588s run time
TestingLibraryElementError: Unable to find an element with the text: test-1. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.

Ignored nodes: comments, script, style
<body>
  <div>
    Table Header
    <div
      class="tableui"
    >
      <table>
        <colgroup>
          <col
            style="width: 40%;"
          />
          <col
            style="width: 10%;"
          />
          <col
            style="width: 10%;"
          />
          <col
            style="width: 10%;"
          />
          <col
            style="width: 10%;"
          />
          <col
            style="width: 10%;"
          />
          <col
            style="width: 10%;"
          />
        </colgroup>
        <thead>
          <tr>
            <th
              data-sortable="true"
            >
              <div
                class="flex gap-1"
              >
                Test name
                <span
                  class="text-ds-blue-darker group-hover/columnheader:opacity-100"
                  data-sort-direction="false"
                >
                  <svg
                    class="w-4 h-4"
                    data-icon=""
                    data-testid=""
                    fill="none"
                    stroke="currentColor"
                    viewBox="0 0 24 24"
                    xmlns="http://www.w3.org/2000/svg"
                  >
                    <path
                      d="M5 10l7-7m0 0l7 7m-7-7v18"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                      stroke-width="2"
                    />
                  </svg>
                </span>
              </div>
            </th>
            <th
              data-sortable="true"
            >
              <div
                class="flex gap-1 flex-row-reverse"
              >
                Avg. duration
                <span
                  class="text-ds-blue-darker group-hover/columnheader:opacity-100"
                  data-sort-direction="false"
                >
                  <svg
                    class="w-4 h-4"
                    data-icon=""
                    data-testid=""
                    fill="none"
                    stroke="currentColor"
                    viewBox="0 0 24 24"
                    xmlns="http://www.w3.org/2000/svg"
                  >
                    <path
                      d="M5 10l7-7m0 0l7 7m-7-7v18"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                      stroke-width="2"
                    />
                  </svg>
                </span>
              </div>
            </th>
            <th
              data-sortable="true"
            >
              <div
                class="flex gap-1 flex-row-reverse"
              >
                Time spent
                <span
                  class="text-ds-blue-darker group-hover/columnheader:opacity-100"
                  data-sort-direction="false"
                >
                  <svg
                    class="w-4 h-4"
                    data-icon=""
                    data-testid=""
                    fill="none"
                    stroke="currentColor"
                    viewBox="0 0 24 24"
                    xmlns="http://www.w3.org/2000/svg"
                  >
                    <path
                      d="M5 10l7-7m0 0l7 7m-7-7v18"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                      stroke-width="2"
                    />
                  </svg>
                </span>
              </div>
            </th>
            <th
              data-sortable="true"
            >
              <div
                class="flex gap-1 flex-row-reverse"
              >
                Failure rate
                <span
                  class="text-ds-blue-darker group-hover/columnheader:opacity-100"
                  data-sort-direction="false"
                >
                  <svg
                    class="w-4 h-4"
                    data-icon=""
                    data-testid=""
                    fill="none"
                    stroke="currentColor"
                    viewBox="0 0 24 24"
                    xmlns="http://www.w3.org/2000/svg"
                  >
                    <path
                      d="M5 10l7-7m0 0l7 7m-7-7v18"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                      stroke-width="2"
                    />
                  </svg>
                </span>
              </div>
            </th>
            <th
              data-sortable="true"
            >
              <div
                class="flex gap-1 flex-row-reverse"
              >
                <div
                  class="flex items-center gap-1"
                >
                  Flake rate
                  <button
                    class=""
                    data-state="closed"
                  >
                    <div
                      class="text-ds-gray-tertiary dark:text-ds-gray-quinary"
                    >
                      <svg
                        class="w-4 h-4"
                        data-icon=""
                        data-testid=""
                        fill="none"
                        stroke="currentColor"
                        viewBox="0 0 24 24"
                        xmlns="http://www.w3.org/2000/svg"
                      >
                        <path
                          d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
                          stroke-linecap="round"
                          stroke-linejoin="round"
                          stroke-width="2"
                        />
                      </svg>
                    </div>
                  </button>
                </div>
                <span
                  class="text-ds-blue-darker group-hover/columnheader:opacity-100"
                  data-sort-direction="false"
                >
                  <svg
                    class="w-4 h-4"
                    data-icon=""
                    data-testid=""
                    fill="none"
                    stroke="currentColor"
                    viewBox="0 0 24 24"
                    xmlns="http://www.w3.org/2000/svg"
                  >
                    <path
                      d="M5 10l7-7m0 0l7 7m-7-7v18"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                      stroke-width="2"
                    />
                  </svg>
                </span>
              </div>
            </th>
            <th
              data-sortable="true"
            >
              <div
                class="flex gap-1 flex-row-reverse"
              >
                Commits failed
                <span
                  class="text-ds-blue-darker group-hover/columnheader:opacity-100"
                  data-sort-direction="desc"
                >
                  <svg
                    class="w-4 h-4"
                    data-icon=""
                    data-testid=""
                    fill="none"
                    stroke="currentColor"
                    viewBox="0 0 24 24"
                    xmlns="http://www.w3.org/2000/svg"
                  >
                    <path
                      d="M5 10l7-7m0 0l7 7m-7-7v18"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                      stroke-width="2"
                    />
                  </svg>
                </span>
              </div>
            </th>
            <th
              data-sortable="true"
            >
              <div
                class="flex gap-1"
              >
                Last run
                <span
                  class="text-ds-blue-darker group-hover/columnheader:opacity-100"
                  data-sort-direction="false"
                >
                  <svg
                    class="w-4 h-4"
                    data-icon=""
                    data-testid=""
                    fill="none"
                    stroke="currentColor"
                    viewBox="0 0 24 24"
                    xmlns="http://www.w3.org/2000/svg"
                  >
                    <path
                      d="M5 10l7-7m0 0l7 7m-7-7v18"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                      stroke-width="2"
                    />
                  </svg>
                </span>
              </div>
            </th>
          </tr>
        </thead>
        <tbody
          data-testid="failed-tests-table-body"
        >
          <tr>
            <td
              colspan="7"
            >
              <div
                class="mt-16 flex flex-1 items-center justify-center"
              >
                <svg
                  class="size-3 animate-spin"
                  data-testid="spinner"
                  fill="none"
                  role="presentation"
                  viewBox="0 0 24 24"
                  xmlns="http://www.w3.org/2000/svg"
                >
                  <circle
                    class="opacity-25"
                    cx="12"
                    cy="12"
                    r="10"
                    stroke="currentColor"
                    stroke-width="4"
                  />
                  <path
                    class="opacity-75"
                    d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"
                    fill="currentColor"
                  />
                </svg>
              </div>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </div>
</body>

Ignored nodes: comments, script, style
<body>
  <div>
    Table Header
    <div
      class="tableui"
    >
      <table>
        <colgroup>
          <col
            style="width: 40%;"
          />
          <col
            style="width: 10%;"
          />
          <col
            style="width: 10%;"
          />
          <col
            style="width: 10%;"
          />
          <col
            style="width: 10%;"
          />
          <col
            style="width: 10%;"
          />
          <col
            style="width: 10%;"
          />
        </colgroup>
        <thead>
          <tr>
            <th
              data-sortable="true"
            >
              <div
                class="flex gap-1"
              >
                Test name
                <span
                  class="text-ds-blue-darker group-hover/columnheader:opacity-100"
                  data-sort-direction="false"
                >
                  <svg
                    class="w-4 h-4"
                    data-icon=""
                    data-testid=""
                    fill="none"
                    stroke="currentColor"
                    viewBox="0 0 24 24"
                    xmlns="http://www.w3.org/2000/svg"
                  >
                    <path
                      d="M5 10l7-7m0 0l7 7m-7-7v18"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                      stroke-width="2"
                    />
                  </svg>
                </span>
              </div>
            </th>
            <th
              data-sortable="true"
            >
              <div
                class="flex gap-1 flex-row-reverse"
              >
                Avg. duration
                <span
                  class="text-ds-blue-darker group-hover/columnheader:opacity-100"
                  data-sort-direction="false"
                >
                  <svg
                    class="w-4 h-4"
                    data-icon=""
                    data-testid=""
                    fill="none"
                    stroke="currentColor"
                    viewBox="0 0 24 24"
                    xmlns="http://www.w3.org/2000/svg"
                  >
                    <path
                      d="M5 10l7-7m0 0l7 7m-7-7v18"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                      stroke-width="2"
                    />
                  </svg>
                </span>
              </div>
            </th>
            <th
              data-sortable="true"
            >
              <div
                class="flex gap-1 flex-row-reverse"
              >
                Time spent
                <span
                  class="text-ds-blue-darker group-hover/columnheader:opacity-100"
                  data-sort-direction="false"
                >
                  <svg
                    class="w-4 h-4"
                    data-icon=""
                    data-testid=""
                    fill="none"
                    stroke="currentColor"
                    viewBox="0 0 24 24"
                    xmlns="http://www.w3.org/2000/svg"
                  >
                    <path
                      d="M5 10l7-7m0 0l7 7m-7-7v18"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                      stroke-width="2"
                    />
                  </svg>
                </span>
              </div>
            </th>
            <th
              data-sortable="true"
            >
              <div
                class="flex gap-1 flex-row-reverse"
              >
                Failure rate
                <span
                  class="text-ds-blue-darker group-hover/columnheader:opacity-100"
                  data-sort-direction="false"
                >
                  <svg
                    class="w-4 h-4"
                    data-icon=""
                    data-testid=""
                    fill="none"
                    stroke="currentColor"
                    viewBox="0 0 24 24"
                    xmlns="http://www.w3.org/2000/svg"
                  >
                    <path
                      d="M5 10l7-7m0 0l7 7m-7-7v18"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                      stroke-width="2"
                    />
                  </svg>
                </span>
              </div>
            </th>
            <th
              data-sortable="true"
            >
              <div
                class="flex gap-1 flex-row-reverse"
              >
                <div
                  class="flex items-center gap-1"
                >
                  Flake rate
                  <button
                    class=""
                    data-state="closed"
                  >
                    <div
                      class="text-ds-gray-tertiary dark:text-ds-gray-quinary"
                    >
                      <svg
                        class="w-4 h-4"
                        data-icon=""
                        data-testid=""
                        fill="none"
                        stroke="currentColor"
                        viewBox="0 0 24 24"
                        xmlns="http://www.w3.org/2000/svg"
                      >
                        <path
                          d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
                          stroke-linecap="round"
                          stroke-linejoin="round"
                          stroke-width="2"
                        />
                      </svg>
                    </div>
                  </button>
                </div>
                <span
                  class="text-ds-blue-darker group-hover/columnheader:opacity-100"
                  data-sort-direction="false"
                >
                  <svg
                    class="w-4 h-4"
                    data-icon=""
                    data-testid=""
                    fill="none"
                    stroke="currentColor"
                    viewBox="0 0 24 24"
                    xmlns="http://www.w3.org/2000/svg"
                  >
                    <path
                      d="M5 10l7-7m0 0l7 7m-7-7v18"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                      stroke-width="2"
                    />
                  </svg>
                </span>
              </div>
            </th>
            <th
              data-sortable="true"
            >
              <div
                class="flex gap-1 flex-row-reverse"
              >
                Commits failed
                <span
                  class="text-ds-blue-darker group-hover/columnheader:opacity-100"
                  data-sort-direction="desc"
                >
                  <svg
                    class="w-4 h-4"
                    data-icon=""
                    data-testid=""
                    fill="none"
                    stroke="currentColor"
                    viewBox="0 0 24 24"
                    xmlns="http://www.w3.org/2000/svg"
                  >
                    <path
                      d="M5 10l7-7m0 0l7 7m-7-7v18"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                      stroke-width="2"
                    />
                  </svg>
                </span>
              </div>
            </th>
            <th
              data-sortable="true"
            >
              <div
                class="flex gap-1"
              >
                Last run
                <span
                  class="text-ds-blue-darker group-hover/columnheader:opacity-100"
                  data-sort-direction="false"
                >
                  <svg
                    class="w-4 h-4"
                    data-icon=""
                    data-testid=""
                    fill="none"
                    stroke="currentColor"
                    viewBox="0 0 24 24"
                    xmlns="http://www.w3.org/2000/svg"
                  >
                    <path
                      d="M5 10l7-7m0 0l7 7m-7-7v18"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                      stroke-width="2"
                    />
                  </svg>
                </span>
              </div>
            </th>
          </tr>
        </thead>
        <tbody
          data-testid="failed-tests-table-body"
        >
          <tr>
            <td
              colspan="7"
            >
              <div
                class="mt-16 flex flex-1 items-center justify-center"
              >
                <svg
                  class="size-3 animate-spin"
                  data-testid="spinner"
                  fill="none"
                  role="presentation"
                  viewBox="0 0 24 24"
                  xmlns="http://www.w3.org/2000/svg"
                >
                  <circle
                    class="opacity-25"
                    cx="12"
                    cy="12"
                    r="10"
                    stroke="currentColor"
                    stroke-width="4"
                  />
                  <path
                    class="opacity-75"
                    d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"
                    fill="currentColor"
                  />
                </svg>
              </div>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </div>
</body>
 ❯ waitForWrapper node_modules/@.../dom/dist/wait-for.js:163:27
 ❯ node_modules/@.../dom/dist/query-helpers.js:86:33
 ❯ .../FailedTestsPage/FailedTestsTable/FailedTestsTable.test.tsx:259:42
src/pages/RepoPage/FailedTestsTab/FailedTestsPage/FailedTestsTable/FailedTestsTable.test.tsx > FailedTestsTable > renders table headers > when repo is private > when plan is team plan > does not render flake rate column
Stack Traces | 0.127s run time
TestingLibraryElementError: Unable to find an element with the text: test-1. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.

Ignored nodes: comments, script, style
<body>
  <div>
    Table Header
    <div
      class="tableui"
    >
      <table>
        <colgroup>
          <col
            style="width: 40%;"
          />
          <col
            style="width: 10%;"
          />
          <col
            style="width: 10%;"
          />
          <col
            style="width: 10%;"
          />
          <col
            style="width: 10%;"
          />
          <col
            style="width: 10%;"
          />
          <col
            style="width: 10%;"
          />
        </colgroup>
        <thead>
          <tr>
            <th
              data-sortable="true"
            >
              <div
                class="flex gap-1"
              >
                Test name
                <span
                  class="text-ds-blue-darker group-hover/columnheader:opacity-100"
                  data-sort-direction="false"
                >
                  <svg
                    class="w-4 h-4"
                    data-icon=""
                    data-testid=""
                    fill="none"
                    stroke="currentColor"
                    viewBox="0 0 24 24"
                    xmlns="http://www.w3.org/2000/svg"
                  >
                    <path
                      d="M5 10l7-7m0 0l7 7m-7-7v18"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                      stroke-width="2"
                    />
                  </svg>
                </span>
              </div>
            </th>
            <th
              data-sortable="true"
            >
              <div
                class="flex gap-1 flex-row-reverse"
              >
                Avg. duration
                <span
                  class="text-ds-blue-darker group-hover/columnheader:opacity-100"
                  data-sort-direction="false"
                >
                  <svg
                    class="w-4 h-4"
                    data-icon=""
                    data-testid=""
                    fill="none"
                    stroke="currentColor"
                    viewBox="0 0 24 24"
                    xmlns="http://www.w3.org/2000/svg"
                  >
                    <path
                      d="M5 10l7-7m0 0l7 7m-7-7v18"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                      stroke-width="2"
                    />
                  </svg>
                </span>
              </div>
            </th>
            <th
              data-sortable="true"
            >
              <div
                class="flex gap-1 flex-row-reverse"
              >
                Time spent
                <span
                  class="text-ds-blue-darker group-hover/columnheader:opacity-100"
                  data-sort-direction="false"
                >
                  <svg
                    class="w-4 h-4"
                    data-icon=""
                    data-testid=""
                    fill="none"
                    stroke="currentColor"
                    viewBox="0 0 24 24"
                    xmlns="http://www.w3.org/2000/svg"
                  >
                    <path
                      d="M5 10l7-7m0 0l7 7m-7-7v18"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                      stroke-width="2"
                    />
                  </svg>
                </span>
              </div>
            </th>
            <th
              data-sortable="true"
            >
              <div
                class="flex gap-1 flex-row-reverse"
              >
                Failure rate
                <span
                  class="text-ds-blue-darker group-hover/columnheader:opacity-100"
                  data-sort-direction="false"
                >
                  <svg
                    class="w-4 h-4"
                    data-icon=""
                    data-testid=""
                    fill="none"
                    stroke="currentColor"
                    viewBox="0 0 24 24"
                    xmlns="http://www.w3.org/2000/svg"
                  >
                    <path
                      d="M5 10l7-7m0 0l7 7m-7-7v18"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                      stroke-width="2"
                    />
                  </svg>
                </span>
              </div>
            </th>
            <th
              data-sortable="true"
            >
              <div
                class="flex gap-1 flex-row-reverse"
              >
                <div
                  class="flex items-center gap-1"
                >
                  Flake rate
                  <button
                    class=""
                    data-state="closed"
                  >
                    <div
                      class="text-ds-gray-tertiary dark:text-ds-gray-quinary"
                    >
                      <svg
                        class="w-4 h-4"
                        data-icon=""
                        data-testid=""
                        fill="none"
                        stroke="currentColor"
                        viewBox="0 0 24 24"
                        xmlns="http://www.w3.org/2000/svg"
                      >
                        <path
                          d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
                          stroke-linecap="round"
                          stroke-linejoin="round"
                          stroke-width="2"
                        />
                      </svg>
                    </div>
                  </button>
                </div>
                <span
                  class="text-ds-blue-darker group-hover/columnheader:opacity-100"
                  data-sort-direction="false"
                >
                  <svg
                    class="w-4 h-4"
                    data-icon=""
                    data-testid=""
                    fill="none"
                    stroke="currentColor"
                    viewBox="0 0 24 24"
                    xmlns="http://www.w3.org/2000/svg"
                  >
                    <path
                      d="M5 10l7-7m0 0l7 7m-7-7v18"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                      stroke-width="2"
                    />
                  </svg>
                </span>
              </div>
            </th>
            <th
              data-sortable="true"
            >
              <div
                class="flex gap-1 flex-row-reverse"
              >
                Commits failed
                <span
                  class="text-ds-blue-darker group-hover/columnheader:opacity-100"
                  data-sort-direction="desc"
                >
                  <svg
                    class="w-4 h-4"
                    data-icon=""
                    data-testid=""
                    fill="none"
                    stroke="currentColor"
                    viewBox="0 0 24 24"
                    xmlns="http://www.w3.org/2000/svg"
                  >
                    <path
                      d="M5 10l7-7m0 0l7 7m-7-7v18"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                      stroke-width="2"
                    />
                  </svg>
                </span>
              </div>
            </th>
            <th
              data-sortable="true"
            >
              <div
                class="flex gap-1"
              >
                Last run
                <span
                  class="text-ds-blue-darker group-hover/columnheader:opacity-100"
                  data-sort-direction="false"
                >
                  <svg
                    class="w-4 h-4"
                    data-icon=""
                    data-testid=""
                    fill="none"
                    stroke="currentColor"
                    viewBox="0 0 24 24"
                    xmlns="http://www.w3.org/2000/svg"
                  >
                    <path
                      d="M5 10l7-7m0 0l7 7m-7-7v18"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                      stroke-width="2"
                    />
                  </svg>
                </span>
              </div>
            </th>
          </tr>
        </thead>
        <tbody
          data-testid="failed-tests-table-body"
        >
          <tr>
            <td
              colspan="7"
            >
              <div
                class="mt-16 flex flex-1 items-center justify-center"
              >
                <svg
                  class="size-3 animate-spin"
                  data-testid="spinner"
                  fill="none"
                  role="presentation"
                  viewBox="0 0 24 24"
                  xmlns="http://www.w3.org/2000/svg"
                >
                  <circle
                    class="opacity-25"
                    cx="12"
                    cy="12"
                    r="10"
                    stroke="currentColor"
                    stroke-width="4"
                  />
                  <path
                    class="opacity-75"
                    d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"
                    fill="currentColor"
                  />
                </svg>
              </div>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </div>
</body>

Ignored nodes: comments, script, style
<body>
  <div>
    Table Header
    <div
      class="tableui"
    >
      <table>
        <colgroup>
          <col
            style="width: 40%;"
          />
          <col
            style="width: 10%;"
          />
          <col
            style="width: 10%;"
          />
          <col
            style="width: 10%;"
          />
          <col
            style="width: 10%;"
          />
          <col
            style="width: 10%;"
          />
          <col
            style="width: 10%;"
          />
        </colgroup>
        <thead>
          <tr>
            <th
              data-sortable="true"
            >
              <div
                class="flex gap-1"
              >
                Test name
                <span
                  class="text-ds-blue-darker group-hover/columnheader:opacity-100"
                  data-sort-direction="false"
                >
                  <svg
                    class="w-4 h-4"
                    data-icon=""
                    data-testid=""
                    fill="none"
                    stroke="currentColor"
                    viewBox="0 0 24 24"
                    xmlns="http://www.w3.org/2000/svg"
                  >
                    <path
                      d="M5 10l7-7m0 0l7 7m-7-7v18"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                      stroke-width="2"
                    />
                  </svg>
                </span>
              </div>
            </th>
            <th
              data-sortable="true"
            >
              <div
                class="flex gap-1 flex-row-reverse"
              >
                Avg. duration
                <span
                  class="text-ds-blue-darker group-hover/columnheader:opacity-100"
                  data-sort-direction="false"
                >
                  <svg
                    class="w-4 h-4"
                    data-icon=""
                    data-testid=""
                    fill="none"
                    stroke="currentColor"
                    viewBox="0 0 24 24"
                    xmlns="http://www.w3.org/2000/svg"
                  >
                    <path
                      d="M5 10l7-7m0 0l7 7m-7-7v18"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                      stroke-width="2"
                    />
                  </svg>
                </span>
              </div>
            </th>
            <th
              data-sortable="true"
            >
              <div
                class="flex gap-1 flex-row-reverse"
              >
                Time spent
                <span
                  class="text-ds-blue-darker group-hover/columnheader:opacity-100"
                  data-sort-direction="false"
                >
                  <svg
                    class="w-4 h-4"
                    data-icon=""
                    data-testid=""
                    fill="none"
                    stroke="currentColor"
                    viewBox="0 0 24 24"
                    xmlns="http://www.w3.org/2000/svg"
                  >
                    <path
                      d="M5 10l7-7m0 0l7 7m-7-7v18"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                      stroke-width="2"
                    />
                  </svg>
                </span>
              </div>
            </th>
            <th
              data-sortable="true"
            >
              <div
                class="flex gap-1 flex-row-reverse"
              >
                Failure rate
                <span
                  class="text-ds-blue-darker group-hover/columnheader:opacity-100"
                  data-sort-direction="false"
                >
                  <svg
                    class="w-4 h-4"
                    data-icon=""
                    data-testid=""
                    fill="none"
                    stroke="currentColor"
                    viewBox="0 0 24 24"
                    xmlns="http://www.w3.org/2000/svg"
                  >
                    <path
                      d="M5 10l7-7m0 0l7 7m-7-7v18"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                      stroke-width="2"
                    />
                  </svg>
                </span>
              </div>
            </th>
            <th
              data-sortable="true"
            >
              <div
                class="flex gap-1 flex-row-reverse"
              >
                <div
                  class="flex items-center gap-1"
                >
                  Flake rate
                  <button
                    class=""
                    data-state="closed"
                  >
                    <div
                      class="text-ds-gray-tertiary dark:text-ds-gray-quinary"
                    >
                      <svg
                        class="w-4 h-4"
                        data-icon=""
                        data-testid=""
                        fill="none"
                        stroke="currentColor"
                        viewBox="0 0 24 24"
                        xmlns="http://www.w3.org/2000/svg"
                      >
                        <path
                          d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
                          stroke-linecap="round"
                          stroke-linejoin="round"
                          stroke-width="2"
                        />
                      </svg>
                    </div>
                  </button>
                </div>
                <span
                  class="text-ds-blue-darker group-hover/columnheader:opacity-100"
                  data-sort-direction="false"
                >
                  <svg
                    class="w-4 h-4"
                    data-icon=""
                    data-testid=""
                    fill="none"
                    stroke="currentColor"
                    viewBox="0 0 24 24"
                    xmlns="http://www.w3.org/2000/svg"
                  >
                    <path
                      d="M5 10l7-7m0 0l7 7m-7-7v18"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                      stroke-width="2"
                    />
                  </svg>
                </span>
              </div>
            </th>
            <th
              data-sortable="true"
            >
              <div
                class="flex gap-1 flex-row-reverse"
              >
                Commits failed
                <span
                  class="text-ds-blue-darker group-hover/columnheader:opacity-100"
                  data-sort-direction="desc"
                >
                  <svg
                    class="w-4 h-4"
                    data-icon=""
                    data-testid=""
                    fill="none"
                    stroke="currentColor"
                    viewBox="0 0 24 24"
                    xmlns="http://www.w3.org/2000/svg"
                  >
                    <path
                      d="M5 10l7-7m0 0l7 7m-7-7v18"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                      stroke-width="2"
                    />
                  </svg>
                </span>
              </div>
            </th>
            <th
              data-sortable="true"
            >
              <div
                class="flex gap-1"
              >
                Last run
                <span
                  class="text-ds-blue-darker group-hover/columnheader:opacity-100"
                  data-sort-direction="false"
                >
                  <svg
                    class="w-4 h-4"
                    data-icon=""
                    data-testid=""
                    fill="none"
                    stroke="currentColor"
                    viewBox="0 0 24 24"
                    xmlns="http://www.w3.org/2000/svg"
                  >
                    <path
                      d="M5 10l7-7m0 0l7 7m-7-7v18"
                      stroke-linecap="round"
                      stroke-linejoin="round"
                      stroke-width="2"
                    />
                  </svg>
                </span>
              </div>
            </th>
          </tr>
        </thead>
        <tbody
          data-testid="failed-tests-table-body"
        >
          <tr>
            <td
              colspan="7"
            >
              <div
                class="mt-16 flex flex-1 items-center justify-center"
              >
                <svg
                  class="size-3 animate-spin"
                  data-testid="spinner"
                  fill="none"
                  role="presentation"
                  viewBox="0 0 24 24"
                  xmlns="http://www.w3.org/2000/svg"
                >
                  <circle
                    class="opacity-25"
                    cx="12"
                    cy="12"
                    r="10"
                    stroke="currentColor"
                    stroke-width="4"
                  />
                  <path
                    class="opacity-75"
                    d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"
                    fill="currentColor"
                  />
                </svg>
              </div>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </div>
</body>
 ❯ waitForWrapper node_modules/@.../dom/dist/wait-for.js:163:27
 ❯ node_modules/@.../dom/dist/query-helpers.js:86:33
 ❯ .../FailedTestsPage/FailedTestsTable/FailedTestsTable.test.tsx:241:42

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@codecov-releaser

Copy link
Copy Markdown
Collaborator

✅ Deploy preview for gazebo ready!

Previews expire after 1 month automatically.

Storybook

Commit Created Cloud Enterprise
f1575ee Fri, 18 Sep 2026 13:03:17 GMT Cloud Enterprise

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant