Builds, runs unit tests and deploys artifacts to nexus repo

Build: #102 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

View single obs encounter with obs of another concept: Test case result

The below summarizes the result of the test "View single obs encounter with obs of another concept" in build 102 of HTML Form Entry - HTML Form Entry 3.x (1.9 compatible) - Default Job. View test case history
Description
View single obs encounter with obs of another concept
Test class
org.openmrs.module.htmlformentry.RegressionTest
Method
viewSingleObsEncounterWithObsOfAnotherConcept
Duration
< 1 sec
Status
Failed (New Failure)

Error Log

java.lang.AssertionError: Date:01/02/2003 Location:Xanadu Provider:Hippocrates of Cos Weight: does not match <div class="htmlform">  Date: <span id='encounterDate'><span class="value">01/02/2003</span></span>  Location: <span id='encounterLocation'><span class="value">Xanadu</span></span>  Provider: <span id='encounterProvider'><span class="value">Hippocrates of Cos</span></span>  Weight: <span class="emptyValue">____</span>   </div>
java.lang.AssertionError: Date:01/02/2003 Location:Xanadu Provider:Hippocrates of Cos Weight: does not match <div class="htmlform">
	Date: <span id='encounterDate'><span class="value">01/02/2003</span></span>
	Location: <span id='encounterLocation'><span class="value">Xanadu</span></span>
	Provider: <span id='encounterProvider'><span class="value">Hippocrates of Cos</span></span>
	Weight: <span class="emptyValue">____</span>
	
</div>
	at org.junit.Assert.fail(Assert.java:74)
	at org.openmrs.module.htmlformentry.TestUtil.assertFuzzyEquals(TestUtil.java:144)
	at org.openmrs.module.htmlformentry.RegressionTest$9.testViewingEncounter(RegressionTest.java:331)
	at org.openmrs.module.htmlformentry.RegressionTestHelper.run(RegressionTestHelper.java:300)
	at org.openmrs.module.htmlformentry.RegressionTest.viewSingleObsEncounterWithObsOfAnotherConcept(RegressionTest.java:309)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:622)
	at org.springframework.test.context.junit4.SpringTestMethod.invoke(SpringTestMethod.java:160)
	at org.springframework.test.context.junit4.SpringMethodRoadie.runTestMethod(SpringMethodRoadie.java:233)
	at org.springframework.test.context.junit4.SpringMethodRoadie$RunBeforesThenTestThenAfters.run(SpringMethodRoadie.java:333)
	at org.springframework.test.context.junit4.SpringMethodRoadie.runWithRepetitions(SpringMethodRoadie.java:217)
	at org.springframework.test.context.junit4.SpringMethodRoadie.runTest(SpringMethodRoadie.java:197)
	at org.springframework.test.context.junit4.SpringMethodRoadie.run(SpringMethodRoadie.java:143)
	at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.invokeTestMethod(SpringJUnit4ClassRunner.java:160)
	at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)
	at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44)
	at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)
	at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
	at org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42)
	at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:97)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:234)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:133)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:114)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:622)
	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:188)
	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:166)
	at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:101)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)