Skip to content

STDTC-116: Add showSortIndicator prop to JobLogs component #569

STDTC-116: Add showSortIndicator prop to JobLogs component

STDTC-116: Add showSortIndicator prop to JobLogs component #569

GitHub Actions / Jest Unit Test Results failed Sep 5, 2024 in 0s

1 fail, 199 pass in 1m 50s

    1 files    46 suites   1m 50s ⏱️
200 tests 199 ✔️ 0 💤 1
205 runs  204 ✔️ 0 💤 1

Results for commit dd80a88.

Annotations

Check warning on line 0 in SearchResults rendering search results with content data empty and API request pending should display preloader

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

SearchResults rendering search results with content data empty and API request pending should display preloader (SearchResults rendering search results with content data empty and API request pending should display preloader) failed

artifacts/jest-junit/junit.xml
Raw output
TestingLibraryElementError: Unable to find an element by: [data-testid="preloader"]

Ignored nodes: comments, script, style
<body>
  <div>
    <div
      style="height: 300px; width: 600px;"
    >
      <div
        class="mclContainer"
        style="position: relative; overflow: hidden; height: 500px; width: 500px;"
        tabindex="-1"
      >
        <div
          aria-live="assertive"
          aria-relevant="additions"
          class="sr-only"
        />
        <div
          aria-rowcount="0"
          class=""
          data-total-count="0"
          id="search-results-list"
          role="grid"
          tabindex="0"
        >
          <div
            class="mclHeaderContainer"
          >
            <div
              aria-rowindex="1"
              class="mclHeaderRow"
              role="row"
              style="display: flex;"
            >
              <div
                aria-sort="none"
                class="mclHeader"
                id="list-column-name"
                role="columnheader"
                style="flex: 0 0 auto;"
              >
                name
              </div>
              <div
                aria-sort="none"
                class="mclHeader"
                id="list-column-description"
                role="columnheader"
                style="flex: 0 0 auto;"
              >
                description
              </div>
            </div>
          </div>
          <div
            class="mclScrollable"
            style="position: static; overflow: auto; height: 500px; width: 100%;"
            tabindex="0"
          >
            <div
              class="mclRowContainer"
              role="rowgroup"
              style="position: relative; width: 500px; height: 480px;"
            >
              <div
                class="mclLoaderRow"
                data-loader-row-index="0"
                style="height: 0px;"
              >
                <div
                  class="mclRow mclIsOdd"
                  data-loader="true"
                  style="height: 0px;"
                >
                  <div
                    class="mclCell"
                    style="display: flex; flex-basis: auto;"
                  >
                    <div
                      class="mclRowPlaceholder"
                    />
                  </div>
                  <div
                    class="mclCell"
                    style="display: flex; flex-basis: auto;"
                  >
                    <div
                      class="mclRowPlaceholder"
                    />
                  </div>
                </div>
              </div>
              <div
                class="mclEndOfListContainer"
                data-end-of-list="1"
                style="top: 30.8px;"
              >
                <div
                  class="mclCenteredContainer"
                  style="visibility: hidden; height: 0px; padding: 0px; width: 0px;"
                >
                  <div
                    class="textCentered"
                    data-test-layout="true"
                  >
                    <div
                      class="mclEndOfList"
                      data-test-layout="true"
                    >
                      <span
                        class="icon icon-position-start"
                        role="presentation"
                      >
                        <span
                          class="stripes__icon icon-end-mark medium"
                          data-test-icon-element="true"
                          focusable="false"
                          viewbox="0 0 32 32"
                        />
                        <span
                          class="label"
                        >
                          stripes-components.endOfList
                        </span>
                      </span>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
          <div
            class="mclContentLoadingRow"
          >
            <div
              class="mclContentLoading"
            >
              <span
                class="icon"
                role="presentation"
              >
                <span
                  class="stripes__icon icon-spinner-ellipsis medium"
                  data-test-icon-element="true"
                  focusable="false"
                  viewbox="0 0 32 32"
                />
              </span>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</body>
    at Object.getElementError (/home/runner/work/stripes-data-transfer-components/stripes-data-transfer-components/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/config.js:37:19)
    at /home/runner/work/stripes-data-transfer-components/stripes-data-transfer-components/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:76:38
    at /home/runner/work/stripes-data-transfer-components/stripes-data-transfer-components/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
    at getByTestId (/home/runner/work/stripes-data-transfer-components/stripes-data-transfer-components/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:95:19)
    at Object.<anonymous> (/home/runner/work/stripes-data-transfer-components/stripes-data-transfer-components/lib/SearchResults/SearchResults.test.js:96:21)
    at Object.asyncJestTest (/home/runner/work/stripes-data-transfer-components/stripes-data-transfer-components/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37)
    at /home/runner/work/stripes-data-transfer-components/stripes-data-transfer-components/node_modules/jest-jasmine2/build/queueRunner.js:45:12
    at new Promise (<anonymous>)
    at mapper (/home/runner/work/stripes-data-transfer-components/stripes-data-transfer-components/node_modules/jest-jasmine2/build/queueRunner.js:28:19)
    at /home/runner/work/stripes-data-transfer-components/stripes-data-transfer-components/node_modules/jest-jasmine2/build/queueRunner.js:75:41
    at processTicksAndRejections (node:internal/process/task_queues:95:5)