Call the API logout endpoint when the user logs out #2603
checks.yml
on: pull_request
Annotations
13 errors and 7 warnings
returns correct data if there is only one page:
ui/shared/pagination/useQueryWithPages.test.tsx#L69
expect(received).toEqual(expected) // deep equality
Expected: {"items": [], "next_page_params": null}
Received: undefined
at ui/shared/pagination/useQueryWithPages.test.tsx:69:31
at fulfilled (ui/shared/pagination/useQueryWithPages.test.tsx:28:58)
|
if there are multiple pages › return correct data for the first page:
ui/shared/pagination/useQueryWithPages.test.tsx#L92
expect(received).toEqual(expected) // deep equality
Expected: {"items": [{"hash": "11"}, {"hash": "12"}], "next_page_params": {"block_number": 11, "index": 12, "items_count": 13}}
Received: undefined
at ui/shared/pagination/useQueryWithPages.test.tsx:92:33
at fulfilled (ui/shared/pagination/useQueryWithPages.test.tsx:28:58)
|
if there are multiple pages › correctly navigates forward and backward › from page 1 to page 2:
ui/shared/pagination/useQueryWithPages.test.tsx#L129
expect(received).toEqual(expected) // deep equality
Expected: {"items": [{"hash": "21"}, {"hash": "22"}], "next_page_params": {"block_number": 21, "index": 22, "items_count": 23}}
Received: undefined
at ui/shared/pagination/useQueryWithPages.test.tsx:129:35
at fulfilled (ui/shared/pagination/useQueryWithPages.test.tsx:28:58)
|
if there are multiple pages › correctly navigates forward and backward › from page 2 to page 3:
ui/shared/pagination/useQueryWithPages.test.tsx#L167
expect(received).toEqual(expected) // deep equality
Expected: {"items": [{"hash": "31"}, {"hash": "32"}], "next_page_params": null}
Received: undefined
at ui/shared/pagination/useQueryWithPages.test.tsx:167:35
at fulfilled (ui/shared/pagination/useQueryWithPages.test.tsx:28:58)
|
if there are multiple pages › correctly navigates forward and backward › from page 3 to page 2:
ui/shared/pagination/useQueryWithPages.test.tsx#L211
expect(received).toEqual(expected) // deep equality
Expected: {"items": [{"hash": "21"}, {"hash": "22"}], "next_page_params": {"block_number": 21, "index": 22, "items_count": 23}}
Received: undefined
at ui/shared/pagination/useQueryWithPages.test.tsx:211:35
at fulfilled (ui/shared/pagination/useQueryWithPages.test.tsx:28:58)
|
if there are multiple pages › correctly navigates forward and backward › from page 2 to page 1:
ui/shared/pagination/useQueryWithPages.test.tsx#L259
expect(received).toEqual(expected) // deep equality
Expected: {"items": [{"hash": "11"}, {"hash": "12"}], "next_page_params": {"block_number": 11, "index": 12, "items_count": 13}}
Received: undefined
at ui/shared/pagination/useQueryWithPages.test.tsx:259:35
at fulfilled (ui/shared/pagination/useQueryWithPages.test.tsx:28:58)
|
if there are multiple pages › correctly resets the page:
ui/shared/pagination/useQueryWithPages.test.tsx#L311
expect(received).toEqual(expected) // deep equality
Expected: {"items": [{"hash": "11"}, {"hash": "12"}], "next_page_params": {"block_number": 11, "index": 12, "items_count": 13}}
Received: undefined
at ui/shared/pagination/useQueryWithPages.test.tsx:311:33
at fulfilled (ui/shared/pagination/useQueryWithPages.test.tsx:28:58)
|
if there are multiple pages › when navigates between pages can scroll to custom element:
ui/shared/pagination/useQueryWithPages.test.tsx#L357
expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 0
at ui/shared/pagination/useQueryWithPages.test.tsx:357:46
at fulfilled (ui/shared/pagination/useQueryWithPages.test.tsx:28:58)
|
if there is page query param in URL › sets this param as the page number:
ui/shared/pagination/useQueryWithPages.test.tsx#L375
expect(received).toEqual(expected) // deep equality
Expected: {"items": [], "next_page_params": null}
Received: undefined
at ui/shared/pagination/useQueryWithPages.test.tsx:375:33
at fulfilled (ui/shared/pagination/useQueryWithPages.test.tsx:28:58)
|
if there is page query param in URL › correctly navigates to the following pages:
ui/shared/pagination/useQueryWithPages.test.tsx#L405
expect(received).toEqual(expected) // deep equality
Expected: {"items": [{"hash": "31"}, {"hash": "32"}], "next_page_params": null}
Received: undefined
at ui/shared/pagination/useQueryWithPages.test.tsx:405:33
at fulfilled (ui/shared/pagination/useQueryWithPages.test.tsx:28:58)
|
Playwright tests / Project: dark-color-mode
Process completed with exit code 1.
|
Playwright tests / Project: mobile
Process completed with exit code 1.
|
Playwright tests / Project: default
Process completed with exit code 1.
|
Code quality
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ENV variables validation
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Resolve affected Playwright tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Jest tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Playwright tests / Project: dark-color-mode
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Playwright tests / Project: mobile
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Playwright tests / Project: default
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-affected-tests
Expired
|
1.62 KB |
|
playwright-report-dark-color-mode
Expired
|
10.1 MB |
|
playwright-report-default
Expired
|
36.5 MB |
|
playwright-report-mobile
Expired
|
9.33 MB |
|