Skip to content

feat(website): SSR on initial load of search page #952

feat(website): SSR on initial load of search page

feat(website): SSR on initial load of search page #952

Triggered via pull request July 12, 2024 13:42
Status Failure
Total duration 2m 39s
Artifacts

website-tests.yml

on: pull_request
Check format and types
1m 58s
Check format and types
Unit Tests
52s
Unit Tests
Fit to window
Zoom out
Zoom in

Annotations

20 errors
src/components/SearchPage/SearchFullUI.spec.tsx > SearchFullUI > renders without crashing: website/src/utils/search.ts#L69
TypeError: Cannot convert undefined or null to object ❯ getFieldOrColumnVisibilitiesFromQuery src/utils/search.ts:69:35 ❯ Module.getFieldVisibilitiesFromQuery src/utils/search.ts:79:12 ❯ src/components/SearchPage/SearchFullUI.tsx:82:16 ❯ mountMemo node_modules/react-dom/cjs/react-dom.development.js:16406:19 ❯ Object.useMemo node_modules/react-dom/cjs/react-dom.development.js:16851:16 ❯ Proxy.useMemo node_modules/react/cjs/react.development.js:1650:21 ❯ InnerSearchFullUI src/components/SearchPage/SearchFullUI.tsx:81:32 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13
src/components/SearchPage/SearchFullUI.spec.tsx > SearchFullUI > displays sequences data correctly: website/src/utils/search.ts#L69
TypeError: Cannot convert undefined or null to object ❯ getFieldOrColumnVisibilitiesFromQuery src/utils/search.ts:69:35 ❯ Module.getFieldVisibilitiesFromQuery src/utils/search.ts:79:12 ❯ src/components/SearchPage/SearchFullUI.tsx:82:16 ❯ mountMemo node_modules/react-dom/cjs/react-dom.development.js:16406:19 ❯ Object.useMemo node_modules/react-dom/cjs/react-dom.development.js:16851:16 ❯ Proxy.useMemo node_modules/react/cjs/react.development.js:1650:21 ❯ InnerSearchFullUI src/components/SearchPage/SearchFullUI.tsx:81:32 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13
src/components/SearchPage/SearchFullUI.spec.tsx > SearchFullUI > should render the form with all fields that are searchable: website/src/utils/search.ts#L69
TypeError: Cannot convert undefined or null to object ❯ getFieldOrColumnVisibilitiesFromQuery src/utils/search.ts:69:35 ❯ Module.getFieldVisibilitiesFromQuery src/utils/search.ts:79:12 ❯ src/components/SearchPage/SearchFullUI.tsx:82:16 ❯ mountMemo node_modules/react-dom/cjs/react-dom.development.js:16406:19 ❯ Object.useMemo node_modules/react-dom/cjs/react-dom.development.js:16851:16 ❯ Proxy.useMemo node_modules/react/cjs/react.development.js:1650:21 ❯ InnerSearchFullUI src/components/SearchPage/SearchFullUI.tsx:81:32 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13
src/components/SearchPage/SearchFullUI.spec.tsx > SearchFullUI > should not render the form with fields with flag notSearchable: website/src/utils/search.ts#L69
TypeError: Cannot convert undefined or null to object ❯ getFieldOrColumnVisibilitiesFromQuery src/utils/search.ts:69:35 ❯ Module.getFieldVisibilitiesFromQuery src/utils/search.ts:79:12 ❯ src/components/SearchPage/SearchFullUI.tsx:82:16 ❯ mountMemo node_modules/react-dom/cjs/react-dom.development.js:16406:19 ❯ Object.useMemo node_modules/react-dom/cjs/react-dom.development.js:16851:16 ❯ Proxy.useMemo node_modules/react/cjs/react.development.js:1650:21 ❯ InnerSearchFullUI src/components/SearchPage/SearchFullUI.tsx:81:32 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13
src/components/SearchPage/SearchFullUI.spec.tsx > SearchFullUI > should display timestamp field: website/src/utils/search.ts#L69
TypeError: Cannot convert undefined or null to object ❯ getFieldOrColumnVisibilitiesFromQuery src/utils/search.ts:69:35 ❯ Module.getFieldVisibilitiesFromQuery src/utils/search.ts:79:12 ❯ src/components/SearchPage/SearchFullUI.tsx:82:16 ❯ mountMemo node_modules/react-dom/cjs/react-dom.development.js:16406:19 ❯ Object.useMemo node_modules/react-dom/cjs/react-dom.development.js:16851:16 ❯ Proxy.useMemo node_modules/react/cjs/react.development.js:1650:21 ❯ InnerSearchFullUI src/components/SearchPage/SearchFullUI.tsx:81:32 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13
src/components/SearchPage/SearchFullUI.spec.tsx > SearchFullUI > should display date field: website/src/utils/search.ts#L69
TypeError: Cannot convert undefined or null to object ❯ getFieldOrColumnVisibilitiesFromQuery src/utils/search.ts:69:35 ❯ Module.getFieldVisibilitiesFromQuery src/utils/search.ts:79:12 ❯ src/components/SearchPage/SearchFullUI.tsx:82:16 ❯ mountMemo node_modules/react-dom/cjs/react-dom.development.js:16406:19 ❯ Object.useMemo node_modules/react-dom/cjs/react-dom.development.js:16851:16 ❯ Proxy.useMemo node_modules/react/cjs/react.development.js:1650:21 ❯ InnerSearchFullUI src/components/SearchPage/SearchFullUI.tsx:81:32 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13
src/components/SearchPage/SearchFullUI.spec.tsx > SearchFullUI > toggle field visibility: website/src/utils/search.ts#L69
TypeError: Cannot convert undefined or null to object ❯ getFieldOrColumnVisibilitiesFromQuery src/utils/search.ts:69:35 ❯ Module.getFieldVisibilitiesFromQuery src/utils/search.ts:79:12 ❯ src/components/SearchPage/SearchFullUI.tsx:82:16 ❯ mountMemo node_modules/react-dom/cjs/react-dom.development.js:16406:19 ❯ Object.useMemo node_modules/react-dom/cjs/react-dom.development.js:16851:16 ❯ Proxy.useMemo node_modules/react/cjs/react.development.js:1650:21 ❯ InnerSearchFullUI src/components/SearchPage/SearchFullUI.tsx:81:32 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13
src/components/SearchPage/SearchFullUI.spec.tsx > SearchFullUI > should update the URL with query parameters when a search is performed: website/src/utils/search.ts#L69
TypeError: Cannot convert undefined or null to object ❯ getFieldOrColumnVisibilitiesFromQuery src/utils/search.ts:69:35 ❯ Module.getFieldVisibilitiesFromQuery src/utils/search.ts:79:12 ❯ src/components/SearchPage/SearchFullUI.tsx:82:16 ❯ mountMemo node_modules/react-dom/cjs/react-dom.development.js:16406:19 ❯ Object.useMemo node_modules/react-dom/cjs/react-dom.development.js:16851:16 ❯ Proxy.useMemo node_modules/react/cjs/react.development.js:1650:21 ❯ InnerSearchFullUI src/components/SearchPage/SearchFullUI.tsx:81:32 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13
src/components/SearchPage/SearchFullUI.spec.tsx > SearchFullUI > toggle column visibility: website/src/utils/search.ts#L69
TypeError: Cannot convert undefined or null to object ❯ getFieldOrColumnVisibilitiesFromQuery src/utils/search.ts:69:35 ❯ Module.getFieldVisibilitiesFromQuery src/utils/search.ts:79:12 ❯ src/components/SearchPage/SearchFullUI.tsx:82:16 ❯ mountMemo node_modules/react-dom/cjs/react-dom.development.js:16406:19 ❯ Object.useMemo node_modules/react-dom/cjs/react-dom.development.js:16851:16 ❯ Proxy.useMemo node_modules/react/cjs/react.development.js:1650:21 ❯ InnerSearchFullUI src/components/SearchPage/SearchFullUI.tsx:81:32 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13
Unit Tests
Process completed with exit code 1.
Check format and types: website/src/components/SearchPage/SearchFullUI.tsx#L280
Unnecessary conditional, the types have no overlap
Check format and types: website/src/components/SearchPage/SearchFullUI.tsx#L299
Unnecessary conditional, the types have no overlap
Check format and types: website/src/utils/search.ts#L6
'Metadata' is defined but never used
Check format and types: website/src/utils/search.ts#L122
Unnecessary conditional, the types have no overlap
Check format and types: website/src/utils/serversideSearch.ts#L31
Unexpected console statement
Check format and types: website/src/utils/serversideSearch.ts#L33
Unnecessary conditional, expected left-hand side of `??` operator to be possibly null or undefined
Check format and types: website/src/utils/serversideSearch.ts#L34
Unnecessary conditional, expected left-hand side of `??` operator to be possibly null or undefined
Check format and types
Process completed with exit code 1.
Check format and types
Process completed with exit code 1.