Runs unit test and deploys artifacts to maven repo. More details of the release in https://wiki.openmrs.org/x/i4DTAw

Build: #1405 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

Job result summary

Completed
Duration
1 minute
Revision
d8c43f2a456f3e579f280cec3e041d905f3527eb d8c43f2a456f3e579f280cec3e041d905f3527eb
Total tests
14
Fixed in
#1407 (Code changes detected)

Tests

  • 14 tests in total
  • 3 tests failed
  • 3 failures are new
  • 23 seconds taken in total.
New test failures 3
Status Test Duration
Collapse Failed CodedOrFreeTextAnswerListWidgetTest testEnter History
< 1 sec
Argument(s) are different! Wanted:  Argument(s) are different! Wanted: uiUtils.includeFragment(     "coreapps",     "htmlformentry/codedOrFreeTextAnswerList",     {title=Title, formFieldName=w1} ); -> at org.openmrs.module.coreapps.htmlformentry.CodedOrFreeTextAnswerListWidgetTest.testEnter(CodedOrFreeTextAnswerListWidgetTest.java:129) Actual invocation has different arguments: uiUtils.includeFragment(     "coreapps",     "htmlformentry/codedOrFreeTextAnswerList",     {title=Title, formFieldName=w1, initialValue=null, betweenElements=(between)} ); -> at org.openmrs.module.coreapps.htmlformentry.CodedOrFreeTextAnswerListWidget.generateHtml(CodedOrFreeTextAnswerListWidget.java:80) 
Argument(s) are different! Wanted:
uiUtils.includeFragment(
    "coreapps",
    "htmlformentry/codedOrFreeTextAnswerList",
    {title=Title, formFieldName=w1}
);
-> at org.openmrs.module.coreapps.htmlformentry.CodedOrFreeTextAnswerListWidgetTest.testEnter(CodedOrFreeTextAnswerListWidgetTest.java:129)
(43 more lines...)
Collapse Failed CodedOrFreeTextAnswerListWidgetTest testViewEmptyList History
< 1 sec
java.lang.AssertionError:  Expected: text matching regex: <div class="coded-or-free-text-list-widget">\s*<span class="coded-or-free-text-title">Title</span>\s*<ol>\s*</ol>\s*</div>      but: was "<div class=\"coded-or-free-text-list-widget\"><span class=\"coded-or-free-text-title\">Title</span>\n</div>"
java.lang.AssertionError: 
Expected: text matching regex: <div class="coded-or-free-text-list-widget">\s*<span class="coded-or-free-text-title">Title</span>\s*<ol>\s*</ol>\s*</div>
     but: was "<div class=\"coded-or-free-text-list-widget\"><span class=\"coded-or-free-text-title\">Title</span>\n</div>"
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
	at org.junit.Assert.assertThat(Assert.java:865)
	at org.junit.Assert.assertThat(Assert.java:832)
	at org.openmrs.module.coreapps.htmlformentry.CodedOrFreeTextAnswerListWidgetTest.testViewEmptyList(CodedOrFreeTextAnswerListWidgetTest.java:75)
(30 more lines...)
Collapse Failed CodedOrFreeTextAnswerListWidgetTest testViewNonEmptyList History
< 1 sec
java.lang.AssertionError:  Expected: text matching regex: <div class="coded-or-free-text-list-widget">\s*<span class="coded-or-free-text-title">\s*Title\s*</span>\s*<ol>\s*<li>\s*"Free text"\s*</li>\s*<li>\s*<span class="coded-or-free-text-between">\s*\(between\)\s*</span>\s*Coded\s*</li>\s*</ol>\s*</div>      but: was "<div class=\"coded-or-free-text-list-widget\"><span class=\"coded-or-free-text-title\">Title</span>\n<br/><span class=\"value\">\"Free text\"</span><br/><span class=\"coded-or-free-text-between\">(between)</span><br/><span class=\"value\">Coded</span></div>"
java.lang.AssertionError: 
Expected: text matching regex: <div class="coded-or-free-text-list-widget">\s*<span class="coded-or-free-text-title">\s*Title\s*</span>\s*<ol>\s*<li>\s*"Free text"\s*</li>\s*<li>\s*<span class="coded-or-free-text-between">\s*\(between\)\s*</span>\s*Coded\s*</li>\s*</ol>\s*</div>
     but: was "<div class=\"coded-or-free-text-list-widget\"><span class=\"coded-or-free-text-title\">Title</span>\n<br/><span class=\"value\">\"Free text\"</span><br/><span class=\"coded-or-free-text-between\">(between)</span><br/><span class=\"value\">Coded</span></div>"
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
	at org.junit.Assert.assertThat(Assert.java:865)
	at org.junit.Assert.assertThat(Assert.java:832)
	at org.openmrs.module.coreapps.htmlformentry.CodedOrFreeTextAnswerListWidgetTest.testViewNonEmptyList(CodedOrFreeTextAnswerListWidgetTest.java:102)
(30 more lines...)