feat(website): SSR on initial load of search page #954
website-tests.yml
on: pull_request
Check format and types
2m 1s
Unit Tests
54s
Annotations
11 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:83: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:82: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:83: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:82: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:83: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:82: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:83: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:82: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:83: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:82: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:83: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:82: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:83: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:82: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:83: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:82: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:83: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:82: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
Process completed with exit code 1.
|