Skip to content

PR #4693

PR #4693 #3662

GitHub Actions / Tests annotations (🧪 jest-coverage-report-action) failed Dec 27, 2024 in 0s

Test suite run failed

Failed tests: 2/1752. Failed suites: 1/237.

Details

Created failed tests' annotations. To disable them, see documentation.

  ● SignOrExecute › should display a confirmation screen

    expect(received).toMatchSnapshot()

    Snapshot name: `SignOrExecute should display a confirmation screen 1`

    - Snapshot  - 3
    + Received  + 3

    @@ -116,11 +116,11 @@
                class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-sizeMedium MuiInputLabel-outlined MuiFormLabel-colorPrimary MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-sizeMedium MuiInputLabel-outlined css-ll8nw6-MuiFormLabel-root-MuiInputLabel-root"
                data-shrink="false"
                for=":r1:"
                id=":r1:-label"
              >
    -           Add description
    +           Add note
              </label>
              <div
                class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-fullWidth MuiInputBase-formControl MuiInputBase-adornedEnd css-1j6cp9h-MuiInputBase-root-MuiOutlinedInput-root"
              >
                <input
    @@ -148,11 +148,11 @@
                >
                  <legend
                    class="css-81qg8w"
                  >
                    <span>
    -                 Add description
    +                 Add note
                    </span>
                  </legend>
                </fieldset>
              </div>
            </div>
    @@ -160,11 +160,11 @@
              class="MuiTypography-root MuiTypography-caption css-144rrio-MuiTypography-root"
            >
              <mock-icon
                height="1.2em"
              />
    -         This description will be publicly visible and accessible to anyone.
    +         This note will be publicly visible and accessible to anyone.
            </span>
          </div>
        </div>
        <div
          class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation0 MuiCard-root css-1w4z6qv-MuiPaper-root-MuiCard-root"

      54 |
      55 |     expect(getByTestId('sign-btn')).toBeInTheDocument()
    > 56 |     expect(container).toMatchSnapshot()
         |                       ^
      57 |   })
      58 |
      59 |   it('should display an error screen', async () => {

      at Object.toMatchSnapshot (src/components/tx/SignOrExecuteForm/__tests__/SignOrExecute.test.tsx:56:23)

  ● SignOrExecute › should display an error screen

    expect(received).toMatchSnapshot()

    Snapshot name: `SignOrExecute should display an error screen 1`

    - Snapshot  - 3
    + Received  + 3

    @@ -191,11 +191,11 @@
                class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-sizeMedium MuiInputLabel-outlined MuiFormLabel-colorPrimary MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-sizeMedium MuiInputLabel-outlined css-ll8nw6-MuiFormLabel-root-MuiInputLabel-root"
                data-shrink="false"
                for=":r6:"
                id=":r6:-label"
              >
    -           Add description
    +           Add note
              </label>
              <div
                class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-fullWidth MuiInputBase-formControl MuiInputBase-adornedEnd css-1j6cp9h-MuiInputBase-root-MuiOutlinedInput-root"
              >
                <input
    @@ -223,11 +223,11 @@
                >
                  <legend
                    class="css-81qg8w"
                  >
                    <span>
    -                 Add description
    +                 Add note
                    </span>
                  </legend>
                </fieldset>
              </div>
            </div>
    @@ -235,11 +235,11 @@
              class="MuiTypography-root MuiTypography-caption css-144rrio-MuiTypography-root"
            >
              <mock-icon
                height="1.2em"
              />
    -         This description will be publicly visible and accessible to anyone.
    +         This note will be publicly visible and accessible to anyone.
            </span>
          </div>
        </div>
        <div
          class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation0 MuiCard-root css-1w4z6qv-MuiPaper-root-MuiCard-root"

      73 |
      74 |     expect(container.querySelector('sign-btn')).not.toBeInTheDocument()
    > 75 |     expect(container).toMatchSnapshot()
         |                       ^
      76 |   })
      77 | })
      78 |

      at Object.toMatchSnapshot (src/components/tx/SignOrExecuteForm/__tests__/SignOrExecute.test.tsx:75:23)

Annotations

Check failure on line 34 in apps/web/src/components/tx/SignOrExecuteForm/__tests__/SignOrExecute.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Tests annotations (🧪 jest-coverage-report-action)

SignOrExecute > should display a confirmation screen

Error: expect(received).toMatchSnapshot()

Snapshot name: `SignOrExecute should display a confirmation screen 1`

- Snapshot  - 3
+ Received  + 3

@@ -116,11 +116,11 @@
            class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-sizeMedium MuiInputLabel-outlined MuiFormLabel-colorPrimary MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-sizeMedium MuiInputLabel-outlined css-ll8nw6-MuiFormLabel-root-MuiInputLabel-root"
            data-shrink="false"
            for=":r1:"
            id=":r1:-label"
          >
-           Add description
+           Add note
          </label>
          <div
            class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-fullWidth MuiInputBase-formControl MuiInputBase-adornedEnd css-1j6cp9h-MuiInputBase-root-MuiOutlinedInput-root"
          >
            <input
@@ -148,11 +148,11 @@
            >
              <legend
                class="css-81qg8w"
              >
                <span>
-                 Add description
+                 Add note
                </span>
              </legend>
            </fieldset>
          </div>
        </div>
@@ -160,11 +160,11 @@
          class="MuiTypography-root MuiTypography-caption css-144rrio-MuiTypography-root"
        >
          <mock-icon
            height="1.2em"
          />
-         This description will be publicly visible and accessible to anyone.
+         This note will be publicly visible and accessible to anyone.
        </span>
      </div>
    </div>
    <div
      class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation0 MuiCard-root css-1w4z6qv-MuiPaper-root-MuiCard-root"
    at Object.toMatchSnapshot (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/apps/web/src/components/tx/SignOrExecuteForm/__tests__/SignOrExecute.test.tsx:56:23)
    at Promise.then.completed (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/node_modules/jest-runner/build/testWorker.js:106:12)

Check failure on line 59 in apps/web/src/components/tx/SignOrExecuteForm/__tests__/SignOrExecute.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Tests annotations (🧪 jest-coverage-report-action)

SignOrExecute > should display an error screen

Error: expect(received).toMatchSnapshot()

Snapshot name: `SignOrExecute should display an error screen 1`

- Snapshot  - 3
+ Received  + 3

@@ -191,11 +191,11 @@
            class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-sizeMedium MuiInputLabel-outlined MuiFormLabel-colorPrimary MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-sizeMedium MuiInputLabel-outlined css-ll8nw6-MuiFormLabel-root-MuiInputLabel-root"
            data-shrink="false"
            for=":r6:"
            id=":r6:-label"
          >
-           Add description
+           Add note
          </label>
          <div
            class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-fullWidth MuiInputBase-formControl MuiInputBase-adornedEnd css-1j6cp9h-MuiInputBase-root-MuiOutlinedInput-root"
          >
            <input
@@ -223,11 +223,11 @@
            >
              <legend
                class="css-81qg8w"
              >
                <span>
-                 Add description
+                 Add note
                </span>
              </legend>
            </fieldset>
          </div>
        </div>
@@ -235,11 +235,11 @@
          class="MuiTypography-root MuiTypography-caption css-144rrio-MuiTypography-root"
        >
          <mock-icon
            height="1.2em"
          />
-         This description will be publicly visible and accessible to anyone.
+         This note will be publicly visible and accessible to anyone.
        </span>
      </div>
    </div>
    <div
      class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation0 MuiCard-root css-1w4z6qv-MuiPaper-root-MuiCard-root"
    at Object.toMatchSnapshot (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/apps/web/src/components/tx/SignOrExecuteForm/__tests__/SignOrExecute.test.tsx:75:23)
    at Promise.then.completed (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/node_modules/jest-runner/build/testWorker.js:106:12)