Build: #282 failed

Job: Test, build and push docker image failed

Stages & jobs

  1. Default Stage

  2. QA

suite for dictionary concept actions should handle FETCh EXISTINg CONCEPT: Test case result

The below summarizes the result of the test " suite for dictionary concept actions should handle FETCh EXISTINg CONCEPT" in build 282 of Open Concept Lab - OCL Dictionary Manager - Default Job. View test case history
Description
suite for dictionary concept actions should handle FETCh EXISTINg CONCEPT
Test class
Test suite for dictionary concept actions should handle FETCH_EXISTING_CONCEPT
Method
Test suite for dictionary concept actions should handle FETCH_EXISTING_CONCEPT
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": {"concept_class": "Indicator", "created_on": "2016-11-10T13:37:22.553", "datatype": "Numeric", "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": "Contraceptive acceptance rate", "external_id": null, "extras": {"Applicable Reporting Units": "HP, HC/Clinic, Hospital, WorHO, ZHD/ScHO, RHB, FMOH", "Denominator": "Total number of women of reproductive age (15-49) who are not pregnant", "Disaggregation": "By acceptors: New, repeat
Age: 15-19, 20-24, 25-49 years
By  Methods: Pills, Injectables, Implants, IUD and Others", "HMIS-Category-1": "C1: Access to Health Service", "HMIS-Category-2": "C1.1 Maternal and Child Health", "HMIS-Category-3": "C.1.1 Maternal Health", "HMIS-Category-4": "", "Interpretation": "This indicator is directly related to operations: for contraception utilization (and prevalence) to increase, the numbers of both new and repeat acceptors should increase. Each acceptor is counted only once, the first time s/he receives contraceptive services in the fiscal year.
“New acceptors” refers to the number of acceptors who receive family planning services from a recognized program for the first time irrespective of the method used. This is not the number of consultations. Each acceptor is enumerated once in the year, at the first consultation for contraception in the calendar year. 
“Repeat acceptors” refers to the number of acceptors who receive family planning services from a family planning program previously irrespective of the method used.  Long acting FP method users will also be counted as repeat every year including routine checkup for ongoing use of a long term method such as Norplant, IUD, etc.
New and repeat contraceptive acceptors are reported as two separate counts, so it is possible to calculate each rate separately as needed. Acceptor data reported from NGOs and other community-based non MOH sources can also be included in this calculation.", "Multiplier": "100", "Numerator": "Number of new and repeat acceptors", "Primary Sources": "Family planning register; Service delivery tally (for HP), RH register (for primary private clinics), Pre-ART, ART registers", "Reporting Frequency": "Monthly"}, "id": "C1.1.1.1", "is_latest_version": true, "locale": null, "mappings": "mappings", "names": [{"external_id": null, "locale": "en", "locale_preferred": true, "name": "Contraceptive acceptance rate", "name_type": "Fully Specified", "type": "ConceptName", "uuid": "42d624cf7f5b462f831a79f43f043f49"}], "owner": "EthiopiaNHDD", "owner_type": "Organization", "owner_url": "/orgs/EthiopiaNHDD/", "retired": false, "source": "HMIS-Indicators", "source_url": "/orgs/EthiopiaNHDD/sources/HMIS-Indicators/", "type": "Concept", "updated_on": "2017-10-13T07:12:36.218", "url": "/orgs/EthiopiaNHDD/sources/HMIS-Indicators/concepts/C1.1.1.1/", "uuid": "5824be62fc6b9000075d4981", "version": "5824be62fc6b9000075d4981", "version_created_by": "root", "version_created_on": "2016-11-10T13:37:22.553", "version_url": "/orgs/EthiopiaNHDD/sources/HMIS-Indicators/concepts/C1.1.1.1/5824be62fc6b9000075d4981/"}, "type": "[concept] fetch_existing_concept"}, {"payload": false, "type": "[ui] toggle spinner"}]
Received:
  [{"payload": true, "type": "[ui] toggle spinner"}, {"payload": "bad request", "type": "[concept] fetch_existing_concept_error"}, {"payload": false, "type": "[ui] toggle spinner"}]

Difference:

- Expected
+ Received

@@ -2,78 +2,12 @@
   Object {
     "payload": true,
     "type": "[ui] toggle spinner",
   },
   Object {
-    "payload": Object {
-      "concept_class": "Indicator",
-      "created_on": "2016-11-10T13:37:22.553",
-      "datatype": "Numeric",
-      "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": "Contraceptive acceptance rate",
-      "external_id": null,
-      "extras": Object {
-        "Applicable Reporting Units": "HP, HC/Clinic, Hospital, WorHO, ZHD/ScHO, RHB, FMOH",
-        "Denominator": "Total number of women of reproductive age (15-49) who are not pregnant",
-        "Disaggregation": "By acceptors: New, repeat
-Age: 15-19, 20-24, 25-49 years
-By  Methods: Pills, Injectables, Implants, IUD and Others",
-        "HMIS-Category-1": "C1: Access to Health Service",
-        "HMIS-Category-2": "C1.1 Maternal and Child Health",
-        "HMIS-Category-3": "C.1.1 Maternal Health",
-        "HMIS-Category-4": "",
-        "Interpretation": "This indicator is directly related to operations: for contraception utilization (and prevalence) to increase, the numbers of both new and repeat acceptors should increase. Each acceptor is counted only once, the first time s/he receives contraceptive services in the fiscal year.
-“New acceptors” refers to the number of acceptors who receive family planning services from a recognized program for the first time irrespective of the method used. This is not the number of consultations. Each acceptor is enumerated once in the year, at the first consultation for contraception in the calendar year. 
-“Repeat acceptors” refers to the number of acceptors who receive family planning services from a family planning program previously irrespective of the method used.  Long acting FP method users will also be counted as repeat every year including routine checkup for ongoing use of a long term method such as Norplant, IUD, etc.
-New and repeat contraceptive acceptors are reported as two separate counts, so it is possible to calculate each rate separately as needed. Acceptor data reported from NGOs and other community-based non MOH sources can also be included in this calculation.",
-        "Multiplier": "100",
-        "Numerator": "Number of new and repeat acceptors",
-        "Primary Sources": "Family planning register; Service delivery tally (for HP), RH register (for primary private clinics), Pre-ART, ART registers",
-        "Reporting Frequency": "Monthly",
-      },
-      "id": "C1.1.1.1",
-      "is_latest_version": true,
-      "locale": null,
-      "mappings": "mappings",
-      "names": Array [
-        Object {
-          "external_id": null,
-          "locale": "en",
-          "locale_preferred": true,
-          "name": "Contraceptive acceptance rate",
-          "name_type": "Fully Specified",
-          "type": "ConceptName",
-          "uuid": "42d624cf7f5b462f831a79f43f043f49",
-        },
-      ],
-      "owner": "EthiopiaNHDD",
-      "owner_type": "Organization",
-      "owner_url": "/orgs/EthiopiaNHDD/",
-      "retired": false,
-      "source": "HMIS-Indicators",
-      "source_url": "/orgs/EthiopiaNHDD/sources/HMIS-Indicators/",
-      "type": "Concept",
-      "updated_on": "2017-10-13T07:12:36.218",
-      "url": "/orgs/EthiopiaNHDD/sources/HMIS-Indicators/concepts/C1.1.1.1/",
-      "uuid": "5824be62fc6b9000075d4981",
-      "version": "5824be62fc6b9000075d4981",
-      "version_created_by": "root",
-      "version_created_on": "2016-11-10T13:37:22.553",
-      "version_url": "/orgs/EthiopiaNHDD/sources/HMIS-Indicators/concepts/C1.1.1.1/5824be62fc6b9000075d4981/",
-    },
-    "type": "[concept] fetch_existing_concept",
+    "payload": "bad request",
+    "type": "[concept] fetch_existing_concept_error",
   },
   Object {
     "payload": false,
     "type": "[ui] toggle spinner",
   },
    at store.dispatch.then (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/src/tests/dictionaryConcepts/actions/dictionaryConcept.test.js:426:34)