[ https://issues.apache.org/jira/browse/DISPATCH-1725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jiri Daněk updated DISPATCH-1725: --------------------------------- Priority: Minor (was: Major) > Three Web Console tests are failing due to bugs in tests themselves > ------------------------------------------------------------------- > > Key: DISPATCH-1725 > URL: https://issues.apache.org/jira/browse/DISPATCH-1725 > Project: Qpid Dispatch > Issue Type: Test > Components: Console > Affects Versions: 1.12.0 > Reporter: Jiri Daněk > Assignee: Jiri Daněk > Priority: Minor > > https://github.com/apache/qpid-dispatch/runs/901532415?check_suite_focus=true > {noformat} > 2020-07-23T06:40:28.8197751Z [36;1mcd console/react && npm run test[0m > 2020-07-23T06:40:28.8237063Z shell: /bin/bash -e {0} > 2020-07-23T06:40:28.8237189Z ##[endgroup] > 2020-07-23T06:40:29.0613852Z > 2020-07-23T06:40:29.0614939Z > dispatch-console@0.2.0 test > /home/runner/work/qpid-dispatch/qpid-dispatch/console/react > 2020-07-23T06:40:29.0615209Z > react-scripts test > 2020-07-23T06:40:29.0615271Z > 2020-07-23T06:40:35.9056855Z PASS src/topology/topologyViewer.test.js (5.652s) > 2020-07-23T06:40:37.3059754Z PASS src/overview/overviewPage.test.js > 2020-07-23T06:40:37.3065164Z ● Console > 2020-07-23T06:40:37.3065673Z > 2020-07-23T06:40:37.3066230Z console.error > node_modules/prop-types/checkPropTypes.js:20 > 2020-07-23T06:40:37.3066618Z Warning: Failed prop type: The prop > `handleAddNotification` is marked as required in `ConnectionClose`, but its > value is `undefined`. > 2020-07-23T06:40:37.3067105Z in ConnectionClose (at > overviewTable.js:170) > 2020-07-23T06:40:37.3067447Z in BodyRow (created by BaseBody) > 2020-07-23T06:40:37.3067754Z in tbody (created by BodyWrapper) > 2020-07-23T06:40:37.3068093Z in BodyWrapper (created by BaseBody) > 2020-07-23T06:40:37.3068402Z in BaseBody (created by > Context.Consumer) > 2020-07-23T06:40:37.3068706Z in Body (created by ContextBody) > 2020-07-23T06:40:37.3069022Z in ContextBody (created by > Context.Consumer) > 2020-07-23T06:40:37.3069332Z in TableBody (at overviewTable.js:310) > 2020-07-23T06:40:37.3069636Z in table (created by Provider) > 2020-07-23T06:40:37.3070024Z in Provider (created by Table) > 2020-07-23T06:40:37.3070323Z in Table (created by Context.Consumer) > 2020-07-23T06:40:37.3070626Z in ComponentWithOuia (created by > Context.Consumer) > 2020-07-23T06:40:37.3070956Z in Unknown (at overviewTable.js:301) > 2020-07-23T06:40:37.3071255Z in OverviewTable (at > overviewPage.js:65) > 2020-07-23T06:40:37.3071557Z in div (created by CardBody) > 2020-07-23T06:40:37.3071886Z in CardBody (at overviewPage.js:64) > 2020-07-23T06:40:37.3072184Z in article (created by Card) > 2020-07-23T06:40:37.3072479Z in Card (at overviewPage.js:63) > 2020-07-23T06:40:37.3072799Z in div (created by StackItem) > 2020-07-23T06:40:37.3073083Z in StackItem (at overviewPage.js:62) > 2020-07-23T06:40:37.3073380Z in div (created by Stack) > 2020-07-23T06:40:37.3073701Z in Stack (at overviewPage.js:50) > 2020-07-23T06:40:37.3073998Z in section (created by PageSection) > 2020-07-23T06:40:37.3074295Z in PageSection (at overviewPage.js:45) > 2020-07-23T06:40:37.3074621Z in OverviewPage (at > overviewPage.test.js:84) > 2020-07-23T06:40:37.3074869Z > 2020-07-23T06:40:39.9716182Z FAIL src/overview/dashboard/layout.test.js > 2020-07-23T06:40:39.9717884Z ● renders the correct title > 2020-07-23T06:40:39.9718246Z > 2020-07-23T06:40:39.9718705Z TypeError: > this.service.management.connection.getReceiverAddress is not a function > 2020-07-23T06:40:39.9719480Z > 2020-07-23T06:40:39.9719836Z 222 | //this.redirect = true; > 2020-07-23T06:40:39.9720189Z 223 | let user = "anonymous"; > 2020-07-23T06:40:39.9720600Z > 224 | let parts = > this.service.management.connection.getReceiverAddress().split("/"); > 2020-07-23T06:40:39.9720979Z | > ^ > 2020-07-23T06:40:39.9721672Z 225 | parts[parts.length - 1] = > "$management"; > 2020-07-23T06:40:39.9725235Z 226 | let router = parts.join("/"); > 2020-07-23T06:40:39.9725653Z 227 | // get connections for router > to which console is connected > 2020-07-23T06:40:39.9725964Z > 2020-07-23T06:40:39.9726351Z at PageLayout.handleConnect > (src/overview/dashboard/layout.js:224:54) > 2020-07-23T06:40:39.9726760Z at src/overview/dashboard/layout.js:134:14 > 2020-07-23T06:40:39.9727054Z > 2020-07-23T06:40:40.2057800Z PASS src/chord/chordToolbar.test.js > 2020-07-23T06:40:40.4714786Z PASS src/common/connectionClose.test.js > 2020-07-23T06:40:40.4716066Z ● Console > 2020-07-23T06:40:40.4716475Z > 2020-07-23T06:40:40.4716767Z console.log src/common/connectionClose.js:76 > 2020-07-23T06:40:40.4717051Z success test record fake response was OK > 2020-07-23T06:40:40.4726222Z > 2020-07-23T06:40:40.7206132Z PASS src/chord/chordViewer.test.js > 2020-07-23T06:40:40.7206988Z ● Console > 2020-07-23T06:40:40.7207088Z > 2020-07-23T06:40:40.7207204Z console.log src/chord/chordViewer.test.js:32 > 2020-07-23T06:40:40.7207335Z using mock service > 2020-07-23T06:40:40.7207412Z > 2020-07-23T06:40:40.9797393Z PASS src/details/updateTablePage.test.js > 2020-07-23T06:40:40.9798858Z ● Console > 2020-07-23T06:40:40.9799209Z > 2020-07-23T06:40:40.9799521Z console.log > src/details/updateTablePage.js:261 > 2020-07-23T06:40:40.9799845Z success Updated log test.log.name > 2020-07-23T06:40:40.9800093Z > 2020-07-23T06:40:41.2925412Z PASS src/details/createTablePage.test.js > 2020-07-23T06:40:41.2926908Z ● Console > 2020-07-23T06:40:41.2927282Z > 2020-07-23T06:40:41.2927665Z console.log > src/details/createTablePage.test.js:27 > 2020-07-23T06:40:41.2928041Z using mock service > 2020-07-23T06:40:41.2928410Z console.log > src/details/createTablePage.js:256 > 2020-07-23T06:40:41.2928781Z success Created listener testListener > 2020-07-23T06:40:41.2929066Z > 2020-07-23T06:40:41.4377420Z PASS src/common/addressesComponent.test.js > 2020-07-23T06:40:41.6972853Z PASS src/details/deleteEntity.test.js > 2020-07-23T06:40:41.6974110Z ● Console > 2020-07-23T06:40:41.6974342Z > 2020-07-23T06:40:41.6974563Z console.log src/details/deleteEntity.js:68 > 2020-07-23T06:40:41.6974806Z success Deleted listener testListener > 2020-07-23T06:40:41.6974987Z > 2020-07-23T06:40:41.9212004Z PASS src/topology/topologyToolbar.test.js > 2020-07-23T06:40:42.2318551Z PASS > src/overview/dashboard/notificationDrawer.test.js > 2020-07-23T06:40:42.5937716Z (node:2994) UnhandledPromiseRejectionWarning: > TypeError: Caught error after test environment was torn down > 2020-07-23T06:40:42.5938093Z > 2020-07-23T06:40:42.5938866Z Cannot read property 'body' of null > 2020-07-23T06:40:42.5939840Z (node:2994) UnhandledPromiseRejectionWarning: > Unhandled promise rejection. This error originated either by throwing inside > of an async function without a catch block, or by rejecting a promise which > was not handled with .catch(). To terminate the node process on unhandled > promise rejection, use the CLI flag `--unhandled-rejections=strict` (see > https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection > id: 3) > 2020-07-23T06:40:42.5942827Z (node:2994) [DEP0018] DeprecationWarning: > Unhandled promise rejections are deprecated. In the future, promise > rejections that are not handled will terminate the Node.js process with a > non-zero exit code. > 2020-07-23T06:40:42.5943460Z FAIL src/details/entitiesPage.test.js > 2020-07-23T06:40:42.5945516Z ● Console > 2020-07-23T06:40:42.5945728Z > 2020-07-23T06:40:42.5946013Z console.log > src/details/entitiesPage.test.js:27 > 2020-07-23T06:40:42.5946552Z using mock service > 2020-07-23T06:40:42.5947010Z console.error > node_modules/jsdom/lib/jsdom/virtual-console.js:29 > 2020-07-23T06:40:42.5947284Z Error: Uncaught [TypeError: > this.props.service.management.schema is not a function] > 2020-07-23T06:40:42.5947840Z at reportException > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24) > 2020-07-23T06:40:42.5948421Z at invokeEventListeners > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:209:9) > 2020-07-23T06:40:42.5949016Z at HTMLUnknownElementImpl._dispatch > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:119:9) > 2020-07-23T06:40:42.5949736Z at > HTMLUnknownElementImpl.dispatchEvent > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:82:17) > 2020-07-23T06:40:42.5950369Z at > HTMLUnknownElementImpl.dispatchEvent > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/jsdom/lib/jsdom/living/nodes/HTMLElement-impl.js:30:27) > 2020-07-23T06:40:42.5950958Z at HTMLUnknownElement.dispatchEvent > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:157:21) > 2020-07-23T06:40:42.5951530Z at Object.invokeGuardedCallbackDev > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/react-dom/cjs/react-dom.development.js:237:16) > 2020-07-23T06:40:42.5952091Z at invokeGuardedCallback > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/react-dom/cjs/react-dom.development.js:292:31) > 2020-07-23T06:40:42.5952649Z at beginWork$1 > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/react-dom/cjs/react-dom.development.js:23203:7) > 2020-07-23T06:40:42.5953290Z at performUnitOfWork > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/react-dom/cjs/react-dom.development.js:22157:12) > TypeError: this.props.service.management.schema is not a function > 2020-07-23T06:40:42.5953832Z at new EntitiesPage > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/src/details/entitiesPage.js:43:49) > 2020-07-23T06:40:42.5954391Z at constructClassInstance > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/react-dom/cjs/react-dom.development.js:12880:18) > 2020-07-23T06:40:42.5954953Z at updateClassComponent > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/react-dom/cjs/react-dom.development.js:17100:5) > 2020-07-23T06:40:42.5955508Z at beginWork > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/react-dom/cjs/react-dom.development.js:18620:16) > 2020-07-23T06:40:42.5956090Z at HTMLUnknownElement.callCallback > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/react-dom/cjs/react-dom.development.js:188:14) > 2020-07-23T06:40:42.5956690Z at invokeEventListeners > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:193:27) > 2020-07-23T06:40:42.5957276Z at HTMLUnknownElementImpl._dispatch > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:119:9) > 2020-07-23T06:40:42.5957870Z at > HTMLUnknownElementImpl.dispatchEvent > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:82:17) > 2020-07-23T06:40:42.5958468Z at > HTMLUnknownElementImpl.dispatchEvent > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/jsdom/lib/jsdom/living/nodes/HTMLElement-impl.js:30:27) > 2020-07-23T06:40:42.5959069Z at HTMLUnknownElement.dispatchEvent > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:157:21) > 2020-07-23T06:40:42.5959750Z at Object.invokeGuardedCallbackDev > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/react-dom/cjs/react-dom.development.js:237:16) > 2020-07-23T06:40:42.5960325Z at invokeGuardedCallback > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/react-dom/cjs/react-dom.development.js:292:31) > 2020-07-23T06:40:42.5960880Z at beginWork$1 > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/react-dom/cjs/react-dom.development.js:23203:7) > 2020-07-23T06:40:42.5961492Z at performUnitOfWork > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/react-dom/cjs/react-dom.development.js:22157:12) > 2020-07-23T06:40:42.5962101Z at workLoopSync > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/react-dom/cjs/react-dom.development.js:22130:22) > 2020-07-23T06:40:42.5962688Z at performSyncWorkOnRoot > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/react-dom/cjs/react-dom.development.js:21756:9) > 2020-07-23T06:40:42.5963250Z at scheduleUpdateOnFiber > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/react-dom/cjs/react-dom.development.js:21188:7) > 2020-07-23T06:40:42.5963805Z at updateContainer > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/react-dom/cjs/react-dom.development.js:24373:3) > 2020-07-23T06:40:42.5964336Z at > /home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/react-dom/cjs/react-dom.development.js:24758:7 > 2020-07-23T06:40:42.5965165Z at unbatchedUpdates > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/react-dom/cjs/react-dom.development.js:21903:12) > 2020-07-23T06:40:42.5965752Z at legacyRenderSubtreeIntoContainer > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/react-dom/cjs/react-dom.development.js:24757:5) > 2020-07-23T06:40:42.5966412Z at Object.render > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/react-dom/cjs/react-dom.development.js:24840:10) > 2020-07-23T06:40:42.5967924Z at > /home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/@testing-library/react/dist/pure.js:86:25 > 2020-07-23T06:40:42.5968354Z at batchedUpdates$1 > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/react-dom/cjs/react-dom.development.js:21856:12) > 2020-07-23T06:40:42.5968782Z at act > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/react-dom/cjs/react-dom-test-utils.development.js:929:14) > 2020-07-23T06:40:42.5969197Z at render > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/@testing-library/react/dist/pure.js:82:26) > 2020-07-23T06:40:42.5969600Z at callback > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/src/details/entitiesPage.test.js:37:29) > 2020-07-23T06:40:42.5969966Z at > /home/runner/work/qpid-dispatch/qpid-dispatch/console/react/src/serviceTest.js:30:21 > 2020-07-23T06:40:42.5970298Z console.error > node_modules/react-dom/cjs/react-dom.development.js:19527 > 2020-07-23T06:40:42.5970449Z The above error occurred in the > <EntitiesPage> component: > 2020-07-23T06:40:42.5970575Z in EntitiesPage (at > entitiesPage.test.js:38) > 2020-07-23T06:40:42.5970703Z > 2020-07-23T06:40:42.5970839Z Consider adding an error boundary to your > tree to customize error handling behavior. > 2020-07-23T06:40:42.5971217Z Visit https://fb.me/react-error-boundaries > to learn more about error boundaries. > 2020-07-23T06:40:42.5971325Z > 2020-07-23T06:40:42.5971569Z ● renders an EntitiesPage > 2020-07-23T06:40:42.5971651Z > 2020-07-23T06:40:42.5971781Z TypeError: > this.props.service.management.schema is not a function > 2020-07-23T06:40:42.5971883Z > 2020-07-23T06:40:42.5972128Z 41 | showTable: "entities" > 2020-07-23T06:40:42.5972250Z 42 | }; > 2020-07-23T06:40:42.5972380Z > 43 | this.schema = > this.props.service.management.schema(); > 2020-07-23T06:40:42.5972521Z | > ^ > 2020-07-23T06:40:42.5972649Z 44 | } > 2020-07-23T06:40:42.5972752Z 45 | > 2020-07-23T06:40:42.5972876Z 46 | lastUpdated = lastUpdated => { > 2020-07-23T06:40:42.5972956Z > 2020-07-23T06:40:42.5973082Z at new EntitiesPage > (src/details/entitiesPage.js:43:49) > 2020-07-23T06:40:42.5973428Z at constructClassInstance > (node_modules/react-dom/cjs/react-dom.development.js:12880:18) > 2020-07-23T06:40:42.5973780Z at updateClassComponent > (node_modules/react-dom/cjs/react-dom.development.js:17100:5) > 2020-07-23T06:40:42.5974117Z at beginWork > (node_modules/react-dom/cjs/react-dom.development.js:18620:16) > 2020-07-23T06:40:42.5974543Z at HTMLUnknownElement.callCallback > (node_modules/react-dom/cjs/react-dom.development.js:188:14) > 2020-07-23T06:40:42.5974927Z at invokeEventListeners > (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:193:27) > 2020-07-23T06:40:42.5975311Z at HTMLUnknownElementImpl._dispatch > (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:119:9) > 2020-07-23T06:40:42.5975696Z at HTMLUnknownElementImpl.dispatchEvent > (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:82:17) > 2020-07-23T06:40:42.5976082Z at HTMLUnknownElementImpl.dispatchEvent > (node_modules/jsdom/lib/jsdom/living/nodes/HTMLElement-impl.js:30:27) > 2020-07-23T06:40:42.5976257Z at HTMLUnknownElement.dispatchEvent > (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:157:21) > 2020-07-23T06:40:42.5976622Z at Object.invokeGuardedCallbackDev > (node_modules/react-dom/cjs/react-dom.development.js:237:16) > 2020-07-23T06:40:42.5976981Z at invokeGuardedCallback > (node_modules/react-dom/cjs/react-dom.development.js:292:31) > 2020-07-23T06:40:42.5977313Z at beginWork$1 > (node_modules/react-dom/cjs/react-dom.development.js:23203:7) > 2020-07-23T06:40:42.5977664Z at performUnitOfWork > (node_modules/react-dom/cjs/react-dom.development.js:22157:12) > 2020-07-23T06:40:42.5978002Z at workLoopSync > (node_modules/react-dom/cjs/react-dom.development.js:22130:22) > 2020-07-23T06:40:42.5978350Z at performSyncWorkOnRoot > (node_modules/react-dom/cjs/react-dom.development.js:21756:9) > 2020-07-23T06:40:42.5978697Z at scheduleUpdateOnFiber > (node_modules/react-dom/cjs/react-dom.development.js:21188:7) > 2020-07-23T06:40:42.5979042Z at updateContainer > (node_modules/react-dom/cjs/react-dom.development.js:24373:3) > 2020-07-23T06:40:42.5979360Z at > node_modules/react-dom/cjs/react-dom.development.js:24758:7 > 2020-07-23T06:40:42.5979705Z at unbatchedUpdates > (node_modules/react-dom/cjs/react-dom.development.js:21903:12) > 2020-07-23T06:40:42.5980072Z at legacyRenderSubtreeIntoContainer > (node_modules/react-dom/cjs/react-dom.development.js:24757:5) > 2020-07-23T06:40:42.5980416Z at Object.render > (node_modules/react-dom/cjs/react-dom.development.js:24840:10) > 2020-07-23T06:40:42.5980716Z at > node_modules/@testing-library/react/dist/pure.js:86:25 > 2020-07-23T06:40:42.5981050Z at batchedUpdates$1 > (node_modules/react-dom/cjs/react-dom.development.js:21856:12) > 2020-07-23T06:40:42.5981387Z at act > (node_modules/react-dom/cjs/react-dom-test-utils.development.js:929:14) > 2020-07-23T06:40:42.5981712Z at render > (node_modules/@testing-library/react/dist/pure.js:82:26) > 2020-07-23T06:40:42.5981859Z at callback > (src/details/entitiesPage.test.js:37:29) > 2020-07-23T06:40:42.5981994Z at src/serviceTest.js:30:21 > 2020-07-23T06:40:42.5982059Z > 2020-07-23T06:40:42.7918151Z PASS src/overview/dashboard/alertList.test.js > 2020-07-23T06:40:43.0150845Z PASS src/common/tableToolbar.test.js > 2020-07-23T06:40:43.5765602Z PASS src/details/schema/schemaPage.test.js > 2020-07-23T06:40:43.9532261Z PASS src/connect/connect-form.test.js > 2020-07-23T06:40:44.1563219Z PASS > src/overview/dashboard/throughputChart.test.js > 2020-07-23T06:40:44.1564044Z ● Console > 2020-07-23T06:40:44.1564115Z > 2020-07-23T06:40:44.1564250Z console.log > src/overview/dashboard/throughputChart.test.js:32 > 2020-07-23T06:40:44.1564385Z using mock service > 2020-07-23T06:40:44.1564600Z > 2020-07-23T06:40:44.3593555Z PASS src/details/entityList.test.js > 2020-07-23T06:40:44.3595054Z ● Console > 2020-07-23T06:40:44.3595419Z > 2020-07-23T06:40:44.3595807Z console.log src/details/entityList.test.js:27 > 2020-07-23T06:40:44.3596168Z using mock service > 2020-07-23T06:40:44.3596461Z > 2020-07-23T06:40:44.6467256Z PASS src/overview/dashboard/dashboardPage.test.js > 2020-07-23T06:40:44.6468683Z ● Console > 2020-07-23T06:40:44.6469065Z > 2020-07-23T06:40:44.6469613Z console.log > src/overview/dashboard/dashboardPage.test.js:34 > 2020-07-23T06:40:44.6469907Z using mock service > 2020-07-23T06:40:44.6469985Z > 2020-07-23T06:40:44.8862122Z (node:2994) UnhandledPromiseRejectionWarning: > TypeError: Caught error after test environment was torn down > 2020-07-23T06:40:44.8862818Z > 2020-07-23T06:40:44.8863883Z Cannot read property 'body' of null > 2020-07-23T06:40:44.8864851Z (node:2994) UnhandledPromiseRejectionWarning: > Unhandled promise rejection. This error originated either by throwing inside > of an async function without a catch block, or by rejecting a promise which > was not handled with .catch(). To terminate the node process on unhandled > promise rejection, use the CLI flag `--unhandled-rejections=strict` (see > https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection > id: 5) > 2020-07-23T06:40:44.8866315Z FAIL src/details/detailsTablePage.test.js > 2020-07-23T06:40:44.8869039Z ● Console > 2020-07-23T06:40:44.8869173Z > 2020-07-23T06:40:44.8869483Z console.error > node_modules/jsdom/lib/jsdom/virtual-console.js:29 > 2020-07-23T06:40:44.8869636Z Error: Uncaught [TypeError: > this.props.lastUpdated is not a function] > 2020-07-23T06:40:44.8870121Z at reportException > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24) > 2020-07-23T06:40:44.8870571Z at invokeEventListeners > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:209:9) > 2020-07-23T06:40:44.8871007Z at HTMLUnknownElementImpl._dispatch > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:119:9) > 2020-07-23T06:40:44.8871444Z at > HTMLUnknownElementImpl.dispatchEvent > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:82:17) > 2020-07-23T06:40:44.8871877Z at > HTMLUnknownElementImpl.dispatchEvent > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/jsdom/lib/jsdom/living/nodes/HTMLElement-impl.js:30:27) > 2020-07-23T06:40:44.8872310Z at HTMLUnknownElement.dispatchEvent > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:157:21) > 2020-07-23T06:40:44.8872732Z at Object.invokeGuardedCallbackDev > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/react-dom/cjs/react-dom.development.js:237:16) > 2020-07-23T06:40:44.8873135Z at invokeGuardedCallback > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/react-dom/cjs/react-dom.development.js:292:31) > 2020-07-23T06:40:44.8873529Z at commitRootImpl > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/react-dom/cjs/react-dom.development.js:22541:9) > 2020-07-23T06:40:44.8873989Z at unstable_runWithPriority > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/scheduler/cjs/scheduler.development.js:653:12) > TypeError: this.props.lastUpdated is not a function > 2020-07-23T06:40:44.8874397Z at DetailTablesPage.<anonymous> > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/src/details/detailsTablePage.js:108:26) > 2020-07-23T06:40:44.8875020Z at callCallback > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/react-dom/cjs/react-dom.development.js:12490:12) > 2020-07-23T06:40:44.8875419Z at commitUpdateQueue > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/react-dom/cjs/react-dom.development.js:12511:9) > 2020-07-23T06:40:44.8875809Z at commitLifeCycles > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/react-dom/cjs/react-dom.development.js:19858:11) > 2020-07-23T06:40:44.8876199Z at commitLayoutEffects > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/react-dom/cjs/react-dom.development.js:22803:7) > 2020-07-23T06:40:44.8876607Z at HTMLUnknownElement.callCallback > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/react-dom/cjs/react-dom.development.js:188:14) > 2020-07-23T06:40:44.8877095Z at invokeEventListeners > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:193:27) > 2020-07-23T06:40:44.8877543Z at HTMLUnknownElementImpl._dispatch > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:119:9) > 2020-07-23T06:40:44.8877972Z at > HTMLUnknownElementImpl.dispatchEvent > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:82:17) > 2020-07-23T06:40:44.8878396Z at > HTMLUnknownElementImpl.dispatchEvent > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/jsdom/lib/jsdom/living/nodes/HTMLElement-impl.js:30:27) > 2020-07-23T06:40:44.8879635Z at HTMLUnknownElement.dispatchEvent > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:157:21) > 2020-07-23T06:40:44.8880092Z at Object.invokeGuardedCallbackDev > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/react-dom/cjs/react-dom.development.js:237:16) > 2020-07-23T06:40:44.8880528Z at invokeGuardedCallback > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/react-dom/cjs/react-dom.development.js:292:31) > 2020-07-23T06:40:44.8880951Z at commitRootImpl > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/react-dom/cjs/react-dom.development.js:22541:9) > 2020-07-23T06:40:44.8881378Z at unstable_runWithPriority > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/scheduler/cjs/scheduler.development.js:653:12) > 2020-07-23T06:40:44.8881804Z at runWithPriority$1 > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/react-dom/cjs/react-dom.development.js:11039:10) > 2020-07-23T06:40:44.8882221Z at commitRoot > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/react-dom/cjs/react-dom.development.js:22381:3) > 2020-07-23T06:40:44.8882645Z at finishSyncRender > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/react-dom/cjs/react-dom.development.js:21807:3) > 2020-07-23T06:40:44.8883076Z at performSyncWorkOnRoot > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/react-dom/cjs/react-dom.development.js:21793:7) > 2020-07-23T06:40:44.8883476Z at > /home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/react-dom/cjs/react-dom.development.js:11089:24 > 2020-07-23T06:40:44.8883892Z at unstable_runWithPriority > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/scheduler/cjs/scheduler.development.js:653:12) > 2020-07-23T06:40:44.8884310Z at runWithPriority$1 > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/react-dom/cjs/react-dom.development.js:11039:10) > 2020-07-23T06:40:44.8884946Z at flushSyncCallbackQueueImpl > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/react-dom/cjs/react-dom.development.js:11084:7) > 2020-07-23T06:40:44.8885495Z at flushSyncCallbackQueue > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/react-dom/cjs/react-dom.development.js:11072:3) > 2020-07-23T06:40:44.8885931Z at scheduleUpdateOnFiber > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/react-dom/cjs/react-dom.development.js:21199:9) > 2020-07-23T06:40:44.8886364Z at Object.enqueueSetState > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/react-dom/cjs/react-dom.development.js:12639:5) > 2020-07-23T06:40:44.8886781Z at DetailTablesPage.setState > (/home/runner/work/qpid-dispatch/qpid-dispatch/console/react/node_modules/react/cjs/react.development.js:471:16) > 2020-07-23T06:40:44.8887163Z at > /home/runner/work/qpid-dispatch/qpid-dispatch/console/react/src/details/detailsTablePage.js:106:16 > 2020-07-23T06:40:44.8887616Z console.error > node_modules/react-dom/cjs/react-dom.development.js:19527 > 2020-07-23T06:40:44.8887760Z The above error occurred in the > <DetailTablesPage> component: > 2020-07-23T06:40:44.8887910Z in DetailTablesPage (at > detailsTablePage.test.js:45) > 2020-07-23T06:40:44.8888042Z > 2020-07-23T06:40:44.8888210Z Consider adding an error boundary to your > tree to customize error handling behavior. > 2020-07-23T06:40:44.8888602Z Visit https://fb.me/react-error-boundaries > to learn more about error boundaries. > 2020-07-23T06:40:44.8888695Z > 2020-07-23T06:40:44.8889023Z ● renders the DetailTablesPage > 2020-07-23T06:40:44.8889093Z > 2020-07-23T06:40:44.8889220Z TypeError: this.props.lastUpdated is not a > function > 2020-07-23T06:40:44.8889292Z > 2020-07-23T06:40:44.8889422Z 106 | this.setState({ rows, > lastUpdated: new Date() }, () => { > 2020-07-23T06:40:44.8889568Z 107 | if (this.props.details) { > 2020-07-23T06:40:44.8889749Z > 108 | > this.props.lastUpdated(this.state.lastUpdated); > 2020-07-23T06:40:44.8889901Z | ^ > 2020-07-23T06:40:44.8890030Z 109 | } > 2020-07-23T06:40:44.8890156Z 110 | }); > 2020-07-23T06:40:44.8890262Z 111 | }, > 2020-07-23T06:40:44.8890337Z > 2020-07-23T06:40:44.8890466Z at DetailTablesPage.<anonymous> > (src/details/detailsTablePage.js:108:26) > 2020-07-23T06:40:44.8890806Z at callCallback > (node_modules/react-dom/cjs/react-dom.development.js:12490:12) > 2020-07-23T06:40:44.8891157Z at commitUpdateQueue > (node_modules/react-dom/cjs/react-dom.development.js:12511:9) > 2020-07-23T06:40:44.8891490Z at commitLifeCycles > (node_modules/react-dom/cjs/react-dom.development.js:19858:11) > 2020-07-23T06:40:44.8891841Z at commitLayoutEffects > (node_modules/react-dom/cjs/react-dom.development.js:22803:7) > 2020-07-23T06:40:44.8892200Z at HTMLUnknownElement.callCallback > (node_modules/react-dom/cjs/react-dom.development.js:188:14) > 2020-07-23T06:40:44.8892704Z at invokeEventListeners > (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:193:27) > 2020-07-23T06:40:44.8893052Z at HTMLUnknownElementImpl._dispatch > (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:119:9) > 2020-07-23T06:40:44.8893408Z at HTMLUnknownElementImpl.dispatchEvent > (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:82:17) > 2020-07-23T06:40:44.8893765Z at HTMLUnknownElementImpl.dispatchEvent > (node_modules/jsdom/lib/jsdom/living/nodes/HTMLElement-impl.js:30:27) > 2020-07-23T06:40:44.8893929Z at HTMLUnknownElement.dispatchEvent > (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:157:21) > 2020-07-23T06:40:44.8894265Z at Object.invokeGuardedCallbackDev > (node_modules/react-dom/cjs/react-dom.development.js:237:16) > 2020-07-23T06:40:44.8894593Z at invokeGuardedCallback > (node_modules/react-dom/cjs/react-dom.development.js:292:31) > 2020-07-23T06:40:44.8894914Z at commitRootImpl > (node_modules/react-dom/cjs/react-dom.development.js:22541:9) > 2020-07-23T06:40:44.8895122Z at unstable_runWithPriority > (node_modules/scheduler/cjs/scheduler.development.js:653:12) > 2020-07-23T06:40:44.8895446Z at runWithPriority$1 > (node_modules/react-dom/cjs/react-dom.development.js:11039:10) > 2020-07-23T06:40:44.8895754Z at commitRoot > (node_modules/react-dom/cjs/react-dom.development.js:22381:3) > 2020-07-23T06:40:44.8896068Z at finishSyncRender > (node_modules/react-dom/cjs/react-dom.development.js:21807:3) > 2020-07-23T06:40:44.8896390Z at performSyncWorkOnRoot > (node_modules/react-dom/cjs/react-dom.development.js:21793:7) > 2020-07-23T06:40:44.8896684Z at > node_modules/react-dom/cjs/react-dom.development.js:11089:24 > 2020-07-23T06:40:44.8896828Z at unstable_runWithPriority > (node_modules/scheduler/cjs/scheduler.development.js:653:12) > 2020-07-23T06:40:44.8897147Z at runWithPriority$1 > (node_modules/react-dom/cjs/react-dom.development.js:11039:10) > 2020-07-23T06:40:44.8897521Z at flushSyncCallbackQueueImpl > (node_modules/react-dom/cjs/react-dom.development.js:11084:7) > 2020-07-23T06:40:44.8897855Z at flushSyncCallbackQueue > (node_modules/react-dom/cjs/react-dom.development.js:11072:3) > 2020-07-23T06:40:44.8898163Z at scheduleUpdateOnFiber > (node_modules/react-dom/cjs/react-dom.development.js:21199:9) > 2020-07-23T06:40:44.8898487Z at Object.enqueueSetState > (node_modules/react-dom/cjs/react-dom.development.js:12639:5) > 2020-07-23T06:40:44.8898637Z at DetailTablesPage.setState > (node_modules/react/cjs/react.development.js:471:16) > 2020-07-23T06:40:44.8898771Z at src/details/detailsTablePage.js:106:16 > 2020-07-23T06:40:44.8898847Z > 2020-07-23T06:40:45.0188146Z PASS src/common/contextMenuComponent.test.js > 2020-07-23T06:40:45.6694791Z PASS src/overview/dashboard/inflightChart.test.js > 2020-07-23T06:40:45.6696131Z ● Console > 2020-07-23T06:40:45.6696464Z > 2020-07-23T06:40:45.6696783Z console.log > src/overview/dashboard/inflightChart.test.js:32 > 2020-07-23T06:40:45.6697286Z using mock service > 2020-07-23T06:40:45.6699304Z > 2020-07-23T06:40:45.8071809Z PASS src/common/DropdownMenu.test.js > 2020-07-23T06:40:45.8073128Z ● Console > 2020-07-23T06:40:45.8073443Z > 2020-07-23T06:40:45.8073975Z console.error > node_modules/prop-types/checkPropTypes.js:20 > 2020-07-23T06:40:45.8074328Z Warning: Failed prop type: The prop > `handleSuppress` is marked as required in `DropdownMenu`, but its value is > `undefined`. > 2020-07-23T06:40:45.8074655Z in DropdownMenu (at > DropdownMenu.test.js:31) > 2020-07-23T06:40:45.8075151Z console.error > node_modules/prop-types/checkPropTypes.js:20 > 2020-07-23T06:40:45.8075673Z Warning: Failed prop type: The prop > `suppress` is marked as required in `DropdownMenu`, but its value is > `undefined`. > 2020-07-23T06:40:45.8076010Z in DropdownMenu (at > DropdownMenu.test.js:31) > 2020-07-23T06:40:45.8076259Z > 2020-07-23T06:40:46.3014942Z PASS src/details/createEntity.test.js > 2020-07-23T06:40:46.5054860Z PASS src/details/updateEntity.test.js > 2020-07-23T06:40:47.5580260Z PASS src/App.test.js > 2020-07-23T06:40:47.9484975Z PASS src/connect/connectPage.test.js > 2020-07-23T06:40:48.4055935Z PASS src/topology/topologyPage.test.js > 2020-07-23T06:40:48.7050377Z PASS src/common/updated.test.js > 2020-07-23T06:40:48.9032999Z PASS src/common/qdrPopup.test.js > 2020-07-23T06:40:49.1001301Z PASS src/chord/chordPage.test.js > 2020-07-23T06:40:49.3949395Z PASS src/details/emptyTablePage.test.js > 2020-07-23T06:40:49.3959279Z > 2020-07-23T06:40:49.3960703Z Summary of all failing tests > 2020-07-23T06:40:49.3964897Z FAIL src/overview/dashboard/layout.test.js > 2020-07-23T06:40:49.3966806Z ● renders the correct title > 2020-07-23T06:40:49.3967235Z > 2020-07-23T06:40:49.3970905Z TypeError: > this.service.management.connection.getReceiverAddress is not a function > 2020-07-23T06:40:49.3971231Z > 2020-07-23T06:40:49.3973038Z 222 | //this.redirect = true; > 2020-07-23T06:40:49.3975536Z 223 | let user = "anonymous"; > 2020-07-23T06:40:49.3981492Z > 224 | let parts = > this.service.management.connection.getReceiverAddress().split("/"); > 2020-07-23T06:40:49.3985096Z | > ^ > 2020-07-23T06:40:49.3989020Z 225 | parts[parts.length - 1] = > "$management"; > 2020-07-23T06:40:49.3992139Z 226 | let router = parts.join("/"); > 2020-07-23T06:40:49.3994689Z 227 | // get connections for router > to which console is connected > 2020-07-23T06:40:49.3994937Z > 2020-07-23T06:40:49.3997971Z at PageLayout.handleConnect > (src/overview/dashboard/layout.js:224:54) > 2020-07-23T06:40:49.4000181Z at src/overview/dashboard/layout.js:134:14 > 2020-07-23T06:40:49.4000457Z > 2020-07-23T06:40:49.4002765Z FAIL src/details/entitiesPage.test.js > 2020-07-23T06:40:49.4004673Z ● renders an EntitiesPage > 2020-07-23T06:40:49.4005006Z > 2020-07-23T06:40:49.4009324Z TypeError: > this.props.service.management.schema is not a function > 2020-07-23T06:40:49.4009530Z > 2020-07-23T06:40:49.4011429Z 41 | showTable: "entities" > 2020-07-23T06:40:49.4011955Z 42 | }; > 2020-07-23T06:40:49.4016119Z > 43 | this.schema = > this.props.service.management.schema(); > 2020-07-23T06:40:49.4019785Z | > ^ > 2020-07-23T06:40:49.4020407Z 44 | } > 2020-07-23T06:40:49.4020887Z 45 | > 2020-07-23T06:40:49.4023371Z 46 | lastUpdated = lastUpdated => { > 2020-07-23T06:40:49.4023630Z > 2020-07-23T06:40:49.4026665Z at new EntitiesPage > (src/details/entitiesPage.js:43:49) > 2020-07-23T06:40:49.4032547Z at constructClassInstance > (node_modules/react-dom/cjs/react-dom.development.js:12880:18) > 2020-07-23T06:40:49.4038021Z at updateClassComponent > (node_modules/react-dom/cjs/react-dom.development.js:17100:5) > 2020-07-23T06:40:49.4042081Z at beginWork > (node_modules/react-dom/cjs/react-dom.development.js:18620:16) > 2020-07-23T06:40:49.4047902Z at HTMLUnknownElement.callCallback > (node_modules/react-dom/cjs/react-dom.development.js:188:14) > 2020-07-23T06:40:49.4053185Z at invokeEventListeners > (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:193:27) > 2020-07-23T06:40:49.4059152Z at HTMLUnknownElementImpl._dispatch > (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:119:9) > 2020-07-23T06:40:49.4065373Z at HTMLUnknownElementImpl.dispatchEvent > (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:82:17) > 2020-07-23T06:40:49.4071407Z at HTMLUnknownElementImpl.dispatchEvent > (node_modules/jsdom/lib/jsdom/living/nodes/HTMLElement-impl.js:30:27) > 2020-07-23T06:40:49.4077710Z at HTMLUnknownElement.dispatchEvent > (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:157:21) > 2020-07-23T06:40:49.4083370Z at Object.invokeGuardedCallbackDev > (node_modules/react-dom/cjs/react-dom.development.js:237:16) > 2020-07-23T06:40:49.4154234Z at invokeGuardedCallback > (node_modules/react-dom/cjs/react-dom.development.js:292:31) > 2020-07-23T06:40:49.4209804Z at beginWork$1 > (node_modules/react-dom/cjs/react-dom.development.js:23203:7) > 2020-07-23T06:40:49.4210280Z at performUnitOfWork > (node_modules/react-dom/cjs/react-dom.development.js:22157:12) > 2020-07-23T06:40:49.4210619Z at workLoopSync > (node_modules/react-dom/cjs/react-dom.development.js:22130:22) > 2020-07-23T06:40:49.4211109Z at performSyncWorkOnRoot > (node_modules/react-dom/cjs/react-dom.development.js:21756:9) > 2020-07-23T06:40:49.4211494Z at scheduleUpdateOnFiber > (node_modules/react-dom/cjs/react-dom.development.js:21188:7) > 2020-07-23T06:40:49.4211879Z at updateContainer > (node_modules/react-dom/cjs/react-dom.development.js:24373:3) > 2020-07-23T06:40:49.4212237Z at > node_modules/react-dom/cjs/react-dom.development.js:24758:7 > 2020-07-23T06:40:49.4212611Z at unbatchedUpdates > (node_modules/react-dom/cjs/react-dom.development.js:21903:12) > 2020-07-23T06:40:49.4213008Z at legacyRenderSubtreeIntoContainer > (node_modules/react-dom/cjs/react-dom.development.js:24757:5) > 2020-07-23T06:40:49.4213394Z at Object.render > (node_modules/react-dom/cjs/react-dom.development.js:24840:10) > 2020-07-23T06:40:49.4213962Z at > node_modules/@testing-library/react/dist/pure.js:86:25 > 2020-07-23T06:40:49.4214364Z at batchedUpdates$1 > (node_modules/react-dom/cjs/react-dom.development.js:21856:12) > 2020-07-23T06:40:49.4224486Z at act > (node_modules/react-dom/cjs/react-dom-test-utils.development.js:929:14) > 2020-07-23T06:40:49.4224858Z at render > (node_modules/@testing-library/react/dist/pure.js:82:26) > 2020-07-23T06:40:49.4224989Z at callback > (src/details/entitiesPage.test.js:37:29) > 2020-07-23T06:40:49.4225153Z at src/serviceTest.js:30:21 > 2020-07-23T06:40:49.4225265Z > 2020-07-23T06:40:49.4326087Z FAIL src/details/detailsTablePage.test.js > 2020-07-23T06:40:49.4348534Z ● renders the DetailTablesPage > 2020-07-23T06:40:49.4348662Z > 2020-07-23T06:40:49.4348817Z TypeError: this.props.lastUpdated is not a > function > 2020-07-23T06:40:49.4348886Z > 2020-07-23T06:40:49.4349210Z 106 | this.setState({ rows, > lastUpdated: new Date() }, () => { > 2020-07-23T06:40:49.4349397Z 107 | if (this.props.details) { > 2020-07-23T06:40:49.4349726Z > 108 | > this.props.lastUpdated(this.state.lastUpdated); > 2020-07-23T06:40:49.4350355Z | ^ > 2020-07-23T06:40:49.4350520Z 109 | } > 2020-07-23T06:40:49.4350669Z 110 | }); > 2020-07-23T06:40:49.4350868Z 111 | }, > 2020-07-23T06:40:49.4350986Z > 2020-07-23T06:40:49.4351147Z at DetailTablesPage.<anonymous> > (src/details/detailsTablePage.js:108:26) > 2020-07-23T06:40:49.4351545Z at callCallback > (node_modules/react-dom/cjs/react-dom.development.js:12490:12) > 2020-07-23T06:40:49.4351941Z at commitUpdateQueue > (node_modules/react-dom/cjs/react-dom.development.js:12511:9) > 2020-07-23T06:40:49.4352330Z at commitLifeCycles > (node_modules/react-dom/cjs/react-dom.development.js:19858:11) > 2020-07-23T06:40:49.4352734Z at commitLayoutEffects > (node_modules/react-dom/cjs/react-dom.development.js:22803:7) > 2020-07-23T06:40:49.4354781Z at HTMLUnknownElement.callCallback > (node_modules/react-dom/cjs/react-dom.development.js:188:14) > 2020-07-23T06:40:49.4355189Z at invokeEventListeners > (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:193:27) > 2020-07-23T06:40:49.4355639Z at HTMLUnknownElementImpl._dispatch > (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:119:9) > 2020-07-23T06:40:49.4356065Z at HTMLUnknownElementImpl.dispatchEvent > (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:82:17) > 2020-07-23T06:40:49.4356485Z at HTMLUnknownElementImpl.dispatchEvent > (node_modules/jsdom/lib/jsdom/living/nodes/HTMLElement-impl.js:30:27) > 2020-07-23T06:40:49.4356698Z at HTMLUnknownElement.dispatchEvent > (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:157:21) > 2020-07-23T06:40:49.4357098Z at Object.invokeGuardedCallbackDev > (node_modules/react-dom/cjs/react-dom.development.js:237:16) > 2020-07-23T06:40:49.4357508Z at invokeGuardedCallback > (node_modules/react-dom/cjs/react-dom.development.js:292:31) > 2020-07-23T06:40:49.4357846Z at commitRootImpl > (node_modules/react-dom/cjs/react-dom.development.js:22541:9) > 2020-07-23T06:40:49.4358041Z at unstable_runWithPriority > (node_modules/scheduler/cjs/scheduler.development.js:653:12) > 2020-07-23T06:40:49.4358416Z at runWithPriority$1 > (node_modules/react-dom/cjs/react-dom.development.js:11039:10) > 2020-07-23T06:40:49.4358807Z at commitRoot > (node_modules/react-dom/cjs/react-dom.development.js:22381:3) > 2020-07-23T06:40:49.4359241Z at finishSyncRender > (node_modules/react-dom/cjs/react-dom.development.js:21807:3) > 2020-07-23T06:40:49.4359628Z at performSyncWorkOnRoot > (node_modules/react-dom/cjs/react-dom.development.js:21793:7) > 2020-07-23T06:40:49.4359990Z at > node_modules/react-dom/cjs/react-dom.development.js:11089:24 > 2020-07-23T06:40:49.4360198Z at unstable_runWithPriority > (node_modules/scheduler/cjs/scheduler.development.js:653:12) > 2020-07-23T06:40:49.4360715Z at runWithPriority$1 > (node_modules/react-dom/cjs/react-dom.development.js:11039:10) > 2020-07-23T06:40:49.4361119Z at flushSyncCallbackQueueImpl > (node_modules/react-dom/cjs/react-dom.development.js:11084:7) > 2020-07-23T06:40:49.4361502Z at flushSyncCallbackQueue > (node_modules/react-dom/cjs/react-dom.development.js:11072:3) > 2020-07-23T06:40:49.4361835Z at scheduleUpdateOnFiber > (node_modules/react-dom/cjs/react-dom.development.js:21199:9) > 2020-07-23T06:40:49.4362245Z at Object.enqueueSetState > (node_modules/react-dom/cjs/react-dom.development.js:12639:5) > 2020-07-23T06:40:49.4362437Z at DetailTablesPage.setState > (node_modules/react/cjs/react.development.js:471:16) > 2020-07-23T06:40:49.4362617Z at src/details/detailsTablePage.js:106:16 > 2020-07-23T06:40:49.4362747Z > 2020-07-23T06:40:49.4362808Z > 2020-07-23T06:40:49.4363001Z Test Suites: 3 failed, 30 passed, 33 total > 2020-07-23T06:40:49.4363165Z Tests: 3 failed, 38 passed, 41 total > 2020-07-23T06:40:49.4363503Z Snapshots: 0 total > 2020-07-23T06:40:49.4363655Z Time: 19.776s > 2020-07-23T06:40:49.4363754Z Ran all test suites. > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org