Skip to content

Release v7.0.0

Release v7.0.0 #1903

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / Jest Unit Test Results failed Oct 13, 2023 in 0s

9 fail, 4 skipped, 1 215 pass in 12m 34s

       1 files     220 suites   12m 34s ⏱️
1 228 tests 1 215 ✔️ 4 💤 9
1 239 runs  1 226 ✔️ 4 💤 9

Results for commit 5f5c281.

Annotations

Check warning on line 0 in FileItem component should render the doc icon in the heading

See this annotation in the file changed.

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

FileItem component should render the doc icon in the heading (FileItem component should render the doc icon in the heading) failed

artifacts/jest-junit/junit.xml
Raw output
TestingLibraryElementError: Unable to find an element with the text: Icon. 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>
    <div
      class="fileItem fileItemUploading"
      data-test-file-item="true"
    >
      <div
        class="fileItemHeader"
      >
        <span
          class="fileIcon"
        >
          <span
            class="icon"
            role="presentation"
          >
            <svg
              class="stripes__icon icon-document small"
              data-test-icon-element="true"
              focusable="false"
              viewBox="0 0 32 32"
              xmlns="http://www.w3.org/2000/svg"
            >
              <polygon
                points="0,100 50,25 50,75 100,0"
              />
            </svg>
          </span>
        </span>
        <span
          class="fileItemHeaderName"
        >
          test_file
        </span>
      </div>
      <div
        class="progress"
        data-test-progress-bar="true"
        data-testid="progress-bar"
      >
        <div
          class="progressWrapper"
        >
          <div
            class="progressCurrent"
            data-testid="progress-current"
            style="width: 0%;"
          />
        </div>
        <div
          class="progressInfo"
          data-testid="progress-info"
        >
          Uploading
           0%
        </div>
      </div>
    </div>
  </div>
</body>
    at Object.getElementError (/home/runner/work/ui-data-import/ui-data-import/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/config.js:37:19)
    at /home/runner/work/ui-data-import/ui-data-import/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:76:38
    at /home/runner/work/ui-data-import/ui-data-import/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
    at /home/runner/work/ui-data-import/ui-data-import/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
    at Object.getByText (/home/runner/work/ui-data-import/ui-data-import/src/components/UploadingJobsDisplay/components/FileItem/FileItem.test.js:64:12)
    at Promise.then.completed (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/run.js:316:40)
    at _runTest (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-runner/build/runTest.js:444:34)

Check warning on line 0 in MARCBibDetails view component should have correct sections

See this annotation in the file changed.

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

MARCBibDetails view component should have correct sections (MARCBibDetails view component should have correct sections) failed

artifacts/jest-junit/junit.xml
Raw output
TestingLibraryElementError: Unable to find an accessible element with the role "button" and name `/icon field mapping · marc bibliographic · updates/i`

Here are the accessible roles:

  heading:

  Name "Field mapping · MARC Bibliographic · Updates":
  <h3
    class="headline size-medium margin-none font-weight-bold block"
    data-test-headline="true"
  />

  Name "Field mapping · MARC Bibliographic · Override protected fields":
  <h3
    class="headline size-medium margin-none font-weight-bold block"
    data-test-headline="true"
  />

  --------------------------------------------------
  button:

  Name "Field mapping · MARC Bibliographic · Updates":
  <button
    aria-controls="accordion11"
    aria-expanded="true"
    class="defaultCollapseButton"
    id="accordion-toggle-button-view-field-mappings-for-marc-updates"
    type="button"
  />

  Name "Field mapping · MARC Bibliographic · Override protected fields":
  <button
    aria-controls="accordion12"
    aria-expanded="false"
    class="defaultCollapseButton"
    id="accordion-toggle-button-override-protected-section"
    type="button"
  />

  --------------------------------------------------
  presentation:

  Name "":
  <span
    class="icon"
    role="presentation"
  />

  Name "":
  <span
    class="icon"
    role="presentation"
  />

  --------------------------------------------------
  region:

  Name "Field mapping · MARC Bibliographic · Updates":
  <div
    aria-labelledby="accordion-toggle-button-view-field-mappings-for-marc-updates"
    class="content-region expanded"
    data-test-accordion-wrapper="true"
    id="accordion11"
    role="region"
  />

  Name "Field mapping · MARC Bibliographic · Override protected fields":
  <div
    aria-labelledby="accordion-toggle-button-override-protected-section"
    class="content-region"
    data-test-accordion-wrapper="true"
    id="accordion12"
    role="region"
  />

  --------------------------------------------------

Ignored nodes: comments, script, style
<body>
  <div>
    <div>
      <section
        class="accordion"
        data-test-accordion-section="true"
        id="view-field-mappings-for-marc-updates"
      >
        <div
          class="headerWrapper"
          tabindex="-1"
        >
          <div
            class="header default"
          >
            <h3
              class="headline size-medium margin-none font-weight-bold block"
              data-test-headline="true"
            >
              <button
                aria-controls="accordion11"
                aria-expanded="true"
                class="defaultCollapseButton"
                id="accordion-toggle-button-view-field-mappings-for-marc-updates"
                type="button"
              >
                <span
                  class="headerInner"
                >
                  <span
                    class="defaultHeaderIcon"
                  >
                    <span
                      class="icon"
                      role="presentation"
                    >
                      <svg
                        class="stripes__icon icon-caret-up small"
                        data-test-icon-element="true"
                        focusable="false"
                        viewBox="0 0 32 32"
                        xmlns="http://www.w3.org/2000/svg"
                      >
                        <polygon
                          points="0,100 50,25 50,75 100,0"
                        />
                      </svg>
                    </span>
                  </span>
                  <div
                    class="labelArea"
                  >
                    <div
                      class="headline size-large margin-none font-weight-bold"
                      data-test-headline="true"
                    >
                      Field mapping
                       · 
                      MARC Bibliographic
                       · 
                      Updates
                    </div>
                  </div>
                </span>
              </button>
            </h3>
          </div>
        </div>
        <div
          class="content-wrap expanded"
          style="z-index: 1;"
        >
          <div
            aria-labelledby="accordion-toggle-button-view-field-mappings-for-marc-updates"
            class="content-region expanded"
            data-test-accordion-wrapper="true"
            id="accordion11"
            role="region"
          >
            <span
              data-test-no-value="true"
            >
              <span
                class="sr-only"
              >
                No value set
              </span>
              <span
                aria-hidden="true"
              >
                -
              </span>
            </span>
          </div>
        </div>
      </section>
      <section
        class="accordion"
        data-test-accordion-section="true"
        id="override-protected-section"
      >
        <div
          class="headerWrapper"
          tabindex="-1"
        >
          <div
            class="header default"
          >
            <h3
              class="headline size-medium margin-none font-weight-bold block"
              data-test-headline="true"
            >
              <button
                aria-controls="accordion12"
                aria-expanded="false"
                class="defaultCollapseButton"
                id="accordion-toggle-button-override-protected-section"
                type="button"
              >
                <span
                  class="headerInner"
                >
                  <span
                    class="defaultHeaderIcon"
                  >
                    <span
                      class="icon"
                      role="presentation"
                    >
                      <svg
                        class="stripes__icon icon-caret-down small"
                        data-test-icon-element="true"
                        focusable="false"
                        viewBox="0 0 32 32"
                        xmlns="http://www.w3.org/2000/svg"
                      >
                        <polygon
                          points="0,100 50,25 50,75 100,0"
                        />
                      </svg>
                    </span>
                  </span>
                  <div
                    class="labelArea"
                  >
                    <div
                      class="headline size-large margin-none font-weight-bold"
                      data-test-headline="true"
                    >
                      Field mapping
                       · 
                      MARC Bibliographic
                       · 
                      Override protected fields
                    </div>
                  </div>
                </span>
              </button>
            </h3>
          </div>
        </div>
        <div
          class="content-wrap"
          style="z-index: 1;"
        >
          <div
            aria-labelledby="accordion-toggle-button-override-protected-section"
            class="content-region"
            data-test-accordion-wrapper="true"
            id="accordion12"
            role="region"
          >
            <div
              class="row between-xs"
              style="margin: 0px;"
            >
              <div
                class=""
              />
            </div>
            <div
              class="mclEmptyMessage"
              style="min-width: 200px;"
              tabindex="0"
            >
              <div
                style="margin: -1rem;"
              >
                <span
                  data-test-no-value="true"
                >
                  <span
                    class="sr-only"
                  >
                    No value set
                  </span>
                  <span
                    aria-hidden="true"
                  >
                    -
                  </span>
                </span>
              </div>
            </div>
          </div>
        </div>
      </section>
    </div>
  </div>
</body>
    at Object.getElementError (/home/runner/work/ui-data-import/ui-data-import/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/config.js:37:19)
    at /home/runner/work/ui-data-import/ui-data-import/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:76:38
    at /home/runner/work/ui-data-import/ui-data-import/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
    at /home/runner/work/ui-data-import/ui-data-import/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
    at Object.getByRole (/home/runner/work/ui-data-import/ui-data-import/src/settings/MappingProfiles/detailsSections/view/tests/MappingMARCBibDetails.test.js:49:12)
    at Promise.then.completed (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/run.js:316:40)
    at _runTest (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-runner/build/runTest.js:444:34)

Check warning on line 0 in MappingMARCBibDetails edit component when field mappings for MARC is "Updates" should have correct fields

See this annotation in the file changed.

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

MappingMARCBibDetails edit component when field mappings for MARC is "Updates" should have correct fields (MappingMARCBibDetails edit component when field mappings for MARC is "Updates" should have correct fields) failed

artifacts/jest-junit/junit.xml
Raw output
Error: Unable to find role="button" and name `/icon field mapping · marc bibliographic · updates/i`

Ignored nodes: comments, script, style
<body>
  <div>
    <div>
      <section
        class="accordion"
        data-test-accordion-section="true"
        id="edit-field-mappings-for-marc-updates"
      >
        <div
          class="headerWrapper"
          tabindex="-1"
        >
          <div
            class="header default"
          >
            <h3
              class="headline size-medium margin-none font-weight-bold block"
              data-test-headline="true"
            >
              <button
                aria-controls="accordion11"
                aria-expanded="true"
                class="defaultCollapseButton"
                id="accordion-toggle-button-edit-field-mappings-for-marc-updates"
                type="button"
              >
                <span
                  class="headerInner"
                >
                  <span
                    class="defaultHeaderIcon"
                  >
                    <span
                      class="icon"
                      role="presentation"
                    >
                      <svg
                        class="stripes__icon icon-caret-up small"
                        data-test-icon-element="true"
                        focusable="false"
                        viewBox="0 0 32 32"
                        xmlns="http://www.w3.org/2000/svg"
                      >
                        <polygon
                          points="0,100 50,25 50,75 100,0"
                        />
                      </svg>
                    </span>
                  </span>
                  <div
                    class="labelArea"
                  >
                    <div
                      class="headline size-large margin-none font-weight-bold"
                      data-test-headline="true"
                    >
                      Field mapping
                       · 
                      MARC Bibliographic
                       · 
                      Updates
                    </div>
                  </div>
                </span>
              </button>
            </h3>
          </div>
        </div>
        <div
          class="content-wrap expanded"
          style="z-index: 1;"
        >
          <div
            aria-labelledby="accordion-toggle-button-edit-field-mappings-for-marc-updates"
            class="content-region expanded"
            data-test-accordion-wrapper="true"
            id="accordion11"
            role="region"
          >
            <div
              style="padding-top: 10px;"
            >
              If updates should only affect specific fields, add them here
            </div>
            <button
              class="button default marginBottom0 addFieldButton"
              type="button"
            >
              <span
                class="inner"
              >
                Add field
              </span>
            </button>
          </div>
        </div>
      </section>
      <section
        class="accordion"
        data-test-accordion-section="true"
        id="edit-override-protected-section"
      >
        <div
          class="headerWrapper"
          tabindex="-1"
        >
          <div
            class="header default"
          >
            <h3
              class="headline size-medium margin-none font-weight-bold block"
              data-test-headline="true"
            >
              <button
                aria-controls="accordion12"
                aria-expanded="true"
                class="defaultCollapseButton"
                id="accordion-toggle-button-edit-override-protected-section"
                type="button"
              >
                <span
                  class="headerInner"
                >
                  <span
                    class="defaultHeaderIcon"
                  >
                    <span
                      class="icon"
                      role="presentation"
                    >
                      <svg
                        class="stripes__icon icon-caret-up small"
                        data-test-icon-element="true"
                        focusable="false"
                        viewBox="0 0 32 32"
                        xmlns="http://www.w3.org/2000/svg"
                      >
                        <polygon
                          points="0,100 50,25 50,75 100,0"
                        />
                      </svg>
                    </span>
                  </span>
                  <div
                    class="labelArea"
                  >
                    <div
                      class="headline size-large margin-none font-weight-bold"
                      data-test-headline="true"
                    >
                      Field mapping
                       · 
                      MARC Bibliographic
                       · 
                      Override protected fields
                    </div>
                  </div>
                </span>
              </button>
            </h3>
          </div>
        </div>
        <div
          class="content-wrap expanded"
          style="z-index: 1;"
        >
          <div
            aria-labelledby="accordion-toggle-button-edit-override-protected-section"
            class="content-region expanded"
            data-test-accordion-wrapper="true"
            id="accordion12"
            role="region"
          >
            <div
              class="row between-xs"
              style="margin: 0px;"
            >
              <div
                class=""
              />
            </div>
            <div
              class="mclEmptyMessage"
              style="min-width: 200px;"
              tabindex="0"
            >
              <div
                style="margin: -1rem;"
              >
                The library has not defined any protected fields
              </div>
            </div>
          </div>
        </div>
      </section>
    </div>
  </div>
</body>
    at waitForWrapper (/home/runner/work/ui-data-import/ui-data-import/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/wait-for.js:162:27)
    at /home/runner/work/ui-data-import/ui-data-import/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:86:33
    at findByRole (/home/runner/work/ui-data-import/ui-data-import/src/settings/MappingProfiles/detailsSections/edit/tests/MappingMARCBibDetails.test.js:56:20)
    at tryCatch (/home/runner/work/ui-data-import/ui-data-import/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
    at Generator.<anonymous> (/home/runner/work/ui-data-import/ui-data-import/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
    at Generator.next (/home/runner/work/ui-data-import/ui-data-import/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
    at asyncGeneratorStep (/home/runner/work/ui-data-import/ui-data-import/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
    at _next (/home/runner/work/ui-data-import/ui-data-import/node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:9)
    at /home/runner/work/ui-data-import/ui-data-import/node_modules/@babel/runtime/helpers/asyncToGenerator.js:27:7
    at new Promise (<anonymous>)
    at Object.<anonymous> (/home/runner/work/ui-data-import/ui-data-import/node_modules/@babel/runtime/helpers/asyncToGenerator.js:19:12)
    at Promise.then.completed (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/run.js:316:40)
    at _runTest (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-runner/build/runTest.js:444:34)

Check warning on line 0 in MappingMARCBibDetails edit component when field mappings for MARC is "Modifications" should have correct fields

See this annotation in the file changed.

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

MappingMARCBibDetails edit component when field mappings for MARC is "Modifications" should have correct fields (MappingMARCBibDetails edit component when field mappings for MARC is "Modifications" should have correct fields) failed

artifacts/jest-junit/junit.xml
Raw output
Error: Unable to find role="button" and name `/icon field mapping · marc bibliographic · modifications/i`

Ignored nodes: comments, script, style
<body>
  <div>
    <div>
      <section
        class="accordion"
        data-test-accordion-section="true"
        id="edit-field-mappings-for-marc-modifications"
      >
        <div
          class="headerWrapper"
          tabindex="-1"
        >
          <div
            class="header default"
          >
            <h3
              class="headline size-medium margin-none font-weight-bold block"
              data-test-headline="true"
            >
              <button
                aria-controls="accordion40"
                aria-expanded="true"
                class="defaultCollapseButton"
                id="accordion-toggle-button-edit-field-mappings-for-marc-modifications"
                type="button"
              >
                <span
                  class="headerInner"
                >
                  <span
                    class="defaultHeaderIcon"
                  >
                    <span
                      class="icon"
                      role="presentation"
                    >
                      <svg
                        class="stripes__icon icon-caret-up small"
                        data-test-icon-element="true"
                        focusable="false"
                        viewBox="0 0 32 32"
                        xmlns="http://www.w3.org/2000/svg"
                      >
                        <polygon
                          points="0,100 50,25 50,75 100,0"
                        />
                      </svg>
                    </span>
                  </span>
                  <div
                    class="labelArea"
                  >
                    <div
                      class="headline size-large margin-none font-weight-bold"
                      data-test-headline="true"
                    >
                      Field mapping
                       · 
                      MARC Bibliographic
                       · 
                      Modifications
                    </div>
                  </div>
                </span>
              </button>
            </h3>
          </div>
        </div>
        <div
          class="content-wrap expanded"
          style="z-index: 1;"
        >
          <div
            aria-labelledby="accordion-toggle-button-edit-field-mappings-for-marc-modifications"
            class="content-region expanded"
            data-test-accordion-wrapper="true"
            id="accordion40"
            role="region"
          >
            <div
              class="tableContainer"
              data-test-marc-table="true"
            >
              <div
                class="tableHeader"
              >
                <div
                  class="tableHeaderCell"
                  data-test-marc-table-column-header="true"
                  style="width: 70px;"
                />
                <div
                  class="tableHeaderCell"
                  data-test-marc-table-column-header="true"
                  style="width: 100px;"
                >
                  Action
                </div>
                <div
                  class="tableHeaderCell"
                  data-test-marc-table-column-header="true"
                  style="width: 120px;"
                >
                  Field
                </div>
                <div
                  class="tableHeaderCell"
                  data-test-marc-table-column-header="true"
                  style="width: 93px;"
                >
                  In.1
                </div>
                <div
                  class="tableHeaderCell"
                  data-test-marc-table-column-header="true"
                  style="width: 93px;"
                >
                  In.2
                </div>
                <div
                  class="tableHeaderCell"
                  data-test-marc-table-column-header="true"
                  style="width: 93px;"
                >
                  Subfield
                </div>
                <div
                  class="tableHeaderCell"
                  data-test-marc-table-column-header="true"
                  style="width: 140px;"
                >
                  Subaction
                </div>
                <div
                  class="tableHeaderCell"
                  data-test-marc-table-column-header="true"
                  style="width: 340px; flex-grow: 1;"
                >
                  Data
                </div>
                <div
                  class="tableHeaderCell"
                  data-test-marc-table-column-header="true"
                  style="width: 140px;"
                >
                  Position
                </div>
                <div
                  class="tableHeaderCell"
                  data-test-marc-table-column-header="true"
                  style="width: 70px;"
...
    at waitForWrapper (/home/runner/work/ui-data-import/ui-data-import/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/wait-for.js:162:27)
    at /home/runner/work/ui-data-import/ui-data-import/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:86:33
    at findByRole (/home/runner/work/ui-data-import/ui-data-import/src/settings/MappingProfiles/detailsSections/edit/tests/MappingMARCBibDetails.test.js:112:20)
    at tryCatch (/home/runner/work/ui-data-import/ui-data-import/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
    at Generator.<anonymous> (/home/runner/work/ui-data-import/ui-data-import/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
    at Generator.next (/home/runner/work/ui-data-import/ui-data-import/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
    at asyncGeneratorStep (/home/runner/work/ui-data-import/ui-data-import/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
    at _next (/home/runner/work/ui-data-import/ui-data-import/node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:9)
    at /home/runner/work/ui-data-import/ui-data-import/node_modules/@babel/runtime/helpers/asyncToGenerator.js:27:7
    at new Promise (<anonymous>)
    at Object.<anonymous> (/home/runner/work/ui-data-import/ui-data-import/node_modules/@babel/runtime/helpers/asyncToGenerator.js:19:12)
    at Promise.then.completed (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/run.js:316:40)
    at _runTest (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-runner/build/runTest.js:444:34)

Check warning on line 0 in FieldOrganization component when clear icon clicked should clear the input

See this annotation in the file changed.

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

FieldOrganization component when clear icon clicked should clear the input (FieldOrganization component when clear icon clicked should clear the input) failed

artifacts/jest-junit/junit.xml
Raw output
TestingLibraryElementError: Unable to find an element with the text: Icon. 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>
    <div>
      <div
        class="textField"
      >
        <label
          class="label"
          for="org"
        >
          FieldOrganization label
        </label>
        <div
          class="formControl inputGroup"
        >
          <input
            aria-invalid="false"
            aria-required="false"
            autocapitalize="off"
            autocomplete="off"
            autocorrect="off"
            error=""
            id="org"
            name="org"
            spellcheck="false"
            type="text"
            value="\"org 1\""
            warning=""
          />
          <div
            class="endControls"
          >
            <div
              class="controlGroup"
            >
              <button
                aria-label="times-circle-solid"
                class="iconButton small"
                icon="times-circle-solid"
                type="button"
              >
                <span
                  class="iconButtonInner smallOffset"
                >
                  <span
                    class="icon icon"
                    role="presentation"
                  >
                    <svg
                      class="stripes__icon icon-times-circle-solid medium"
                      data-test-icon-element="true"
                      focusable="false"
                      viewBox="0 0 32 32"
                      xmlns="http://www.w3.org/2000/svg"
                    >
                      <polygon
                        points="0,100 50,25 50,75 100,0"
                      />
                    </svg>
                  </span>
                </span>
              </button>
            </div>
          </div>
        </div>
        <div
          role="alert"
        />
      </div>
      <div>
        Organization look-up is not supported
      </div>
    </div>
  </div>
</body>
    at Object.getElementError (/home/runner/work/ui-data-import/ui-data-import/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/config.js:37:19)
    at /home/runner/work/ui-data-import/ui-data-import/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:76:38
    at /home/runner/work/ui-data-import/ui-data-import/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
    at /home/runner/work/ui-data-import/ui-data-import/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
    at getByText (/home/runner/work/ui-data-import/ui-data-import/src/components/FieldOrganization/FieldOrganization.test.js:98:25)
    at tryCatch (/home/runner/work/ui-data-import/ui-data-import/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
    at Generator.<anonymous> (/home/runner/work/ui-data-import/ui-data-import/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
    at Generator.next (/home/runner/work/ui-data-import/ui-data-import/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
    at asyncGeneratorStep (/home/runner/work/ui-data-import/ui-data-import/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
    at _next (/home/runner/work/ui-data-import/ui-data-import/node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:9)

Check warning on line 0 in ProfileLinker component when clicking on linker button dropdown should be expanded

See this annotation in the file changed.

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

ProfileLinker component when clicking on linker button dropdown should be expanded (ProfileLinker component when clicking on linker button dropdown should be expanded) failed

artifacts/jest-junit/junit.xml
Raw output
TestingLibraryElementError: Unable to find an element with the text: Icon. 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>
    <div
      data-test-plus-sign-button="true"
    >
      <div
        class="linker-button dropdown relative"
        id="type-selector-dropdown-testId"
      >
        <button
          aria-expanded="false"
          aria-haspopup="true"
          aria-labelledby="type-selector-trigger-testId-text"
          class="button default"
          type="button"
        >
          <span
            class="inner"
          >
            <span
              class="icon"
              role="presentation"
            >
              <svg
                class="stripes__icon icon-plus-sign medium"
                data-test-icon-element="true"
                focusable="false"
                viewBox="0 0 32 32"
                xmlns="http://www.w3.org/2000/svg"
              >
                <polygon
                  points="0,100 50,25 50,75 100,0"
                />
              </svg>
            </span>
          </span>
        </button>
        <div
          data-test-linker-tooltip-text="true"
        >
          <span
            class="sr-only"
            data-test-tooltip-proximity-element="true"
          >
            <span
              id="type-selector-trigger-testId-text"
              role="tooltip"
            >
              Click here to get started
            </span>
          </span>
        </div>
        <div
          style="display: none;"
        >
          <div
            aria-label="Available Profile types"
            class="DropdownMenu"
            placement="bottom-end"
            style="left: 0px; display: none;"
          >
            <section
              aria-labelledby="menu-actions-type-selector-menu-testId-label"
              class="menuSection"
              data-test-menu-section="true"
              id="menu-actions-type-selector-menu-testId"
            >
              <h3
                class="headline size-small margin-none isFaded font-weight-bold menuSection__label"
                data-test-headline="true"
                data-test-menu-section-label="true"
                id="menu-actions-type-selector-menu-testId-label"
              >
                Add
              </h3>
              <div
                role="menu"
              >
                <button
                  aria-haspopup="true"
                  class="button dropdownItem marginBottom0 linker-button"
                  data-test-plugin-find-record-button="true"
                  id="menu-link-match-type-selector-menu-testId-button-find-import-profile-matchProfiles"
                  role="menuitem"
                  type="button"
                >
                  <span
                    class="inner"
                  >
                    <span
                      class="appIcon small icon-alignment-center"
                    >
                      <span
                        aria-hidden="true"
                        class="icon"
                      />
                      <span
                        class="label"
                      >
                        Match
                      </span>
                    </span>
                  </span>
                </button>
                <button
                  aria-haspopup="true"
                  class="button dropdownItem marginBottom0 linker-button"
                  data-test-plugin-find-record-button="true"
                  id="menu-link-action-type-selector-menu-testId-button-find-import-profile-actionProfiles"
                  role="menuitem"
                  type="button"
                >
                  <span
                    class="inner"
                  >
                    <span
                      class="appIcon small icon-alignment-center"
                    >
                      <span
                        aria-hidden="true"
                        class="icon"
                      />
                      <span
                        class="label"
                      >
                        Action
                      </span>
                    </span>
                  </span>
                </button>
              </div>
            </section>
          </div>
        </div>
      </div>
    </div>
    <div
      style="display: none;"
    >
      <span
        data-test-no-plugin-available="true"
      >
        Find Import Profile Plugin is not available now
      </span>
      <span
        data-test-no-plugin-available="true"
      >
        Find Import Profile Plugin is not available now
      </span>
    </div>
  </div>
</body>
    at Object.getElementError (/home/runner/work/ui-data-import/ui-data-import/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/config.js:37:19)
    at /home/runner/work/ui-data-import/ui-data-import/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:76:38
    at /home/runner/work/ui-data-import/ui-data-import/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
    at /home/runner/work/ui-data-import/ui-data-import/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
    at Object.getByText (/home/runner/work/ui-data-import/ui-data-import/src/components/ProfileTree/ProfileLinker/ProfileLinker.test.js:88:23)
    at Promise.then.completed (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/run.js:316:40)
    at _runTest (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-runner/build/runTest.js:444:34)

Check warning on line 0 in ProfileLinker component when clicking on linker button dropdown should be collapsed

See this annotation in the file changed.

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

ProfileLinker component when clicking on linker button dropdown should be collapsed (ProfileLinker component when clicking on linker button dropdown should be collapsed) failed

artifacts/jest-junit/junit.xml
Raw output
TestingLibraryElementError: Unable to find an element with the text: Icon. 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>
    <div
      data-test-plus-sign-button="true"
    >
      <div
        class="linker-button dropdown relative"
        id="type-selector-dropdown-testId"
      >
        <button
          aria-expanded="false"
          aria-haspopup="true"
          aria-labelledby="type-selector-trigger-testId-text"
          class="button default"
          type="button"
        >
          <span
            class="inner"
          >
            <span
              class="icon"
              role="presentation"
            >
              <svg
                class="stripes__icon icon-plus-sign medium"
                data-test-icon-element="true"
                focusable="false"
                viewBox="0 0 32 32"
                xmlns="http://www.w3.org/2000/svg"
              >
                <polygon
                  points="0,100 50,25 50,75 100,0"
                />
              </svg>
            </span>
          </span>
        </button>
        <div
          data-test-linker-tooltip-text="true"
        >
          <span
            class="sr-only"
            data-test-tooltip-proximity-element="true"
          >
            <span
              id="type-selector-trigger-testId-text"
              role="tooltip"
            >
              Click here to get started
            </span>
          </span>
        </div>
        <div
          style="display: none;"
        >
          <div
            aria-label="Available Profile types"
            class="DropdownMenu"
            placement="bottom-end"
            style="left: 0px; display: none;"
          >
            <section
              aria-labelledby="menu-actions-type-selector-menu-testId-label"
              class="menuSection"
              data-test-menu-section="true"
              id="menu-actions-type-selector-menu-testId"
            >
              <h3
                class="headline size-small margin-none isFaded font-weight-bold menuSection__label"
                data-test-headline="true"
                data-test-menu-section-label="true"
                id="menu-actions-type-selector-menu-testId-label"
              >
                Add
              </h3>
              <div
                role="menu"
              >
                <button
                  aria-haspopup="true"
                  class="button dropdownItem marginBottom0 linker-button"
                  data-test-plugin-find-record-button="true"
                  id="menu-link-match-type-selector-menu-testId-button-find-import-profile-matchProfiles"
                  role="menuitem"
                  type="button"
                >
                  <span
                    class="inner"
                  >
                    <span
                      class="appIcon small icon-alignment-center"
                    >
                      <span
                        aria-hidden="true"
                        class="icon"
                      />
                      <span
                        class="label"
                      >
                        Match
                      </span>
                    </span>
                  </span>
                </button>
                <button
                  aria-haspopup="true"
                  class="button dropdownItem marginBottom0 linker-button"
                  data-test-plugin-find-record-button="true"
                  id="menu-link-action-type-selector-menu-testId-button-find-import-profile-actionProfiles"
                  role="menuitem"
                  type="button"
                >
                  <span
                    class="inner"
                  >
                    <span
                      class="appIcon small icon-alignment-center"
                    >
                      <span
                        aria-hidden="true"
                        class="icon"
                      />
                      <span
                        class="label"
                      >
                        Action
                      </span>
                    </span>
                  </span>
                </button>
              </div>
            </section>
          </div>
        </div>
      </div>
    </div>
    <div
      style="display: none;"
    >
      <span
        data-test-no-plugin-available="true"
      >
        Find Import Profile Plugin is not available now
      </span>
      <span
        data-test-no-plugin-available="true"
      >
        Find Import Profile Plugin is not available now
      </span>
    </div>
  </div>
</body>
    at Object.getElementError (/home/runner/work/ui-data-import/ui-data-import/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/config.js:37:19)
    at /home/runner/work/ui-data-import/ui-data-import/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:76:38
    at /home/runner/work/ui-data-import/ui-data-import/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
    at /home/runner/work/ui-data-import/ui-data-import/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
    at Object.getByText (/home/runner/work/ui-data-import/ui-data-import/src/components/ProfileTree/ProfileLinker/ProfileLinker.test.js:97:23)
    at Promise.then.completed (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/run.js:316:40)
    at _runTest (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-runner/build/runTest.js:444:34)

Check warning on line 0 in MappingMARCAuthorityDetails view component should have correct section

See this annotation in the file changed.

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

MappingMARCAuthorityDetails view component should have correct section (MappingMARCAuthorityDetails view component should have correct section) failed

artifacts/jest-junit/junit.xml
Raw output
TestingLibraryElementError: Unable to find an accessible element with the role "button" and name `/icon field mapping · marc authority · override protected fields/i`

Here are the accessible roles:

  heading:

  Name "Field mapping · MARC Authority · Override protected fields":
  <h3
    class="headline size-medium margin-none font-weight-bold block"
    data-test-headline="true"
  />

  --------------------------------------------------
  button:

  Name "Field mapping · MARC Authority · Override protected fields":
  <button
    aria-controls="accordion7"
    aria-expanded="true"
    class="defaultCollapseButton"
    id="accordion-toggle-button-edit-override-protected-section"
    type="button"
  />

  --------------------------------------------------
  presentation:

  Name "":
  <span
    class="icon"
    role="presentation"
  />

  --------------------------------------------------
  region:

  Name "Field mapping · MARC Authority · Override protected fields":
  <div
    aria-labelledby="accordion-toggle-button-edit-override-protected-section"
    class="content-region expanded"
    data-test-accordion-wrapper="true"
    id="accordion7"
    role="region"
  />

  --------------------------------------------------

Ignored nodes: comments, script, style
<body>
  <div>
    <div>
      <section
        class="accordion"
        data-test-accordion-section="true"
        id="edit-override-protected-section"
      >
        <div
          class="headerWrapper"
          tabindex="-1"
        >
          <div
            class="header default"
          >
            <h3
              class="headline size-medium margin-none font-weight-bold block"
              data-test-headline="true"
            >
              <button
                aria-controls="accordion7"
                aria-expanded="true"
                class="defaultCollapseButton"
                id="accordion-toggle-button-edit-override-protected-section"
                type="button"
              >
                <span
                  class="headerInner"
                >
                  <span
                    class="defaultHeaderIcon"
                  >
                    <span
                      class="icon"
                      role="presentation"
                    >
                      <svg
                        class="stripes__icon icon-caret-up small"
                        data-test-icon-element="true"
                        focusable="false"
                        viewBox="0 0 32 32"
                        xmlns="http://www.w3.org/2000/svg"
                      >
                        <polygon
                          points="0,100 50,25 50,75 100,0"
                        />
                      </svg>
                    </span>
                  </span>
                  <div
                    class="labelArea"
                  >
                    <div
                      class="headline size-large margin-none font-weight-bold"
                      data-test-headline="true"
                    >
                      Field mapping
                       · 
                      MARC Authority
                       · 
                      Override protected fields
                    </div>
                  </div>
                </span>
              </button>
            </h3>
          </div>
        </div>
        <div
          class="content-wrap expanded"
          style="z-index: 1;"
        >
          <div
            aria-labelledby="accordion-toggle-button-edit-override-protected-section"
            class="content-region expanded"
            data-test-accordion-wrapper="true"
            id="accordion7"
            role="region"
          >
            <div
              class="row between-xs"
              style="margin: 0px;"
            >
              <div
                class=""
              />
            </div>
            <div
              class="mclEmptyMessage"
              style="min-width: 200px;"
              tabindex="0"
            >
              <div
                style="margin: -1rem;"
              >
                The library has not defined any protected fields
              </div>
            </div>
          </div>
        </div>
      </section>
    </div>
  </div>
</body>
    at Object.getElementError (/home/runner/work/ui-data-import/ui-data-import/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/config.js:37:19)
    at /home/runner/work/ui-data-import/ui-data-import/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:76:38
    at /home/runner/work/ui-data-import/ui-data-import/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
    at /home/runner/work/ui-data-import/ui-data-import/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
    at Object.getByRole (/home/runner/work/ui-data-import/ui-data-import/src/settings/MappingProfiles/detailsSections/view/tests/MappingMARCAuthorityDetails.test.js:39:12)
    at Promise.then.completed (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/run.js:316:40)
    at _runTest (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-runner/build/runTest.js:444:34)

Check warning on line 0 in MappingMARCAuthorityDetails edit component when field mappings for MARC is "Updates" should have correct fields

See this annotation in the file changed.

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

MappingMARCAuthorityDetails edit component when field mappings for MARC is "Updates" should have correct fields (MappingMARCAuthorityDetails edit component when field mappings for MARC is "Updates" should have correct fields) failed

artifacts/jest-junit/junit.xml
Raw output
Error: Unable to find role="button" and name `/icon field mapping · marc authority · override protected fields/i`

Ignored nodes: comments, script, style
<body>
  <div>
    <div>
      <section
        class="accordion"
        data-test-accordion-section="true"
        id="edit-override-protected-section"
      >
        <div
          class="headerWrapper"
          tabindex="-1"
        >
          <div
            class="header default"
          >
            <h3
              class="headline size-medium margin-none font-weight-bold block"
              data-test-headline="true"
            >
              <button
                aria-controls="accordion7"
                aria-expanded="true"
                class="defaultCollapseButton"
                id="accordion-toggle-button-edit-override-protected-section"
                type="button"
              >
                <span
                  class="headerInner"
                >
                  <span
                    class="defaultHeaderIcon"
                  >
                    <span
                      class="icon"
                      role="presentation"
                    >
                      <svg
                        class="stripes__icon icon-caret-up small"
                        data-test-icon-element="true"
                        focusable="false"
                        viewBox="0 0 32 32"
                        xmlns="http://www.w3.org/2000/svg"
                      >
                        <polygon
                          points="0,100 50,25 50,75 100,0"
                        />
                      </svg>
                    </span>
                  </span>
                  <div
                    class="labelArea"
                  >
                    <div
                      class="headline size-large margin-none font-weight-bold"
                      data-test-headline="true"
                    >
                      Field mapping
                       · 
                      MARC Authority
                       · 
                      Override protected fields
                    </div>
                  </div>
                </span>
              </button>
            </h3>
          </div>
        </div>
        <div
          class="content-wrap expanded"
          style="z-index: 1;"
        >
          <div
            aria-labelledby="accordion-toggle-button-edit-override-protected-section"
            class="content-region expanded"
            data-test-accordion-wrapper="true"
            id="accordion7"
            role="region"
          >
            <div
              class="row between-xs"
              style="margin: 0px;"
            >
              <div
                class=""
              >
                <div
                  style="padding: 10px;"
                >
                  Field protections can be applied to MARC Authority records via this profile, but default field protections 
                  <b>
                    cannot
                  </b>
                   be overridden
                </div>
              </div>
            </div>
            <div
              class="mclEmptyMessage"
              style="min-width: 200px;"
              tabindex="0"
            >
              <div
                style="margin: -1rem;"
              >
                The library has not defined any protected fields
              </div>
            </div>
          </div>
        </div>
      </section>
    </div>
  </div>
</body>
    at waitForWrapper (/home/runner/work/ui-data-import/ui-data-import/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/wait-for.js:162:27)
    at /home/runner/work/ui-data-import/ui-data-import/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:86:33
    at findByRole (/home/runner/work/ui-data-import/ui-data-import/src/settings/MappingProfiles/detailsSections/edit/tests/MappingMARCAuthorityDetails.test.js:44:20)
    at tryCatch (/home/runner/work/ui-data-import/ui-data-import/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
    at Generator.<anonymous> (/home/runner/work/ui-data-import/ui-data-import/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
    at Generator.next (/home/runner/work/ui-data-import/ui-data-import/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
    at asyncGeneratorStep (/home/runner/work/ui-data-import/ui-data-import/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
    at _next (/home/runner/work/ui-data-import/ui-data-import/node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:9)
    at /home/runner/work/ui-data-import/ui-data-import/node_modules/@babel/runtime/helpers/asyncToGenerator.js:27:7
    at new Promise (<anonymous>)
    at Object.<anonymous> (/home/runner/work/ui-data-import/ui-data-import/node_modules/@babel/runtime/helpers/asyncToGenerator.js:19:12)
    at Promise.then.completed (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/run.js:316:40)
    at _runTest (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-runner/build/runTest.js:444:34)