Skip to content

test: Lines routing test #75

test: Lines routing test

test: Lines routing test #75

GitHub Actions / Jest Unit Test Results failed Nov 4, 2024 in 0s

1 fail, 1 044 pass in 4m 13s

    1 files    156 suites   4m 13s ⏱️
1 045 tests 1 044 ✅ 0 💤 1 ❌
1 052 runs  1 051 ✅ 0 💤 1 ❌

Results for commit 1b0d066.

Annotations

Check warning on line 0 in Lines opening actions menu renders ColumnManagerMenu component

See this annotation in the file changed.

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

Lines opening actions menu renders ColumnManagerMenu component (Lines opening actions menu renders ColumnManagerMenu component) failed

artifacts/jest-junit/junit.xml [took 1s]
Raw output
Error: Unable to find an element with the text: ColumnManagerMenu. 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>
    <section
      class="accordion--- hasSeparator---"
      data-test-accordion-section="true"
      id="acc22"
    >
      <div
        style="width: 100%; display: flex;"
        tabindex="-1"
      >
        <div
          class="headerWrapper---"
        >
          <div
            class="header--- default---"
          >
            <h3
              class="headline--- size-medium--- margin-none--- font-weight-bold--- block---"
              data-test-headline="true"
            >
              <button
                aria-controls="accordion21"
                aria-expanded="true"
                class="defaultCollapseButton---"
                id="accordion-toggle-button-acc22"
                type="button"
              >
                <span
                  class="headerInner---"
                >
                  <span
                    class="defaultHeaderIcon---"
                  >
                    <span>
                      <span />
                    </span>
                  </span>
                  <div
                    class="labelArea---"
                  >
                    Agreement lines
                  </div>
                </span>
              </button>
            </h3>
          </div>
          <div
            class="headerDefaultContentRight---"
          >
            <div
              class="dropdown---"
              data-testid="line-listing-action-dropdown"
            >
              <button
                aria-expanded="true"
                aria-haspopup="true"
                class="button--- primary---"
                type="button"
              >
                <span
                  class="inner---"
                >
                  <span>
                    <span>
                      Actions
                    </span>
                  </span>
                </span>
              </button>
              <div
                class="sr-only"
                data-focus-exclude="true"
                data-focus-first="true"
                style=""
                tabindex="0"
              />
            </div>
            <span
              class="badge--- default--- medium---"
            >
              <span
                class="label---"
              >
                2
              </span>
            </span>
          </div>
        </div>
      </div>
      <div
        class="content-wrap--- expanded---"
        style="z-index: 1;"
      >
        <div
          aria-labelledby="accordion-toggle-button-acc22"
          class="content-region--- expanded---"
          data-test-accordion-wrapper="true"
          id="accordion21"
          role="region"
        >
          <div>
            LinesList
          </div>
          <div>
            CoveredEResourcesList
          </div>
        </div>
      </div>
    </section>
    <div
      id="OverlayContainer"
    >
      <div
        class="callout---"
        data-test-callout="true"
      >
        <div
          aria-live="polite"
          aria-relevant="additions"
          class="calloutContainer---"
        />
      </div>
      <div
        class="overlay---"
        data-test-dropdown-menu-overlay="true"
        style="position: absolute; transform: translate3d(NaNpx, NaNpx, 0); top: 0px; left: 0px; will-change: transform;"
        tabindex="-1"
        x-placement="bottom"
      >
        <div
          class="sr-only"
          data-focus-exclude="true"
          data-reverse-proxy="true"
          tabindex="0"
        />
        <div
          class="DropdownMenu---"
          style="left: 0px; display: block;"
        >
          <a
            class="button--- dropdownItem---"
            href="/erm/agreements/fbf2721d-4e51-4d0c-b574-290448ef6505/line/create"
            id="add-agreement-line-button"
            role="button"
          >
            <span>
              <span>
                New agreement line
              </span>
            </span>
          </a>
          <a
            class="button--- dropdownItem---"
            href="/erm/agreementLines?filters=agreement.fbf2721d-4e51-4d0c-b574-290448ef6505"
            id="agreement-line-search"
            role="button"
          >
            <span>
              <span>
                View in agreement lines search
              </span>
            </span>
          </a>
          <section
            aria-labelledby="line-listing-columns-menu-section-label"
            class="menuSection---"
            data-test-column-manager-menu="true"
            data-test-menu-section="true"
            id="line-listing-co...
    at waitForWrapper (/home/runner/work/ui-agreements/ui-agreements/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/wait-for.js:163:27)
    at Object.<anonymous> (/home/runner/work/ui-agreements/ui-agreements/src/components/AgreementSections/Lines/Lines.test.js:85:20)
    at Promise.then.completed (/home/runner/work/ui-agreements/ui-agreements/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/ui-agreements/ui-agreements/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/ui-agreements/ui-agreements/node_modules/jest-circus/build/run.js:316:40)
    at _runTest (/home/runner/work/ui-agreements/ui-agreements/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/ui-agreements/ui-agreements/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-agreements/ui-agreements/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-agreements/ui-agreements/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/ui-agreements/ui-agreements/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/ui-agreements/ui-agreements/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/ui-agreements/ui-agreements/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/ui-agreements/ui-agreements/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/ui-agreements/ui-agreements/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/ui-agreements/ui-agreements/node_modules/jest-runner/build/testWorker.js:106:12)