Project Number Date
EtherCIS-VEHR-features 0 13 Feb 2018, 11:31

Failures Overview

The following summary displays scenarios that failed.

629ms
Scenario Commit composition in flat json and retrieve raw format
Steps
When Flat json file IDCR - Immunisation summary.v0.flat.json with template id IDCR - Immunisation summary.v0 is committed to service 517ms
Then A composition id should be returned by the API 000ms
And Composition id should allow retrieval of composition in raw format 112ms
java.lang.AssertionError
	at org.junit.Assert.fail(Assert.java:86)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertTrue(Assert.java:52)
	at com.ethercis.vehr.CompositionAPISteps.getComposition(CompositionAPISteps.java:78)
	at com.ethercis.vehr.CompositionAPISteps.compositionIdShouldAllowRetrievalOfCompositionInRawFormat(CompositionAPISteps.java:61)
	at ✽.And Composition id should allow retrieval of composition in raw format(RestApiComposition.feature:21)
After CompositionAPISteps.cleanUp() 013ms
After QueryWithAqlSteps.cleanUp() 000ms
042ms
Scenario Select data item using its archetype node id and name
Query compositions which contain data items that can can only be distinguished by their names. The query uses [atXXXX,'data item name'] syntax in SELECT clause to select specific data items.
Steps
When An AQL query that selects composition uids and data items is created 000ms
And The data items are selected based on both archetype node id and name 041ms
Then Data items with same node id should have different values if they have different names 001ms
java.lang.AssertionError: Values should be different. Actual: 2 puffs
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failEquals(Assert.java:185)
	at org.junit.Assert.assertNotEquals(Assert.java:161)
	at org.junit.Assert.assertNotEquals(Assert.java:175)
	at com.ethercis.vehr.AqlFeaturesSteps.lambda$dataItemsWithSameNodeIdShouldHaveDifferentValuesIfTheyHaveDifferentNames$4(AqlFeaturesSteps.java:175)
	at java.util.ArrayList.forEach(ArrayList.java:1255)
	at com.ethercis.vehr.AqlFeaturesSteps.dataItemsWithSameNodeIdShouldHaveDifferentValuesIfTheyHaveDifferentNames(AqlFeaturesSteps.java:174)
	at ✽.Then Data items with same node id should have different values if they have different names(code4health/Aql.feature:110)
After CompositionAPISteps.cleanUp() 022ms
After QueryWithAqlSteps.cleanUp() 000ms