Skip to content

Profile page Endorser DID registration handling #1023

Profile page Endorser DID registration handling

Profile page Endorser DID registration handling #1023

Triggered via pull request April 9, 2024 16:44
Status Failure
Total duration 1m 42s
Artifacts

test_tenant_ui.yml

on: pull_request
Matrix: backend
Matrix: frontend
Fit to window
Zoom out
Zoom in

Annotations

13 errors
Unhandled error: services/tenant-ui/frontend/src/store/utils/fetchItem.ts#L22
AxiosError: Request failed with status code 500 ❯ settle node_modules/axios/lib/core/settle.js:19:12 ❯ XMLHttpRequest.onloadend node_modules/axios/lib/adapters/xhr.js:111:7 ❯ XMLHttpRequest.methodCall node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/XMLHttpRequestController.ts:194:20 ❯ Proxy.<anonymous> node_modules/@mswjs/interceptors/src/utils/createProxy.ts:93:29 ❯ XMLHttpRequestController.trigger node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/XMLHttpRequestController.ts:530:16 ❯ finalizeResponse node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/XMLHttpRequestController.ts:329:12 ❯ readNextResponseBodyChunk node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/XMLHttpRequestController.ts:345:11 ❯ Axios.request node_modules/axios/lib/core/Axios.js:45:41 ❯ Module.fetchItem src/store/utils/fetchItem.ts:22:3 ❯ getPublicDid src/store/tenantStore.ts:252:23 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_BAD_RESPONSE', config: { transitional: { silentJSONParsing: true, forcedJSONParsing: true, clarifyTimeoutError: false }, adapter: [ 'xhr', 'http' ], transformRequest: [ 'Function<transformRequest>' ], transformResponse: [ 'Function<transformResponse>' ], timeout: +0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, maxBodyLength: -1, env: { FormData: 'Function<FormData>', Blob: 'Function<Blob>' }, validateStatus: 'Function<validateStatus>', headers: { 'Content-Type': null, accept: 'application/json, text/plain, */*', Authorization: '*** Object]', constructor: 'Function<AxiosHeaders>', set: 'Function<set>', get: 'Function<get>', has: 'Function<has>', delete: 'Function<delete>', clear: 'Function<clear>', normalize: 'Function<normalize>', concat: 'Function<concat>', toJSON: 'Function<toJSON>', toString: 'Function<toString>', getContentType: 'Function<value>', setContentType: 'Function<value>', hasContentType: 'Function<value>', getContentLength: 'Function<value>', setContentLength: 'Function<value>', hasContentLength: 'Function<value>', getAccept: 'Function<value>', setAccept: 'Function<value>', hasAccept: 'Function<value>', getAcceptEncoding: 'Function<value>', setAcceptEncoding: 'Function<value>', hasAcceptEncoding: 'Function<value>', getUserAgent: 'Function<value>', setUserAgent: 'Function<value>', hasUserAgent: 'Function<value>', getAuthorization: 'Function<value>', setAuthorization: 'Function<value>', hasAuthorization: 'Function<value>' }, baseURL: '/test', method: 'get', url: '/wallet/did/public', params: {}, data: undefined }, request: { constructor: 'Function<anonymous>', open: 'Function<anonymous>', setRequestHeader: 'Function<anonymous>', send: 'Function<anonymous>', abort: 'Function<anonymous>', getResponseHeader: 'Function<anonymous>', getAllResponseHeaders: 'Function<anonymous>', overrideMimeType: 'Function<anonymous>', onreadystatechange: null, readyState: 4, timeout: +0, withCredentials: false, upload: { constructor: 'Function<XMLHttpRequestUpload>', onloadstart: null, onprogress: null, onabort: null, onerror: null, onload: null, ontimeout: null, onloadend: null, addEventListener: 'Function<addEventListener>', removeEventListener: 'Function<removeEventListener>', dispatchEvent: 'Function<dispatchEvent>' }, responseURL: 'http://localhost:3000/test/wallet/did/public', status: 500, statusText: 'Internal Server Error', responseType: '', response: '{}', responseText: '{}', responseXML: null, UNSENT: +0, OPENED: 1, HEADERS_RECEIVED: 2, LOADING: 3, DONE: 4, onloadstart: null, onprogress: null, onabort: 'Function<anonymous>', onerror: 'Function<anonymous>', onload: null, ontimeout: 'Function<anonymous>', onloadend: 'Function<anonymous>', addEventListener: 'Function<anonymous>', removeEventListener: 'Function<anonymous>', dispatchEvent: 'Function<anonymous>' }, response: { data: {}, status: 500, statusText: 'Internal Server Error', headers: { 'content-length': '2', 'content-type': 'application/json', constructor: 'Function<AxiosHeaders>', set: 'Function<set>', get: 'Function<get>', has: 'Function<has>',
Unhandled error: services/tenant-ui/frontend/src/store/acapyApi.ts#L69
TypeError: Cannot read properties of undefined (reading 'status') ❯ src/store/acapyApi.ts:69:26 ❯ Axios.request node_modules/axios/lib/core/Axios.js:40:14 ❯ fetchListFromAPI src/store/utils/fetchList.ts:31:3 ❯ getWalletcDids src/store/tenantStore.ts:264:5 This error originated in "test/store/tenantStore.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
Unhandled error: services/tenant-ui/frontend/src/store/acapyApi.ts#L69
TypeError: Cannot read properties of undefined (reading 'status') ❯ src/store/acapyApi.ts:69:26 ❯ Axios.request node_modules/axios/lib/core/Axios.js:40:14 ❯ fetchListFromAPI src/store/utils/fetchList.ts:31:3 ❯ getWalletcDids src/store/tenantStore.ts:264:5 This error originated in "test/store/tenantStore.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
Unhandled error: services/tenant-ui/frontend/src/store/acapyApi.ts#L69
TypeError: Cannot read properties of undefined (reading 'status') ❯ src/store/acapyApi.ts:69:26 ❯ Axios.request node_modules/axios/lib/core/Axios.js:40:14 ❯ fetchListFromAPI src/store/utils/fetchList.ts:31:3 ❯ getWalletcDids src/store/tenantStore.ts:264:5 This error originated in "test/store/tenantStore.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
test/store/tenantStore.test.ts > tenantStore > Failed API calls > registerPublicDid handles error correctly: services/tenant-ui/frontend/test/commonTests.ts#L38
AssertionError: expected null not to be null ❯ Module.testErrorResponse test/commonTests.ts:38:27 ❯ test/store/tenantStore.test.ts:257:7
frontend (20.x)
Process completed with exit code 1.
frontend (18.x)
The job was canceled because "_20_x" failed.
Unhandled error: services/tenant-ui/frontend/src/store/utils/fetchItem.ts#L22
AxiosError: Request failed with status code 500 ❯ settle node_modules/axios/lib/core/settle.js:19:12 ❯ XMLHttpRequest.onloadend node_modules/axios/lib/adapters/xhr.js:111:7 ❯ XMLHttpRequest.methodCall node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/XMLHttpRequestController.ts:194:20 ❯ Proxy.<anonymous> node_modules/@mswjs/interceptors/src/utils/createProxy.ts:93:29 ❯ XMLHttpRequestController.trigger node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/XMLHttpRequestController.ts:530:16 ❯ finalizeResponse node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/XMLHttpRequestController.ts:329:12 ❯ readNextResponseBodyChunk node_modules/@mswjs/interceptors/src/interceptors/XMLHttpRequest/XMLHttpRequestController.ts:345:11 ❯ Axios.request node_modules/axios/lib/core/Axios.js:45:41 ❯ Module.fetchItem src/store/utils/fetchItem.ts:22:3 ❯ getPublicDid src/store/tenantStore.ts:252:23 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_BAD_RESPONSE', config: { transitional: { silentJSONParsing: true, forcedJSONParsing: true, clarifyTimeoutError: false }, adapter: [ 'xhr', 'http' ], transformRequest: [ 'Function<transformRequest>' ], transformResponse: [ 'Function<transformResponse>' ], timeout: +0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, maxBodyLength: -1, env: { FormData: 'Function<FormData>', Blob: 'Function<Blob>' }, validateStatus: 'Function<validateStatus>', headers: { 'Content-Type': null, accept: 'application/json, text/plain, */*', Authorization: '*** Object]', constructor: 'Function<AxiosHeaders>', set: 'Function<set>', get: 'Function<get>', has: 'Function<has>', delete: 'Function<delete>', clear: 'Function<clear>', normalize: 'Function<normalize>', concat: 'Function<concat>', toJSON: 'Function<toJSON>', toString: 'Function<toString>', getContentType: 'Function<value>', setContentType: 'Function<value>', hasContentType: 'Function<value>', getContentLength: 'Function<value>', setContentLength: 'Function<value>', hasContentLength: 'Function<value>', getAccept: 'Function<value>', setAccept: 'Function<value>', hasAccept: 'Function<value>', getAcceptEncoding: 'Function<value>', setAcceptEncoding: 'Function<value>', hasAcceptEncoding: 'Function<value>', getUserAgent: 'Function<value>', setUserAgent: 'Function<value>', hasUserAgent: 'Function<value>', getAuthorization: 'Function<value>', setAuthorization: 'Function<value>', hasAuthorization: 'Function<value>' }, baseURL: '/test', method: 'get', url: '/wallet/did/public', params: {}, data: undefined }, request: { constructor: 'Function<anonymous>', open: 'Function<anonymous>', setRequestHeader: 'Function<anonymous>', send: 'Function<anonymous>', abort: 'Function<anonymous>', getResponseHeader: 'Function<anonymous>', getAllResponseHeaders: 'Function<anonymous>', overrideMimeType: 'Function<anonymous>', onreadystatechange: null, readyState: 4, timeout: +0, withCredentials: false, upload: { constructor: 'Function<XMLHttpRequestUpload>', onloadstart: null, onprogress: null, onabort: null, onerror: null, onload: null, ontimeout: null, onloadend: null, addEventListener: 'Function<addEventListener>', removeEventListener: 'Function<removeEventListener>', dispatchEvent: 'Function<dispatchEvent>' }, responseURL: 'http://localhost:3000/test/wallet/did/public', status: 500, statusText: 'Internal Server Error', responseType: '', response: '{}', responseText: '{}', responseXML: null, UNSENT: +0, OPENED: 1, HEADERS_RECEIVED: 2, LOADING: 3, DONE: 4, onloadstart: null, onprogress: null, onabort: 'Function<anonymous>', onerror: 'Function<anonymous>', onload: null, ontimeout: 'Function<anonymous>', onloadend: 'Function<anonymous>', addEventListener: 'Function<anonymous>', removeEventListener: 'Function<anonymous>', dispatchEvent: 'Function<anonymous>' }, response: { data: {}, status: 500, statusText: 'Internal Server Error', headers: { 'content-length': '2', 'content-type': 'application/json', constructor: 'Function<AxiosHeaders>', set: 'Function<set>', get: 'Function<get>', has: 'Function<has>',
Unhandled error: services/tenant-ui/frontend/src/store/acapyApi.ts#L69
TypeError: Cannot read properties of undefined (reading 'status') ❯ src/store/acapyApi.ts:69:26 ❯ Axios.request node_modules/axios/lib/core/Axios.js:40:14 ❯ fetchListFromAPI src/store/utils/fetchList.ts:31:3 ❯ getWalletcDids src/store/tenantStore.ts:264:5 This error originated in "test/store/tenantStore.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
Unhandled error: services/tenant-ui/frontend/src/store/acapyApi.ts#L69
TypeError: Cannot read properties of undefined (reading 'status') ❯ src/store/acapyApi.ts:69:26 ❯ Axios.request node_modules/axios/lib/core/Axios.js:40:14 ❯ fetchListFromAPI src/store/utils/fetchList.ts:31:3 ❯ getWalletcDids src/store/tenantStore.ts:264:5 This error originated in "test/store/tenantStore.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
Unhandled error: services/tenant-ui/frontend/src/store/acapyApi.ts#L69
TypeError: Cannot read properties of undefined (reading 'status') ❯ src/store/acapyApi.ts:69:26 ❯ Axios.request node_modules/axios/lib/core/Axios.js:40:14 ❯ fetchListFromAPI src/store/utils/fetchList.ts:31:3 ❯ getWalletcDids src/store/tenantStore.ts:264:5 This error originated in "test/store/tenantStore.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
test/store/tenantStore.test.ts > tenantStore > Failed API calls > registerPublicDid handles error correctly: services/tenant-ui/frontend/test/commonTests.ts#L38
AssertionError: expected null not to be null ❯ Module.testErrorResponse test/commonTests.ts:38:27 ❯ test/store/tenantStore.test.ts:257:7
frontend (18.x)
The operation was canceled.