Skip to content

ERM-3344, Move GitHub actions to shared workflows, refs, ERM-3336 #1

ERM-3344, Move GitHub actions to shared workflows, refs, ERM-3336

ERM-3344, Move GitHub actions to shared workflows, refs, ERM-3336 #1

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

2 fail, 261 pass in 1m 55s

  1 files   37 suites   1m 55s ⏱️
263 tests 261 ✅ 0 💤 2 ❌
270 runs  268 ✅ 0 💤 2 ❌

Results for commit f35e566.

Annotations

Check warning on line 0 in OrganizationSelectionDisplay choosing an organization role option

See this annotation in the file changed.

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

OrganizationSelectionDisplay choosing an organization role option (OrganizationSelectionDisplay choosing an organization role option) failed

artifacts/jest-junit/junit.xml [took 1s]
Raw output
NoSuchElementError: did not find selection with id "stripes-selection-8", did you mean one of:

┃ id: "stripes-selection-8" ┃ visible: true ┃
┣━━━━━━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━━┫
┃ ⨯ "selection-:re:"        ┃ ✓ true        ┃
    at throwNoSuchElementError (/home/runner/work/stripes-erm-components/stripes-erm-components/node_modules/@interactors/core/src/resolvers.ts:34:11)
    at findFirstMatch (/home/runner/work/stripes-erm-components/stripes-erm-components/node_modules/@interactors/core/src/resolvers.ts:47:3)
    at resolveFirst (/home/runner/work/stripes-erm-components/stripes-erm-components/node_modules/@interactors/core/src/resolvers.ts:80:10)
    at /home/runner/work/stripes-erm-components/stripes-erm-components/node_modules/@interactors/core/src/constructor.ts:116:23
    at converge (/home/runner/work/stripes-erm-components/stripes-erm-components/node_modules/@interactors/core/src/converge.ts:9:14)
    at converge.next (<anonymous>)
    at /home/runner/work/stripes-erm-components/stripes-erm-components/node_modules/@effection/core/src/controller/iterator-controller.ts:61:29
    at /home/runner/work/stripes-erm-components/stripes-erm-components/node_modules/@effection/core/src/controller/iterator-controller.ts:36:16
    at Object.run (/home/runner/work/stripes-erm-components/stripes-erm-components/node_modules/@effection/core/src/run-loop.ts:24:15)
    at resume (/home/runner/work/stripes-erm-components/stripes-erm-components/node_modules/@effection/core/src/controller/iterator-controller.ts:33:21)
    at trap (/home/runner/work/stripes-erm-components/stripes-erm-components/node_modules/@effection/core/src/controller/iterator-controller.ts:61:7)
    at run (/home/runner/work/stripes-erm-components/stripes-erm-components/node_modules/@effection/core/src/future.ts:104:11)
    at Object.run (/home/runner/work/stripes-erm-components/stripes-erm-components/node_modules/@effection/core/src/run-loop.ts:24:15)
    at produce (/home/runner/work/stripes-erm-components/stripes-erm-components/node_modules/@effection/core/src/future.ts:115:15)
    at finalize (/home/runner/work/stripes-erm-components/stripes-erm-components/node_modules/@effection/core/src/task.ts:514:5)
    at /home/runner/work/stripes-erm-components/stripes-erm-components/node_modules/@effection/core/src/task.ts:462:5
    at run (/home/runner/work/stripes-erm-components/stripes-erm-components/node_modules/@effection/core/src/future.ts:104:11)
    at Object.run (/home/runner/work/stripes-erm-components/stripes-erm-components/node_modules/@effection/core/src/run-loop.ts:24:15)
    at produce (/home/runner/work/stripes-erm-components/stripes-erm-components/node_modules/@effection/core/src/future.ts:115:15)
    at /home/runner/work/stripes-erm-components/stripes-erm-components/node_modules/@effection/core/src/controller/delegate-controller.ts:23:7
    at run (/home/runner/work/stripes-erm-components/stripes-erm-components/node_modules/@effection/core/src/future.ts:104:11)
    at Object.run (/home/runner/work/stripes-erm-components/stripes-erm-components/node_modules/@effection/core/src/run-loop.ts:24:15)
    at produce (/home/runner/work/stripes-erm-components/stripes-erm-components/node_modules/@effection/core/src/future.ts:115:15)
    at run (/home/runner/work/stripes-erm-components/stripes-erm-components/node_modules/@effection/core/src/future.ts:104:11)
    at Object.run (/home/runner/work/stripes-erm-components/stripes-erm-components/node_modules/@effection/core/src/run-loop.ts:24:15)
    at produce (/home/runner/work/stripes-erm-components/stripes-erm-components/node_modules/@effection/core/src/future.ts:115:15)
    at resolve (/home/runner/work/stripes-erm-components/stripes-erm-components/node_modules/@effection/core/src/future.ts:145:28)
    at Timeout.task (/home/runner/work/stripes-erm-components/stripes-erm-components/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/browser/Window.js:520:19)
    at listOnTimeout (node:internal/timers:581:17)
    at processTimers (node:internal/timers:519:7)

Check warning on line 0 in Tags renders expected open menu button

See this annotation in the file changed.

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

Tags renders expected open menu button (Tags renders expected open menu button ) failed

artifacts/jest-junit/junit.xml [took 0s]
Raw output
TestingLibraryElementError: Unable to find an accessible element with the role "button" and name "open menu"

Here are the accessible roles:

  region:

  Name "Tags 0 Tags":
  <div
    aria-labelledby="paneHeader5-pane-title"
    class="paneHeader---"
    data-test-pane-header="true"
    id="paneHeader5"
    role="region"
    tabindex="-1"
  />

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

  Name "Close":
  <button
    aria-label="Close "
    class="iconButton--- medium--- paneHeaderCloseIcon--- PaneHeaderIconButton--- paneHeaderIconButton---"
    data-test-pane-header-dismiss-button="true"
    icon="times"
    type="button"
  />

  Name "stripes-components.multiSelection.dropdownTriggerLabel":
  <button
    aria-controls="multiselect-option-list-input-tag"
    aria-expanded="false"
    aria-label="stripes-components.multiSelection.dropdownTriggerLabel"
    class="multiSelectToggleButton---"
    id="downshift-:r5:-toggle-button"
    tabindex="-1"
    type="button"
  />

  --------------------------------------------------
  heading:

  Name "Tags":
  <h2
    class="paneTitle---"
    data-test-pane-header-title="true"
  />

  --------------------------------------------------
  application:

  Name "":
  <div
    aria-expanded="false"
    class="multiSelectContainer---"
    id="input-tag"
    role="application"
  />

  --------------------------------------------------
  searchbox:

  Name "0 items selected":
  <div
    aria-describedby="multi-describe-control-input-tag"
    aria-labelledby="multi-value-status-input-tag"
    class="multiSelectControl--- formControl---"
    role="searchbox"
    tabindex="0"
  />

  --------------------------------------------------
  combobox:

  Name "stripes-smart-components.tagsTextArea":
  <input
    aria-activedescendant=""
    aria-autocomplete="list"
    aria-controls="multiselect-option-list-input-tag"
    aria-expanded="false"
    aria-labelledby="input-tag-label"
    autocomplete="off"
    class="multiSelectFilterField---"
    id="input-tag-input"
    placeholder="stripes-smart-components.enterATag"
    role="combobox"
    type="text"
    value=""
  />

  --------------------------------------------------
  alert:

  Name "":
  <div
    role="alert"
  />

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

Ignored nodes: comments, script, style
<body>
  <div>
    <section
      class="pane--- focusIndicator---"
      style="flex: 0 0 20%;"
    >
      <div
        aria-labelledby="paneHeader5-pane-title"
        class="paneHeader---"
        data-test-pane-header="true"
        id="paneHeader5"
        role="region"
        tabindex="-1"
      >
        <div
          class="paneHeaderButtonsArea--- first---"
        >
          <div
            class="paneMenu---"
          >
            <button
              aria-label="Close "
              class="iconButton--- medium--- paneHeaderCloseIcon--- PaneHeaderIconButton--- paneHeaderIconButton---"
              data-test-pane-header-dismiss-button="true"
              icon="times"
              type="button"
            >
              <span
                class="iconButtonInner--- mediumOffset--- PaneHeaderIconButton__inner---"
                data-test-pane-header-dismiss-button="true"
              >
                <span>
                  <span />
                </span>
              </span>
            </button>
          </div>
        </div>
        <div
          class="paneHeaderCenter---"
        >
          <div
            class="paneHeaderCenterInner---"
            id="paneHeader5-pane-title"
          >
            <h2
              class="paneTitle---"
              data-test-pane-header-title="true"
            >
              <span
                class="paneTitleLabel---"
              >
                Tags
              </span>
            </h2>
            <p
              class="paneSub---"
              data-test-pane-header-sub="true"
              id="paneHeader5-subtitle"
            >
              <span>
                0 Tags
              </span>
            </p>
          </div>
        </div>
      </div>
      <div
        class="paneContent--- hasPadding---"
        id="5-content"
        tabindex="-1"
      >
        <div
          aria-expanded="false"
          class="multiSelectContainer---"
          id="input-tag"
          role="application"
        >
          <div
            aria-live="assertive"
            aria-relevant="additions"
            class="sr-only"
          />
          <label
            class="label--- sr-only"
            for="input-tag-input"
            id="input-tag-label"
          >
            stripes-smart-components.tagsTextArea
          </label>
          <span
            class="sr-only"
            id="multi-value-status-input-tag"
          >
            0 items selected
          </span>
          <span
            class="sr-only"
            id="multi-describe-control-input-tag"
          >
            Contains a list of any selected values, followed by an autocomplete textfield for selecting additional values.
          </span>
          <div
            class="multiSelectControlWrapper---"
          >
            <div
              aria-describedby="multi-describe-control-input-tag"
              aria-labelledby="multi-value-status-input-tag"
              class="multiSelectControl--- formControl---"
              role="searchbox"
              tabindex="0"
            >
              <div
                class="multiSelectControlGroup---"
              >
                <input
                  aria-activedescendant=""
                  aria-autocomplete="list"
                  aria-controls="multiselect-option-list-input-tag"
                  aria-expanded="false"
                  aria-labelledby="input-tag-label"
                  autocomplete="off"
                  class="multiSelectFilterField---"
                  id="input-tag-input"
                  placeholder="stripes-smart-components.enterATag"
                  role="combobox"
                  type="text"
                  value=""
                />
                <input
                  aria-hidden="true"
                  class="multiSelectValueInput---"
                  id="multiselect-input-input-tag"
                  tabindex="-1"
                  value=""
                />
              </div>
              <button
                aria-controls="multiselect-option-list-input-tag"
                aria-expanded="false"
                aria-label="stripes-components.multiSelection.dropdownTriggerLabel"
                class="multiSelectToggleButton---"
                id="downshift-:r5:-toggle-button"
                tabindex="-1"
                type="button"
              >
                <div
                  class="textFieldIcon---"
                >
                  <span>
                    <span />
                  </span>
                </div>
              </button>
            </div>
            <div
              class="multiSelectMenu---"
              hidden=""
              style="width: 100px;"
            >
              <div
                class="multiSelectFeedback---"
                role="alert"
              >
                <div
                  class="multiSelectEmptyMessage---"
                >
                   
                </div>
              </div>
              <ul
                aria-labelledby="input-tag-label"
                class="multiSelectOptionList---"
                id="multiselect-option-list-input-tag"
                role="listbox"
                style="max-height: 168px;"
              />
            </div>
          </div>
          <div
            role="alert"
          />
        </div>
      </div>
    </section>
    <div
      id="OverlayContainer"
    >
      <div
        class="callout---"
        data-test-callout="true"
      >
        <div
          aria-live="polite"
          aria-relevant="additions"
          class="calloutContainer---"
        />
      </div>
    </div>
     
  </div>
</body>
    at Object.getElementError (/home/runner/work/stripes-erm-components/stripes-erm-components/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/config.js:37:19)
    at /home/runner/work/stripes-erm-components/stripes-erm-components/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:76:38
    at /home/runner/work/stripes-erm-components/stripes-erm-components/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
    at /home/runner/work/stripes-erm-components/stripes-erm-components/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
    at Object.getByRole (/home/runner/work/stripes-erm-components/stripes-erm-components/lib/Tags/Tags.test.js:46:12)
    at Promise.then.completed (/home/runner/work/stripes-erm-components/stripes-erm-components/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/stripes-erm-components/stripes-erm-components/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/stripes-erm-components/stripes-erm-components/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/stripes-erm-components/stripes-erm-components/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/stripes-erm-components/stripes-erm-components/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/stripes-erm-components/stripes-erm-components/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/stripes-erm-components/stripes-erm-components/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/stripes-erm-components/stripes-erm-components/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/stripes-erm-components/stripes-erm-components/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/stripes-erm-components/stripes-erm-components/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/stripes-erm-components/stripes-erm-components/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/stripes-erm-components/stripes-erm-components/node_modules/jest-runner/build/testWorker.js:106:12)