Collapse |
Failed
|
HtmlFormEntryExportUtilTest
getObsValueAsString_shouldRenderCorrectly
History
|
Test against 2.4 |
< 1 sec |
java.lang.AssertionError
at org.junit.Assert.fail(Assert.java:87)
at org.junit.Assert.assertTrue(Assert.java:42)
at org.junit.Assert.assertTrue(Assert.java:53)
at org.openmrs.module.htmlformentry.HtmlFormEntryExportUtilTest.getObsValueAsString_shouldRenderCorrectly(HtmlFormEntryExportUtilTest.java:360)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
(65 more lines...)
|
Collapse |
Failed
|
ObsReferenceTagTest
editSingleReferenceObsShouldShowReferenceNumericObsWithCustomMessageFromSameDateOutsideOfEncounterIfNoEncounterValue
History
|
Test against 2.4 |
< 1 sec |
java.lang.AssertionError: Some custom message with value 75.0 kg for encounter Emergency is not contained in <div class="htmlform"> Date: <span id='encounterDate'><span class="error field-error" style="display: none" id="w2"></span><input type="text" size="10" id="w1-display"/><input type="hidden" name="w1" id="w1" /><script>setupDatePicker('dd/mm/yy', '110,20','en-GB', '#w1-display', '#w1', '2003-01-31', null)</script></span> Location: <span id='encounterLocation'><select id="w3" name="w3"><option value="">Choose a Location...</option><option value="1004">Boston</option><option value="1007">Jamaica Plain</option><option value="1001">Kigali</option><option value="1006">Lacolline</option><option value="1002">Mirebalais</option><option value="1005">Scituate</option><option value="1">Unknown Location</option><option value="2" selected="true">Xanadu</option></select><span class="error field-error" style="display: none" id="w4"></span></span> Provider: <span id='encounterProvider'><select id="w5" name="w5"><option value="">Choose a Provider</option><option value="502" selected="true">Hippocrates of Cos</option></select><span class="error field-error" style="display: none" id="w6"></span></span> Weight: <input type="text" size="5" id="w8" name="w8" onBlur="checkNumber(this,'w7',true,null,null,{ notANumber: 'Not a Number',notAnInteger: 'Not an integer',notLessThan: 'Cannot be less than',notGreaterThan: 'Cannot be greater than' } )"/><span class="units">kg</span> <span class="error field-error" style="display: none" id="w7"></span> <input type="button" class="submitButton" value="Save Changes" onClick="submitHtmlForm()"/> </div>
java.lang.AssertionError: Some custom message with value 75.0 kg for encounter Emergency is not contained in <div class="htmlform">
Date: <span id='encounterDate'><span class="error field-error" style="display: none" id="w2"></span><input type="text" size="10" id="w1-display"/><input type="hidden" name="w1" id="w1" /><script>setupDatePicker('dd/mm/yy', '110,20','en-GB', '#w1-display', '#w1', '2003-01-31', null)</script></span>
Location: <span id='encounterLocation'><select id="w3" name="w3"><option value="">Choose a Location...</option><option value="1004">Boston</option><option value="1007">Jamaica Plain</option><option value="1001">Kigali</option><option value="1006">Lacolline</option><option value="1002">Mirebalais</option><option value="1005">Scituate</option><option value="1">Unknown Location</option><option value="2" selected="true">Xanadu</option></select><span class="error field-error" style="display: none" id="w4"></span></span>
Provider: <span id='encounterProvider'><select id="w5" name="w5"><option value="">Choose a Provider</option><option value="502" selected="true">Hippocrates of Cos</option></select><span class="error field-error" style="display: none" id="w6"></span></span>
Weight: <input type="text" size="5" id="w8" name="w8" onBlur="checkNumber(this,'w7',true,null,null,{ notANumber: 'Not a Number',notAnInteger: 'Not an integer',notLessThan: 'Cannot be less than',notGreaterThan: 'Cannot be greater than' } )"/><span class="units">kg</span> <span class="error field-error" style="display: none" id="w7"></span>
<input type="button" class="submitButton" value="Save Changes" onClick="submitHtmlForm()"/>
</div>
(73 more lines...)
|
Collapse |
Failed
|
ObsReferenceTagTest
editSingleReferenceObsShouldShowReferenceNumericObsFromSameDateOutsideOfEncounterIfNoEncounterValue
History
|
Test against 2.4 |
< 1 sec |
java.lang.AssertionError: -reference-view" title="(.*)"><span class="value">75</span> is not contained in <div class="htmlform"> Date: <span id='encounterDate'><span class="error field-error" style="display: none" id="w2"></span><input type="text" size="10" id="w1-display"/><input type="hidden" name="w1" id="w1" /><script>setupDatePicker('dd/mm/yy', '110,20','en-GB', '#w1-display', '#w1', '2003-01-31', null)</script></span> Location: <span id='encounterLocation'><select id="w3" name="w3"><option value="">Choose a Location...</option><option value="1004">Boston</option><option value="1007">Jamaica Plain</option><option value="1001">Kigali</option><option value="1006">Lacolline</option><option value="1002">Mirebalais</option><option value="1005">Scituate</option><option value="1">Unknown Location</option><option value="2" selected="true">Xanadu</option></select><span class="error field-error" style="display: none" id="w4"></span></span> Provider: <span id='encounterProvider'><select id="w5" name="w5"><option value="">Choose a Provider</option><option value="502" selected="true">Hippocrates of Cos</option></select><span class="error field-error" style="display: none" id="w6"></span></span> Weight: <input type="text" size="5" id="w8" name="w8" onBlur="checkNumber(this,'w7',true,null,null,{ notANumber: 'Not a Number',notAnInteger: 'Not an integer',notLessThan: 'Cannot be less than',notGreaterThan: 'Cannot be greater than' } )"/><span class="units">kg</span> <span class="error field-error" style="display: none" id="w7"></span> <input type="button" class="submitButton" value="Save Changes" onClick="submitHtmlForm()"/> </div>
java.lang.AssertionError: -reference-view" title="(.*)"><span class="value">75</span> is not contained in <div class="htmlform">
Date: <span id='encounterDate'><span class="error field-error" style="display: none" id="w2"></span><input type="text" size="10" id="w1-display"/><input type="hidden" name="w1" id="w1" /><script>setupDatePicker('dd/mm/yy', '110,20','en-GB', '#w1-display', '#w1', '2003-01-31', null)</script></span>
Location: <span id='encounterLocation'><select id="w3" name="w3"><option value="">Choose a Location...</option><option value="1004">Boston</option><option value="1007">Jamaica Plain</option><option value="1001">Kigali</option><option value="1006">Lacolline</option><option value="1002">Mirebalais</option><option value="1005">Scituate</option><option value="1">Unknown Location</option><option value="2" selected="true">Xanadu</option></select><span class="error field-error" style="display: none" id="w4"></span></span>
Provider: <span id='encounterProvider'><select id="w5" name="w5"><option value="">Choose a Provider</option><option value="502" selected="true">Hippocrates of Cos</option></select><span class="error field-error" style="display: none" id="w6"></span></span>
Weight: <input type="text" size="5" id="w8" name="w8" onBlur="checkNumber(this,'w7',true,null,null,{ notANumber: 'Not a Number',notAnInteger: 'Not an integer',notLessThan: 'Cannot be less than',notGreaterThan: 'Cannot be greater than' } )"/><span class="units">kg</span> <span class="error field-error" style="display: none" id="w7"></span>
<input type="button" class="submitButton" value="Save Changes" onClick="submitHtmlForm()"/>
</div>
(73 more lines...)
|
Collapse |
Failed
|
ObsReferenceTagTest
editSingleReferenceObsShouldShowReferenceDateObsFromSameDateOutsideOfEncounterIfNoEncounterValue
History
|
Test against 2.4 |
< 1 sec |
java.lang.AssertionError: (Emergency on 01/02/2003) is not contained in <div class="htmlform"> Date: <span id='encounterDate'><span class="error field-error" style="display: none" id="w2"></span><input type="text" size="10" id="w1-display"/><input type="hidden" name="w1" id="w1" /><script>setupDatePicker('dd/mm/yy', '110,20','en-GB', '#w1-display', '#w1', '2003-01-31', null)</script></span> Location: <span id='encounterLocation'><select id="w3" name="w3"><option value="">Choose a Location...</option><option value="1004">Boston</option><option value="1007">Jamaica Plain</option><option value="1001">Kigali</option><option value="1006">Lacolline</option><option value="1002">Mirebalais</option><option value="1005">Scituate</option><option value="1">Unknown Location</option><option value="2" selected="true">Xanadu</option></select><span class="error field-error" style="display: none" id="w4"></span></span> Provider: <span id='encounterProvider'><select id="w5" name="w5"><option value="">Choose a Provider</option><option value="502" selected="true">Hippocrates of Cos</option></select><span class="error field-error" style="display: none" id="w6"></span></span> Last Food Assistance: <input type="text" size="10" id="w8-display"/><input type="hidden" name="w8" id="w8" /><script>setupDatePicker('dd/mm/yy', '110,20','en-GB', '#w8-display', '#w8', null, '2003-01-31')</script> <span class="error field-error" style="display: none" id="w7"></span> <input type="button" class="submitButton" value="Save Changes" onClick="submitHtmlForm()"/> </div>
java.lang.AssertionError: (Emergency on 01/02/2003) is not contained in <div class="htmlform">
Date: <span id='encounterDate'><span class="error field-error" style="display: none" id="w2"></span><input type="text" size="10" id="w1-display"/><input type="hidden" name="w1" id="w1" /><script>setupDatePicker('dd/mm/yy', '110,20','en-GB', '#w1-display', '#w1', '2003-01-31', null)</script></span>
Location: <span id='encounterLocation'><select id="w3" name="w3"><option value="">Choose a Location...</option><option value="1004">Boston</option><option value="1007">Jamaica Plain</option><option value="1001">Kigali</option><option value="1006">Lacolline</option><option value="1002">Mirebalais</option><option value="1005">Scituate</option><option value="1">Unknown Location</option><option value="2" selected="true">Xanadu</option></select><span class="error field-error" style="display: none" id="w4"></span></span>
Provider: <span id='encounterProvider'><select id="w5" name="w5"><option value="">Choose a Provider</option><option value="502" selected="true">Hippocrates of Cos</option></select><span class="error field-error" style="display: none" id="w6"></span></span>
Last Food Assistance: <input type="text" size="10" id="w8-display"/><input type="hidden" name="w8" id="w8" /><script>setupDatePicker('dd/mm/yy', '110,20','en-GB', '#w8-display', '#w8', null, '2003-01-31')</script> <span class="error field-error" style="display: none" id="w7"></span>
<input type="button" class="submitButton" value="Save Changes" onClick="submitHtmlForm()"/>
</div>
(73 more lines...)
|
Collapse |
Failed
|
ObsReferenceTagTest
viewSingleReferenceObsShouldSetBooleanCheckboxTrueFromSameDateOutsideOfEncounterIfNoEncounterValue
History
|
Test against 2.4 |
< 1 sec |
java.lang.AssertionError: Boolean:(.*)[X] is not contained in <div class="htmlform"> Date: <span class="value">01/02/2003</span> Location: <span class="value">Xanadu</span> Provider: <span class="value">Hippocrates of Cos</span> Boolean: <span class="emptyValue">[  ] </span> </div>
java.lang.AssertionError: Boolean:(.*)[X] is not contained in <div class="htmlform">
Date: <span class="value">01/02/2003</span>
Location: <span class="value">Xanadu</span>
Provider: <span class="value">Hippocrates of Cos</span>
Boolean: <span class="emptyValue">[  ] </span>
</div>
(73 more lines...)
|
Collapse |
Failed
|
ObsReferenceTagTest
viewSingleReferenceObsShouldShowValueCodedOFromSameDateOutsideOfEncounterIfNoEncounterValue
History
|
Test against 2.4 |
< 1 sec |
java.lang.AssertionError: Coded: PENICILLIN is not contained in <div class="htmlform"> Date: <span class="value">01/02/2003</span> Location: <span class="value">Xanadu</span> Provider: <span class="value">Hippocrates of Cos</span> Coded: <span class="emptyValue">____________</span> </div>
java.lang.AssertionError: Coded: PENICILLIN is not contained in <div class="htmlform">
Date: <span class="value">01/02/2003</span>
Location: <span class="value">Xanadu</span>
Provider: <span class="value">Hippocrates of Cos</span>
Coded: <span class="emptyValue">____________</span>
</div>
(73 more lines...)
|
Collapse |
Failed
|
ObsReferenceTagTest
editSingleReferenceObsShouldShowReferenceCodedObsFromSameDateOutsideOfEncounterIfNoEncounterValue
History
|
Test against 2.4 |
< 1 sec |
java.lang.AssertionError: (Emergency on 01/02/2003) is not contained in <div class="htmlform"> Date: <span id='encounterDate'><span class="error field-error" style="display: none" id="w2"></span><input type="text" size="10" id="w1-display"/><input type="hidden" name="w1" id="w1" /><script>setupDatePicker('dd/mm/yy', '110,20','en-GB', '#w1-display', '#w1', '2003-01-31', null)</script></span> Location: <span id='encounterLocation'><select id="w3" name="w3"><option value="">Choose a Location...</option><option value="1004">Boston</option><option value="1007">Jamaica Plain</option><option value="1001">Kigali</option><option value="1006">Lacolline</option><option value="1002">Mirebalais</option><option value="1005">Scituate</option><option value="1">Unknown Location</option><option value="2" selected="true">Xanadu</option></select><span class="error field-error" style="display: none" id="w4"></span></span> Provider: <span id='encounterProvider'><select id="w5" name="w5"><option value="">Choose a Provider</option><option value="502" selected="true">Hippocrates of Cos</option></select><span class="error field-error" style="display: none" id="w6"></span></span> Coded: <select id="w8" name="w8" size="1"><option value="" selected="true"></option><option value="1002">CATS</option><option value="1003">OPENMRS</option><option value="1001">PENICILLIN</option></select> <span class="error field-error" style="display: none" id="w7"></span> <input type="button" class="submitButton" value="Save Changes" onClick="submitHtmlForm()"/> </div>
java.lang.AssertionError: (Emergency on 01/02/2003) is not contained in <div class="htmlform">
Date: <span id='encounterDate'><span class="error field-error" style="display: none" id="w2"></span><input type="text" size="10" id="w1-display"/><input type="hidden" name="w1" id="w1" /><script>setupDatePicker('dd/mm/yy', '110,20','en-GB', '#w1-display', '#w1', '2003-01-31', null)</script></span>
Location: <span id='encounterLocation'><select id="w3" name="w3"><option value="">Choose a Location...</option><option value="1004">Boston</option><option value="1007">Jamaica Plain</option><option value="1001">Kigali</option><option value="1006">Lacolline</option><option value="1002">Mirebalais</option><option value="1005">Scituate</option><option value="1">Unknown Location</option><option value="2" selected="true">Xanadu</option></select><span class="error field-error" style="display: none" id="w4"></span></span>
Provider: <span id='encounterProvider'><select id="w5" name="w5"><option value="">Choose a Provider</option><option value="502" selected="true">Hippocrates of Cos</option></select><span class="error field-error" style="display: none" id="w6"></span></span>
Coded: <select id="w8" name="w8" size="1"><option value="" selected="true"></option><option value="1002">CATS</option><option value="1003">OPENMRS</option><option value="1001">PENICILLIN</option></select> <span class="error field-error" style="display: none" id="w7"></span>
<input type="button" class="submitButton" value="Save Changes" onClick="submitHtmlForm()"/>
</div>
(73 more lines...)
|
Collapse |
Failed
|
ObsReferenceTagTest
editSingleReferenceObsShouldShowReferenceTextObsFromSameDateOutsideOfEncounterIfNoEncounterValue
History
|
Test against 2.4 |
< 1 sec |
java.lang.AssertionError: (Emergency on 01/02/2003) is not contained in <div class="htmlform"> Date: <span id='encounterDate'><span class="error field-error" style="display: none" id="w2"></span><input type="text" size="10" id="w1-display"/><input type="hidden" name="w1" id="w1" /><script>setupDatePicker('dd/mm/yy', '110,20','en-GB', '#w1-display', '#w1', '2003-01-31', null)</script></span> Location: <span id='encounterLocation'><select id="w3" name="w3"><option value="">Choose a Location...</option><option value="1004">Boston</option><option value="1007">Jamaica Plain</option><option value="1001">Kigali</option><option value="1006">Lacolline</option><option value="1002">Mirebalais</option><option value="1005">Scituate</option><option value="1">Unknown Location</option><option value="2" selected="true">Xanadu</option></select><span class="error field-error" style="display: none" id="w4"></span></span> Provider: <span id='encounterProvider'><select id="w5" name="w5"><option value="">Choose a Provider</option><option value="502" selected="true">Hippocrates of Cos</option></select><span class="error field-error" style="display: none" id="w6"></span></span> Text: <input type="text" name="w8" id="w8"/> <span class="error field-error" style="display: none" id="w7"></span> <input type="button" class="submitButton" value="Save Changes" onClick="submitHtmlForm()"/> </div>
java.lang.AssertionError: (Emergency on 01/02/2003) is not contained in <div class="htmlform">
Date: <span id='encounterDate'><span class="error field-error" style="display: none" id="w2"></span><input type="text" size="10" id="w1-display"/><input type="hidden" name="w1" id="w1" /><script>setupDatePicker('dd/mm/yy', '110,20','en-GB', '#w1-display', '#w1', '2003-01-31', null)</script></span>
Location: <span id='encounterLocation'><select id="w3" name="w3"><option value="">Choose a Location...</option><option value="1004">Boston</option><option value="1007">Jamaica Plain</option><option value="1001">Kigali</option><option value="1006">Lacolline</option><option value="1002">Mirebalais</option><option value="1005">Scituate</option><option value="1">Unknown Location</option><option value="2" selected="true">Xanadu</option></select><span class="error field-error" style="display: none" id="w4"></span></span>
Provider: <span id='encounterProvider'><select id="w5" name="w5"><option value="">Choose a Provider</option><option value="502" selected="true">Hippocrates of Cos</option></select><span class="error field-error" style="display: none" id="w6"></span></span>
Text: <input type="text" name="w8" id="w8"/> <span class="error field-error" style="display: none" id="w7"></span>
<input type="button" class="submitButton" value="Save Changes" onClick="submitHtmlForm()"/>
</div>
(73 more lines...)
|
Collapse |
Failed
|
ObsReferenceTagTest
viewSingleReferenceObsShouldShowNumericObsFromSameDateOutsideOfEncounterIfNoEncounterValue
History
|
Test against 2.4 |
< 1 sec |
java.lang.AssertionError: Weight:75 is not contained in <div class="htmlform"> Date: <span class="value">01/02/2003</span> Location: <span class="value">Xanadu</span> Provider: <span class="value">Hippocrates of Cos</span> Weight: <span class="emptyValue">____</span><span class="units">kg</span> </div>
java.lang.AssertionError: Weight:75 is not contained in <div class="htmlform">
Date: <span class="value">01/02/2003</span>
Location: <span class="value">Xanadu</span>
Provider: <span class="value">Hippocrates of Cos</span>
Weight: <span class="emptyValue">____</span><span class="units">kg</span>
</div>
(73 more lines...)
|
Collapse |
Failed
|
ObsReferenceTagTest
viewSingleReferenceObsShouldShowValueDatetimeFromSameDateOutsideOfEncounterIfNoEncounterValue
History
|
Test against 2.4 |
< 1 sec |
java.lang.AssertionError: Last Food Assistance: 01/02/2003 is not contained in <div class="htmlform"> Date: <span class="value">01/02/2003</span> Location: <span class="value">Xanadu</span> Provider: <span class="value">Hippocrates of Cos</span> Last Food Assistance: <span class="emptyValue">________</span> </div>
java.lang.AssertionError: Last Food Assistance: 01/02/2003 is not contained in <div class="htmlform">
Date: <span class="value">01/02/2003</span>
Location: <span class="value">Xanadu</span>
Provider: <span class="value">Hippocrates of Cos</span>
Last Food Assistance: <span class="emptyValue">________</span>
</div>
(73 more lines...)
|
Collapse |
Failed
|
ObsReferenceTagTest
viewSingleReferenceObsShouldShowValueTextOFromSameDateOutsideOfEncounterIfNoEncounterValue
History
|
Test against 2.4 |
< 1 sec |
java.lang.AssertionError: Text: Penicillin is not contained in <div class="htmlform"> Date: <span class="value">01/02/2003</span> Location: <span class="value">Xanadu</span> Provider: <span class="value">Hippocrates of Cos</span> Text: <span class="emptyValue">____________</span> </div>
java.lang.AssertionError: Text: Penicillin is not contained in <div class="htmlform">
Date: <span class="value">01/02/2003</span>
Location: <span class="value">Xanadu</span>
Provider: <span class="value">Hippocrates of Cos</span>
Text: <span class="emptyValue">____________</span>
</div>
(73 more lines...)
|
Collapse |
Failed
|
ObsReferenceTagTest
viewSingleReferenceObsShouldShowCodedCheckboxFromSameDateOutsideOfEncounterIfNoEncounterValue
History
|
Test against 2.4 |
< 1 sec |
java.lang.AssertionError: Coded Checkbox:(.*)[X] is not contained in <div class="htmlform"> Date: <span class="value">01/02/2003</span> Location: <span class="value">Xanadu</span> Provider: <span class="value">Hippocrates of Cos</span> Coded Checkbox: <span class="emptyValue">[  ] PENICILLIN</span> </div>
java.lang.AssertionError: Coded Checkbox:(.*)[X] is not contained in <div class="htmlform">
Date: <span class="value">01/02/2003</span>
Location: <span class="value">Xanadu</span>
Provider: <span class="value">Hippocrates of Cos</span>
Coded Checkbox: <span class="emptyValue">[  ] PENICILLIN</span>
</div>
(73 more lines...)
|