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
Test results
- 14 tests in total
- 3 tests failed
- 3 failures are new
- 23 seconds taken in total.
Build 1,405 has the following 3 errors: 3 new failure(s) occurred since the previous build.
Status | Test | Duration | |
---|---|---|---|
Collapse |
CodedOrFreeTextAnswerListWidgetTest
testEnter
|
< 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 |
CodedOrFreeTextAnswerListWidgetTest
testViewEmptyList
|
< 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 |
CodedOrFreeTextAnswerListWidgetTest
testViewNonEmptyList
|
< 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...) |