Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: notifications renewal [SW-631] #4699

Merged
merged 28 commits into from
Jan 8, 2025

fix: update snapshot files

36a6075
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

feat: notifications renewal [SW-631] #4699

fix: update snapshot files
36a6075
Select commit
Loading
Failed to load commit list.
GitHub Actions / Tests annotations (🧪 jest-coverage-report-action) failed Jan 7, 2025 in 0s

Test suite run failed

Failed tests: 1/1782. Failed suites: 1/240.

Details

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

  ● BatchTransactions › should render a list of batch transactions

    expect(received).toMatchSnapshot()

    Snapshot name: `BatchTransactions should render a list of batch transactions 1`

    - Snapshot  - 1
    + Received  + 1

    @@ -230,11 +230,11 @@
                            </div>
                            <div
                              class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-true css-1vd824g-MuiGrid-root"
                              data-testid="tx-data-row"
                            >
    -                         20.9.2024, 10:20:15
    +                         9/20/2024, 10:20:15 AM
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>

      10 |     const { container, getByText } = render(<BatchTransactions />)
      11 |
    > 12 |     expect(container).toMatchSnapshot()
         |                       ^
      13 |     expect(getByText('GnosisSafeProxy')).toBeDefined()
      14 |   })
      15 | })

      at Object.toMatchSnapshot (src/components/tx/confirmation-views/BatchTransactions/BatchTransactions.test.tsx:12:23)

Annotations

Check failure on line 9 in apps/web/src/components/tx/confirmation-views/BatchTransactions/BatchTransactions.test.tsx

See this annotation in the file changed.

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

BatchTransactions > should render a list of batch transactions

Error: expect(received).toMatchSnapshot()

Snapshot name: `BatchTransactions should render a list of batch transactions 1`

- Snapshot  - 1
+ Received  + 1

@@ -230,11 +230,11 @@
                        </div>
                        <div
                          class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-true css-1vd824g-MuiGrid-root"
                          data-testid="tx-data-row"
                        >
-                         20.9.2024, 10:20:15
+                         9/20/2024, 10:20:15 AM
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
    at Object.toMatchSnapshot (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/apps/web/src/components/tx/confirmation-views/BatchTransactions/BatchTransactions.test.tsx:12: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 9 in apps/web/src/components/tx/confirmation-views/BatchTransactions/BatchTransactions.test.tsx

See this annotation in the file changed.

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

BatchTransactions > should render a list of batch transactions

Error: expect(received).toMatchSnapshot()

Snapshot name: `BatchTransactions should render a list of batch transactions 1`

- Snapshot  - 1
+ Received  + 1

@@ -230,11 +230,11 @@
                        </div>
                        <div
                          class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-true css-1vd824g-MuiGrid-root"
                          data-testid="tx-data-row"
                        >
-                         20.9.2024, 10:20:15
+                         9/20/2024, 10:20:15 AM
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
    at Object.toMatchSnapshot (/home/runner/work/safe-wallet-monorepo/safe-wallet-monorepo/apps/web/src/components/tx/confirmation-views/BatchTransactions/BatchTransactions.test.tsx:12: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)