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

Build: #1405 failed Run by child build REFAPP-OMODDISTRO

Build result summary

Details

Completed
Queue duration
1 second
Duration
1 minute
Labels
None
Revision
d8c43f2a456f3e579f280cec3e041d905f3527eb d8c43f2a456f3e579f280cec3e041d905f3527eb
Total tests
14
Fixed in
#1407 (Changes by Darius Jazayeri <jazayeri@alum.mit.edu>)

Tests

Responsible

  • djazayeri djazayeri Automatically assigned

Code commits

Author Commit Message Commit date
Darius Jazayeri <jazayeri@alum.mit.edu> Darius Jazayeri <jazayeri@alum.mit.edu> d8c43f2a456f3e579f280cec3e041d905f3527eb d8c43f2a456f3e579f280cec3e041d905f3527eb UHM-169 - HTML Form Entry widget to capture an ordered list of CodedOrFreeTextAnswer

Tests

New test failures 3
Status Test View job Duration
Collapse Failed CodedOrFreeTextAnswerListWidgetTest testEnter History
Default Job < 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
Default Job < 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
Default Job < 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...)

Jira issues

IssueDescriptionStatus
Unknown Issue TypeUHM-169Could not obtain issue details from Jira