Skip to content

UIORGS-383: add donor info for organization summary #384

UIORGS-383: add donor info for organization summary

UIORGS-383: add donor info for organization summary #384

GitHub Actions / Jest Unit Test Results failed Oct 13, 2023 in 0s

1 fail, 214 pass in 2m 42s

    1 files    64 suites   2m 42s ⏱️
215 tests 214 ✔️ 0 💤 1
218 runs  217 ✔️ 0 💤 1

Results for commit 8d53a75.

Annotations

Check warning on line 0 in OrganizationSummaryForm should render correct structure

See this annotation in the file changed.

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

OrganizationSummaryForm should render correct structure (OrganizationSummaryForm should render correct structure) failed

artifacts/jest-junit/junit.xml
Raw output
Error: expect(received).toMatchSnapshot()

Snapshot name: `OrganizationSummaryForm should render correct structure 1`

- Snapshot  -  60
+ Received  + 113

@@ -7764,64 +7764,10 @@
        </div>
        <div
          class="col-xs-6 col-md-3"
        >
          <div
-           class="checkbox inline vertical"
-           data-test-checkbox="true"
-         >
-           <label
-             class="label label checkboxInteractionStylesControl"
-             for="checkbox-5"
-           >
-             <span
-               class="labelText"
-             >
-               ui-organizations.summary.isVendor
-             </span>
-             <span
-               class="inner checkboxInteractionStyles"
-             >
-               <input
-                 aria-invalid="false"
-                 checked=""
-                 class="input"
-                 id="checkbox-5"
-                 name="isVendor"
-                 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>
-           </label>
-           <div
-             role="alert"
-           />
-         </div>
-       </div>
-       <div
-         class="col-xs-6 col-md-3"
-       >
-         <div
            class="multiSelectContainer"
            id="org-acq-units"
          >
            <div
              aria-live="assertive"
@@ -7940,29 +7886,136 @@
          <div
            class="textArea inputGroup"
          >
            <label
              class="label"
-             for="textarea-input-6"
+             for="textarea-input-5"
            >
              ui-organizations.summary.description
            </label>
            <textarea
              aria-invalid="false"
              class="formControl"
-             id="textarea-input-6"
+             id="textarea-input-5"
              name="description"
              type="text"
            >
              Use for rush orders, replacement requests, and second hand market
            </textarea>
            <div
              role="alert"
            />
          </div>
        </div>
+       <div
+         class="col-xs-6 col-md-3"
+       >
          <div
+           class="checkbox inline vertical"
+           data-test-checkbox="true"
+         >
+           <label
+             class="label label checkboxInteractionStylesControl"
+             for="checkbox-6"
+           >
+             <span
+               class="labelText"
+             >
+               ui-organizations.summary.isDonor
+             </span>
+             <span
+               class="inner checkboxInteractionStyles"
+             >
+               <input
+                 aria-invalid="false"
+                 class="input"
+                 id="checkbox-6"
+                 name="isDonor"
+                 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>
+           </label>
+           <div
+             role="alert"
+           />
+         </div>
+       </div>
+       <div
+         class="col-xs-6 col-md-3"
+       >
+         <div
+           class="checkbox inline vertical"
+           data-test-checkbox="true"
+         >
+           <label
+             class="label label checkboxInteractionStylesControl"
+             for="checkbox-7"
+           >
+             <span
+               class="labelText"
+             >
+               ui-organizations.summary.isVendor
+             </span>
+             <span
+               class="inner checkboxInteractionStyles"
+             >
+               <input
+                 aria-invalid="false"
+                 checked=""
+                 class="input"
+                 id="checkbox-7"
+                 name="isVendor"
+                 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>
+           </label>
+           <div
+             role="alert"
+           />
+         </div>
+       </div>
+       <div
          class="col-xs-6"
        >
          <fieldset
            class="repeatableField hasMargin"
            data-test-repeatable-field="true"
@@ -7996,11 +8049,11 @@
                      <div
                        class="textField"
                      >
                        <label
                          class="label"
-                         for="text-input-7"
+                         for="text-input-8"
                        >
                          ui-organizations.summary.alias
                          <span
                            aria-hidden="true"
                            class="asterisk"
@@ -8016,11 +8069,11 @@
                            aria-required="true"
                            autocapitalize="off"
                            autocomplete="off"
                            autocorrect="off"
                            error=""
-                           id="text-input-7"
+                           id="text-input-8"
                            name="aliases[0].value"
                            required=""
                            spellcheck="false"
                            type="text"
                            value="Amazon"
@@ -8038,11 +8091,11 @@
                      <div
                        class="textField"
                      >
                        <label
                          class="label"
-                         for="text-input-8"
+                         for="text-input-9"
                        >
                          ui-organizations.summary.description
                        </label>
                        <div
                          class="formControl inputGroup"
@@ -8051,11 +8104,11 @@
                            aria-invalid="false"
                            autocapitalize="off"
                            autocomplete="off"
                            autocorrect="off"
                            error=""
-                           id="text-input-8"
+                           id="text-input-9"
                            name="aliases[0].description"
                            spellcheck="false"
                            type="text"
                            value=""
                            warning=""
    at Object.toMatchSnapshot (/home/runner/work/ui-organizations/ui-organizations/src/Organizations/OrganizationForm/OrganizationSummaryForm/OrganizationSummaryForm.test.js:53:26)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:538:9)
    at processTimers (node:internal/timers:512:7)