Build: #434 failed

Job: Test, build and push docker image failed

Stages & jobs

  1. Default Stage

  2. QA

suite for add bulk concepts async actions should handle error in FETCh FILTEREd CONCEPTS: Test case result

The below summarizes the result of the test " suite for add bulk concepts async actions should handle error in FETCh FILTEREd CONCEPTS" in build 434 of Open Concept Lab - OCL Dictionary Manager - Default Job.
Description
suite for add bulk concepts async actions should handle error in FETCh FILTEREd CONCEPTS
Test class
Test suite for addBulkConcepts async actions should handle error in FETCH_FILTERED_CONCEPTS
Method
Test suite for addBulkConcepts async actions should handle error in FETCH_FILTERED_CONCEPTS
Duration
< 1 sec
Status
Failed (New Failure)

Error Log

Error: expect(received).toEqual(expected)

Expected value to equal:
  [{"payload": true, "type": "[ui] toggle spinner"}, {"payload": false, "type": "[ui] toggle spinner"}]
Received:
  [{"payload": true, "type": "[ui] toggle spinner"}, {"payload": [{"concept_class": "Diagnosis", "datatype": "N/A", "descriptions": [{"description": "The proportion of women of reproductive age (15-49 years) who are not pregnant and are accepting a modern contraceptive method (new and repeat acceptors).  ", "description_type": null, "external_id": null, "locale": "en", "locale_preferred": true, "type": "ConceptDescription", "uuid": "453aa9941e824becaad4b374899e8bcb"}], "display_locale": "en", "display_name": "Bronze Diabetes", "external_id": "146869AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "id": "1468667", "is_latest_version": true, "locale": null, "mappings": null, "owner": "CIEL", "owner_type": "Organization", "owner_url": "/orgs/CIEL/", "retired": false, "source": "CIEL", "url": "/orgs/CIEL/sources/CIEL/concepts/146869/", "version": "5835c0e2955c3c0007e5fb79", "version_url": "/orgs/CIEL/sources/CIEL/concepts/146869/5835c0e2955c3c0007e5fb79/"}], "type": "[concept] fetch_filtered_concepts"}, {"payload": false, "type": "[ui] toggle spinner"}]

Difference:

- Expected
+ Received

@@ -2,9 +2,44 @@
    Object {
      "payload": true,
      "type": "[ui] toggle spinner",
    },
    Object {
+     "payload": Array [
+       Object {
+         "concept_class": "Diagnosis",
+         "datatype": "N/A",
+         "descriptions": Array [
+           Object {
+             "description": "The proportion of women of reproductive age (15-49 years) who are not pregnant and are accepting a modern contraceptive method (new and repeat acceptors).  ",
+             "description_type": null,
+             "external_id": null,
+             "locale": "en",
+             "locale_preferred": true,
+             "type": "ConceptDescription",
+             "uuid": "453aa9941e824becaad4b374899e8bcb",
+           },
+         ],
+         "display_locale": "en",
+         "display_name": "Bronze Diabetes",
+         "external_id": "146869AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
+         "id": "1468667",
+         "is_latest_version": true,
+         "locale": null,
+         "mappings": null,
+         "owner": "CIEL",
+         "owner_type": "Organization",
+         "owner_url": "/orgs/CIEL/",
+         "retired": false,
+         "source": "CIEL",
+         "url": "/orgs/CIEL/sources/CIEL/concepts/146869/",
+         "version": "5835c0e2955c3c0007e5fb79",
+         "version_url": "/orgs/CIEL/sources/CIEL/concepts/146869/5835c0e2955c3c0007e5fb79/",
+       },
+     ],
+     "type": "[concept] fetch_filtered_concepts",
+   },
+   Object {
      "payload": false,
      "type": "[ui] toggle spinner",
    },
  ]
    at toEqual (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/src/tests/bulkConcepts/actions/bulkConcept.test.js:197:34)