{ "stats": { "suites": 1, "tests": 1, "passes": 1, "pending": 0, "failures": 0, "start": "2025-11-03T06:53:27.213Z", "end": "2025-11-03T06:56:54.167Z", "duration": 206954, "testsRegistered": 1, "passPercent": 100, "pendingPercent": 0, "other": 0, "hasOther": false, "skipped": 0, "hasSkipped": false }, "results": [ { "uuid": "be9a1af2-ea68-479a-9018-999379e8beb2", "title": "", "fullFile": "cypress/component/NeuronConnection.cy.js", "file": "cypress/component/NeuronConnection.cy.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { "uuid": "1320abc9-9dac-4287-97e5-b3cf682192e9", "title": "MapContent", "fullFile": "", "file": "", "beforeHooks": [], "afterHooks": [], "tests": [ { "title": "Neuron connection mode testing", "fullTitle": "MapContent Neuron connection mode testing", "timedOut": null, "duration": 206613, "state": "passed", "speed": "slow", "pass": true, "fail": false, "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('#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.get('[style=\"\"] > .el-card__header > .header > .el-input > .el-input__wrapper > .el-input__inner').clear();\n cy.get('[style=\"\"] > .el-card__header > .header > .el-input > .el-input__wrapper > .el-input__inner').type(\"heart\");\n cy.get('[style=\"\"] > .el-card__header > .header > .el-button--primary').click();\n cy.get('.connectivity-card-container > .connectivity-card').should('have.length.greaterThan', 0);\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": {}, "uuid": "4dd36ea8-f50d-463a-a866-58a5e20e8178", "parentUUID": "1320abc9-9dac-4287-97e5-b3cf682192e9", "isHook": false, "skipped": false } ], "suites": [], "passes": [ "4dd36ea8-f50d-463a-a866-58a5e20e8178" ], "failures": [], "pending": [], "skipped": [], "duration": 206613, "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" } } }