Skip to content

UIDATIMP-1688: Rename permission after refactoring request for gettin… #2913

UIDATIMP-1688: Rename permission after refactoring request for gettin…

UIDATIMP-1688: Rename permission after refactoring request for gettin… #2913

GitHub Actions / Jest Unit Test Results failed Dec 11, 2024 in 0s

4 fail, 5 skipped, 1 246 pass in 11m 8s

       1 files     226 suites   11m 8s ⏱️
1 255 tests 1 246 ✔️ 5 💤 4
1 266 runs  1 257 ✔️ 5 💤 4

Results for commit 088778a.

Annotations

Check warning on line 0 in ExistingSectionFolio edit component should render data options

See this annotation in the file changed.

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

ExistingSectionFolio edit component should render data options (ExistingSectionFolio edit component should render data options) failed

artifacts/jest-junit/junit.xml
Raw output
TestingLibraryElementError: Unable to find an element with the text: test label1. 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="container field inputContainer"
    >
      <h3
        class="headline size-large margin-none font-weight-bold label"
        data-test-headline="true"
      >
        test field label
      </h3>
      <div
        class="content "
      >
        <div
          class="row"
        >
          <div
            class="col-xs-12"
          >
            <div
              class="selectionOuter"
            >
              <div
                class="selectionControlContainer"
              >
                <div
                  class="inputGroup"
                >
                  <button
                    aria-controls="downshift-:r3:-menu"
                    aria-expanded="false"
                    aria-labelledby="sl-label-criterion-value-type selected-criterion-value-type-item"
                    class="selectionControl formControl"
                    id="criterion-value-type"
                    name="profile.matchDetails[0].existingMatchExpression.fields[0].value"
                    type="button"
                  >
                    <span
                      class="sr-only"
                    >
                      Select control
                    </span>
                    <div
                      class="singleValue"
                      id="selected-criterion-value-type-item"
                    />
                  </button>
                  <div
                    class="selectionEndControls"
                  >
                    <div
                      class="textFieldIcon"
                    >
                      <span>
                        Icon
                        <span />
                      </span>
                    </div>
                  </div>
                </div>
                <div
                  role="alert"
                />
              </div>
              <div
                class="overlay"
                hidden=""
              >
                <div
                  class="selectionListRoot"
                  id="sl-container-criterion-value-type"
                  style="width: 0px;"
                >
                  <div
                    class="selectionFilterContainer"
                  >
                    <input
                      aria-activedescendant=""
                      aria-autocomplete="list"
                      aria-controls="downshift-:r3:-menu"
                      aria-expanded="false"
                      aria-label=" options filter"
                      aria-labelledby="downshift-:r3:-label"
                      autocomplete="off"
                      class="selectionFilter"
                      id="downshift-:r3:-input"
                      placeholder="Filter options list"
                      role="combobox"
                      type="text"
                      value=""
                    />
                  </div>
                  <ul
                    aria-labelledby="sl-label-criterion-value-type"
                    class="selectionList"
                    id="downshift-:r3:-menu"
                    role="listbox"
                    style="max-height: 174px;"
                    tabindex="-1"
                  />
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </section>
  </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/MatchCriterion/edit/ExistingRecordSections/ExistingSectionFolio.test.js:85: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)
    at Object.worker (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-runner/build/testWorker.js:106:12)

Check warning on line 0 in ExistingSectionFolio edit component when clicking on options element with correct data, single value shouldn't be added

See this annotation in the file changed.

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

ExistingSectionFolio edit component when clicking on options element with correct data, single value shouldn't be added (ExistingSectionFolio edit component when clicking on options element with correct data, single value shouldn't be added) failed

artifacts/jest-junit/junit.xml
Raw output
TestingLibraryElementError: Unable to find an element with the text: test label1. 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="container field inputContainer"
    >
      <h3
        class="headline size-large margin-none font-weight-bold label"
        data-test-headline="true"
      >
        test field label
      </h3>
      <div
        class="content "
      >
        <div
          class="row"
        >
          <div
            class="col-xs-12"
          >
            <div
              class="selectionOuter"
            >
              <div
                class="selectionControlContainer"
              >
                <div
                  class="inputGroup"
                >
                  <button
                    aria-controls="downshift-:r5:-menu"
                    aria-expanded="false"
                    aria-labelledby="sl-label-criterion-value-type selected-criterion-value-type-item"
                    class="selectionControl formControl"
                    id="criterion-value-type"
                    name="profile.matchDetails[0].existingMatchExpression.fields[0].value"
                    type="button"
                  >
                    <span
                      class="sr-only"
                    >
                      Select control
                    </span>
                    <div
                      class="singleValue"
                      id="selected-criterion-value-type-item"
                    />
                  </button>
                  <div
                    class="selectionEndControls"
                  >
                    <div
                      class="textFieldIcon"
                    >
                      <span>
                        Icon
                        <span />
                      </span>
                    </div>
                  </div>
                </div>
                <div
                  role="alert"
                />
              </div>
              <div
                class="overlay"
                hidden=""
              >
                <div
                  class="selectionListRoot"
                  id="sl-container-criterion-value-type"
                  style="width: 0px;"
                >
                  <div
                    class="selectionFilterContainer"
                  >
                    <input
                      aria-activedescendant=""
                      aria-autocomplete="list"
                      aria-controls="downshift-:r5:-menu"
                      aria-expanded="false"
                      aria-label=" options filter"
                      aria-labelledby="downshift-:r5:-label"
                      autocomplete="off"
                      class="selectionFilter"
                      id="downshift-:r5:-input"
                      placeholder="Filter options list"
                      role="combobox"
                      type="text"
                      value=""
                    />
                  </div>
                  <ul
                    aria-labelledby="sl-label-criterion-value-type"
                    class="selectionList"
                    id="downshift-:r5:-menu"
                    role="listbox"
                    style="max-height: 174px;"
                    tabindex="-1"
                  />
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </section>
  </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/MatchCriterion/edit/ExistingRecordSections/ExistingSectionFolio.test.js:102:30)
    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)
    at Object.worker (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-runner/build/testWorker.js:106:12)

Check warning on line 0 in ExistingSectionFolio edit component when clicking on options element with incorrect data, single value should be added

See this annotation in the file changed.

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

ExistingSectionFolio edit component when clicking on options element with incorrect data, single value should be added (ExistingSectionFolio edit component when clicking on options element with incorrect data, single value should be added) failed

artifacts/jest-junit/junit.xml
Raw output
TestingLibraryElementError: Unable to find an element with the text: test label2. 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="container field inputContainer"
    >
      <h3
        class="headline size-large margin-none font-weight-bold label"
        data-test-headline="true"
      >
        test field label
      </h3>
      <div
        class="content "
      >
        <div
          class="row"
        >
          <div
            class="col-xs-12"
          >
            <div
              class="selectionOuter"
            >
              <div
                class="selectionControlContainer"
              >
                <div
                  class="inputGroup"
                >
                  <button
                    aria-controls="downshift-:r7:-menu"
                    aria-expanded="false"
                    aria-labelledby="sl-label-criterion-value-type selected-criterion-value-type-item"
                    class="selectionControl formControl"
                    id="criterion-value-type"
                    name="profile.matchDetails[0].existingMatchExpression.fields[0].value"
                    type="button"
                  >
                    <span
                      class="sr-only"
                    >
                      Select control
                    </span>
                    <div
                      class="singleValue"
                      id="selected-criterion-value-type-item"
                    />
                  </button>
                  <div
                    class="selectionEndControls"
                  >
                    <div
                      class="textFieldIcon"
                    >
                      <span>
                        Icon
                        <span />
                      </span>
                    </div>
                  </div>
                </div>
                <div
                  role="alert"
                />
              </div>
              <div
                class="overlay"
                hidden=""
              >
                <div
                  class="selectionListRoot"
                  id="sl-container-criterion-value-type"
                  style="width: 0px;"
                >
                  <div
                    class="selectionFilterContainer"
                  >
                    <input
                      aria-activedescendant=""
                      aria-autocomplete="list"
                      aria-controls="downshift-:r7:-menu"
                      aria-expanded="false"
                      aria-label=" options filter"
                      aria-labelledby="downshift-:r7:-label"
                      autocomplete="off"
                      class="selectionFilter"
                      id="downshift-:r7:-input"
                      placeholder="Filter options list"
                      role="combobox"
                      type="text"
                      value=""
                    />
                  </div>
                  <ul
                    aria-labelledby="sl-label-criterion-value-type"
                    class="selectionList"
                    id="downshift-:r7:-menu"
                    role="listbox"
                    style="max-height: 174px;"
                    tabindex="-1"
                  />
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </section>
  </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/MatchCriterion/edit/ExistingRecordSections/ExistingSectionFolio.test.js:116:30)
    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)
    at Object.worker (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-runner/build/testWorker.js:106:12)

Check warning on line 0 in ExistingSectionFolio edit component when searching for an option should filter data options

See this annotation in the file changed.

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

ExistingSectionFolio edit component when searching for an option should filter data options (ExistingSectionFolio edit component when searching for an option should filter data options) failed

artifacts/jest-junit/junit.xml
Raw output
Error: expect(received).toEqual(expected) // deep equality

Expected: 1
Received: 0
    at Object.toEqual (/home/runner/work/ui-data-import/ui-data-import/src/components/MatchCriterion/edit/ExistingRecordSections/ExistingSectionFolio.test.js:138:37)
    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)
    at Object.worker (/home/runner/work/ui-data-import/ui-data-import/node_modules/jest-runner/build/testWorker.js:106:12)