{ "stats": { "suites": 1, "tests": 1, "passes": 0, "pending": 0, "failures": 1, "start": "2025-11-06T23:55:58.680Z", "end": "2025-11-06T23:57:37.945Z", "duration": 99265, "testsRegistered": 1, "passPercent": 0, "pendingPercent": 0, "other": 0, "hasOther": false, "skipped": 0, "hasSkipped": false }, "results": [ { "uuid": "b3bd01ca-ed66-4928-80fd-24087c0fc9f2", "title": "", "fullFile": "cypress/component/NeuronConnection.cy.js", "file": "cypress/component/NeuronConnection.cy.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "7d6505f8-124c-4cb0-9458-07b184e93566", "title": "MapContent", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Neuron connection mode testing", "fullTitle": "MapContent Neuron connection mode testing", "timedOut": null, "duration": 94624, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, "code": "//Intercept any initial response with preloaded fixture\n cy.get('@stub').then((stub) => {\n cy.intercept('/sparc-api/dataset_info/using_multiple_dois/*', {statusCode: 200, body: stub.noResponse});\n cy.intercept('/sparc-api/dataset_info/using_multiple_dois/?dois=*', {statusCode: 200, body: stub.resultResponse}).as(\"mouseDataset\");\n cy.intercept('/sparc-api/get-organ-curies', {statusCode: 200, body: stub.curiesResponse}).as(\"curieResponse\");\n cy.intercept('/sparc-api/get_featured_datasets_identifiers', {statusCode: 200, body: stub.featuredDatasetResponse}).as(\"featuredDatasetResponse\");\n const anatomy_dataset = {\n \"result\": [stub.datasetResult]\n };\n cy.intercept('/sparc-api/dataset_info/anatomy?identifier=130', {statusCode: 200, body: anatomy_dataset}).as(\"anatomyResponse\");\n })\n cy.mount(MapContent, {\n props: {\n options: {\n sparcApi: \"https://mock-test/sparc-api/\",\n flatmapAPI: \"https://mapcore-demo.org/current/flatmap/v3/\",\n algoliaKey: Cypress.env('ALGOLIA_KEY'),\n algoliaId: Cypress.env('ALGOLIA_ID'),\n },\n },\n global: {\n stubs: {\n transition: false, // Disable transition to avoid el-tag issue - PR #432 for more details\n }\n },\n });\n cy.get('.mapcontent').invoke('attr', 'style', 'height: 880px').should('have.attr', 'style', 'height: 880px');\n cy.get('.header').should('be.visible');\n cy.get('.toolbar-title').should('exist');\n // Sidebar should not be visbile\n cy.get('.el-drawer.rtl.my-drawer').should('not.be.visible');\n cy.get('.maplibregl-canvas-container > .maplibregl-canvas').should('be.visible');\n cy.get('#maplibre-minimap .maplibregl-canvas-container > .maplibregl-canvas', { timeout: 60000 }).should('be.visible');\n // Open the sidebar\n cy.get('.side-bar > .open-tab').should('exist').click();\n // connectivity explorer\n cy.get('.tabs-container > :nth-child(2)').click();\n cy.connectivitySearch('heart');\n cy.connectivitySearch('132');\n // Compare connectivity search results for different search terms\n searchTermPairs.forEach(([term1, term2]) => {\n cy.compareConnectivitySearchResults(term1, term2);\n });\n // clear search\n cy.get('[style=\"\"] > .el-card__header > .header > .el-input > .el-input__wrapper > .el-input__inner').clear();\n // Test Neuron connection mode, competency not yet ready for production, disable for now.\n for (const [key, value] of Object.entries(neuronConnectionSettings)) {\n cy.checkNeuronConnectionMode(key, value);\n }", "err": { "message": "AssertionError: expected '12 results | Showing' to equal '14 results | Showing'", "estack": "AssertionError: expected '12 results | Showing' to equal '14 results | Showing'\n at captureUserInvocationStack (http://localhost:8081/__cypress/runner/cypress_runner.js:138996:94)\n at Proxy. (http://localhost:8081/__cypress/runner/cypress_runner.js:139024:9)\n at Proxy.assertEqual (http://localhost:8081/__cypress/runner/cypress_runner.js:80377:12)\n at Proxy.methodWrapper (http://localhost:8081/__cypress/runner/cypress_runner.js:78199:25)\n at Context. (http://localhost:8081/__cypress/src/cypress/support/commands.js:197:38)\n at getRet (http://localhost:8081/__cypress/runner/cypress_runner.js:118826:20)\n at tryCatcher (http://localhost:8081/__cypress/runner/cypress_runner.js:1807:23)\n at Promise.attempt.Promise.try (http://localhost:8081/__cypress/runner/cypress_runner.js:4315:29)\n at Context.thenFn (http://localhost:8081/__cypress/runner/cypress_runner.js:118837:66)\n at Context.then (http://localhost:8081/__cypress/runner/cypress_runner.js:119088:21)", "diff": "- '12 results | Showing'\n+ '14 results | Showing'\n" }, "uuid": "e2d783b0-971a-45c6-a721-1575328596e4", "parentUUID": "7d6505f8-124c-4cb0-9458-07b184e93566", "isHook": false, "skipped": false } ], "suites": [], "passes": [], "failures": [ "e2d783b0-971a-45c6-a721-1575328596e4" ], "pending": [], "skipped": [], "duration": 94624, "root": false, "rootEmpty": false, "_timeout": 2000 } ], "passes": [], "failures": [], "pending": [], "skipped": [], "duration": 0, "root": true, "rootEmpty": true, "_timeout": 2000 } ], "meta": { "mocha": { "version": "7.0.1" }, "mochawesome": { "options": { "quiet": false, "reportFilename": "mochawesome", "saveHtml": false, "saveJson": true, "consoleReporter": "spec", "useInlineDiffs": false, "code": true }, "version": "7.1.4" }, "marge": { "options": { "id": "default", "reportDir": "cypress/results/json", "overwrite": false, "html": false, "json": true }, "version": "6.3.0" } } }