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.
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