Skip to content

Lokalise: updates

Lokalise: updates #878

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

1 fail, 2 skipped, 269 pass in 2m 41s

    1 files  ±0    84 suites  ±0   2m 41s ⏱️ -3s
272 tests ±0  269 ✔️ ±0  2 💤 ±0  1 ±0 
276 runs  ±0  272 ✔️ ±0  3 💤 ±0  1 ±0 

Results for commit 0eb526b. ± Comparison against earlier commit 53cecbb.

Annotations

Check warning on line 0 in OrganizationBankingInfoForm Interaction with 'Addresses' categories fields should render categories options based on selected address categories

See this annotation in the file changed.

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

OrganizationBankingInfoForm Interaction with 'Addresses' categories fields should render categories options based on selected a…rm Interaction with 'Addresses' categories fields should render categories options based on selected address categories) failed

artifacts/jest-junit/junit.xml
Raw output
TestingLibraryElementError: Unable to find an element with the text: First category. 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
<div
  class="card default"
  data-testid="banking-information-card"
>
  <div
    class="header default"
    data-test-card-header="true"
  >
    <span
      class="headerStart"
      data-test-card-header-start="true"
    >
      <div
        class="checkbox disabled"
        data-test-checkbox="true"
      >
        <label
          class="label label"
          for="checkbox-8"
        >
          <span
            class="inner disabledLabel"
          >
            <input
              aria-invalid="false"
              checked=""
              class="input"
              data-test-checkbox-is-primary="true"
              disabled=""
              id="checkbox-8"
              name="bankingInformation[0].isPrimary"
              type="checkbox"
              value=""
            />
            <span
              class="checkboxIcon"
            >
              <svg
                height="10"
                viewBox="0 0 14 14"
                width="10"
                xmlns="http://www.w3.org/2000/svg"
              >
                <path
                  d="M10.395 4.617L5.63 9.383 3.605 7.358"
                  fill="none"
                  stroke-linecap="round"
                  stroke-linejoin="round"
                  stroke-miterlimit="10"
                  stroke-width="1.5"
                />
              </svg>
            </span>
            <span
              class="labelText"
            >
              ui-organizations.data.bankingInformation.isPrimary
            </span>
          </span>
        </label>
        <div
          role="alert"
        />
      </div>
    </span>
  </div>
  <div
    class="body "
    data-test-card-body="true"
  >
    <div
      class="row"
    >
      <div
        class="col-xs-12 col-md-4"
      >
        <div
          class="textField"
        >
          <label
            class="label"
            for="text-input-9"
          >
            ui-organizations.data.bankingInformation.bankName
          </label>
          <div
            class="formControl inputGroup"
          >
            <input
              aria-invalid="false"
              autocapitalize="off"
              autocomplete="off"
              autocorrect="off"
              error=""
              id="text-input-9"
              name="bankingInformation[0].bankName"
              spellcheck="false"
              type="text"
              value=""
              warning=""
            />
          </div>
          <div
            role="alert"
          />
        </div>
      </div>
      <div
        class="col-xs-12 col-md-4"
      >
        <div
          class="textField"
        >
          <label
            class="label"
            for="text-input-10"
          >
            ui-organizations.data.bankingInformation.bankAccountNumber
          </label>
          <div
            class="formControl inputGroup"
          >
            <input
              aria-invalid="false"
              autocapitalize="off"
              autocomplete="off"
              autocorrect="off"
              error=""
              id="text-input-10"
              name="bankingInformation[0].bankAccountNumber"
              spellcheck="false"
              type="text"
              value=""
              warning=""
            />
          </div>
          <div
            role="alert"
          />
        </div>
      </div>
      <div
        class="col-xs-12 col-md-4"
      >
        <div
          class="textField"
        >
          <label
            class="label"
            for="text-input-11"
          >
            ui-organizations.data.bankingInformation.transitNumber
          </label>
          <div
            class="formControl inputGroup"
          >
            <input
              aria-invalid="false"
              autocapitalize="off"
              autocomplete="off"
              autocorrect="off"
              error=""
              id="text-input-11"
              name="bankingInformation[0].transitNumber"
              spellcheck="false"
              type="text"
              value=""
              warning=""
            />
          </div>
          <div
            role="alert"
          />
        </div>
      </div>
      <div
        class="col-xs-12 col-md-4"
      >
        <div
          class="selectionOuter"
        >
          <label
            class="label"
            for="downshift-:r9:-input"
            id="sl-label-selection-:r8:"
          >
            ui-organizations.data.bankingInformation.addressCategory
          </label>
          <div
            class="selectionControlContainer"
          >
            <div
              class="inputGroup"
            >
              <button
                aria-controls="downshift-:r9:-menu"
                aria-expanded="true"
                aria-labelledby="sl-label-selection-:r8: selected-selection-:r8:-item"
                class="selectionControl formControl"
                id="selection-:r8:"
                name="bankingInformation[0].categoryId"
                type="button"
              >
                <span
                  class="sr-only"
                >
                  stripes-components.selection.controlLabel
                </span>
                <div
                  class="singleValue"
                  id="selected-selection-:r8:-item"
                />
              </button>
              <div
                class="selectionEndControls"
              >
                <div
                  class="textFieldIcon"
                >
                  <span>
                    Icon
                  </span>
                </div>
              </div>
            </div>
            <div
              role="alert"
            />
          </div>
        </div>
      </div>
      <div
        class="col-xs-12 col-md-4"
      >
        <div
          class="selectionOuter"
        >
          <label
            class="label"
            for="downshift-:rb:-input"
            id="sl-label-selection-:ra:"
          >
            ui-organizations.data.bankingInformation.accountType
          </label>
          <div
            class="selectionControlContainer"
          >
            <div
              class="inputGroup"
            >
              <button
                aria-controls="downshift-:rb:-menu"
                aria-expanded="false"
                aria-labelledby="sl-label-selection-:ra: selected-selection-:ra:-item"
                class="selectionControl formControl"
                id="selection-:ra:"
                name="bankingInformation[0].accountTypeId"
                type="button"
              >
                <span
                  class="sr-only"
                >
                  stripes-components.selection.controlLabel
                </span>
                <div
                  class="singleValue"
                  id="selected-selection-:ra:-item"
                />
              </button>
              <div
                class="selectionEndControls"
              >
                <div
                  class="textFieldIcon"
                >
                  <span>
                    Icon
                  </span>
                </div>
              </div>
            </div>
            <div
              role="alert"
            />
          </div>
        </div>
      </div>
      <div
        class="col-xs-12 col-md-4"
      >
        <div
          class="textField"
        >
          <label
            class="label"
            for="bankingInformation[0].notes"
          >
            ui-organizations.data.bankingInformation.notes
          </label>
          <div
            class="formControl inputGroup"
          >
            <input
              aria-invalid="false"
              autocapitalize="off"
              autocomplete="off"
              autocorrect="off"
              error=""
              id="bankingInformation[0].notes"
              name="bankingInformation[0].notes"
              spellcheck="false"
              type="text"
              value=""
              warning=""
            />
          </div>
          <div
            role="alert"
          />
        </div>
      </div>
    </div>
  </div>
</div>
    at Object.getElementError (/home/runner/work/ui-organizations/ui-organizations/node_modules/@testing-library/dom/dist/config.js:37:19)
    at /home/runner/work/ui-organizations/ui-organizations/node_modules/@testing-library/dom/dist/query-helpers.js:76:38
    at /home/runner/work/ui-organizations/ui-organizations/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
    at /home/runner/work/ui-organizations/ui-organizations/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
    at getByText (/home/runner/work/ui-organizations/ui-organizations/src/Organizations/OrganizationForm/OrganizationBankingInfoForm/OrganizationBankingInfoForm.test.js:107:71)
    at Array.forEach (<anonymous>)
    at Object.forEach (/home/runner/work/ui-organizations/ui-organizations/src/Organizations/OrganizationForm/OrganizationBankingInfoForm/OrganizationBankingInfoForm.test.js:106:18)