[ 
http://mifosforge.jira.com/browse/MIFOS-3976?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kojo Gambrah-Sampaney updated MIFOS-3976:
-----------------------------------------

    Status: Ready to Ship / Verified  (was: Ready for Testing / Resolved)

> Acceptance tests fail when run in specific order
> ------------------------------------------------
>
>                 Key: MIFOS-3976
>                 URL: http://mifosforge.jira.com/browse/MIFOS-3976
>             Project: mifos
>          Issue Type: Bug
>          Components: Technical Discussion
>    Affects Versions: Elsie F
>            Reporter: Jakub Sławiński
>            Assignee: Kojo Gambrah-Sampaney
>             Fix For: Elsie F
>
>
> Recently some of the tests in head/master do not initialize database (for 
> example VariableInstalmentLoanProductTest). This means that the database left 
> from previous test is used.
> However, setUp method from these tests assumes that database contains 
> specific data (for example 'Mrs' salutation), which isn't true for all 
> existing dataSets.
> Example tests order that leads to failure:
> <testcase time="18.986" classname="org.mifos.test.acceptance.group.GroupTest" 
> name="createGroupInPendingApprovalStateTestWithSurveys"/>
> −
> <testcase time="25.446" 
> classname="org.mifos.test.acceptance.loanproduct.VariableInstalmentLoanProductTest"
>  name="setUp">
> −
> <failure message="ERROR: Option with value '48' not found" 
> type="com.thoughtworks.selenium.SeleniumException">
> com.thoughtworks.selenium.SeleniumException: ERROR: Option with value '48' 
> not found
>       at 
> com.thoughtworks.selenium.HttpCommandProcessor.throwAssertionFailureExceptionOrError(HttpCommandProcessor.java:97)
>       at 
> com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:91)
>       at 
> com.thoughtworks.selenium.DefaultSelenium.select(DefaultSelenium.java:315)
>       at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>       at java.lang.reflect.Method.invoke(Method.java:597)
>       at 
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
>       at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
>       at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
>       at 
> org.springframework.aop.aspectj.AspectJAfterAdvice.invoke(AspectJAfterAdvice.java:42)
>       at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
>       at 
> org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
>       at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
>       at 
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
>       at $Proxy16.select(Unknown Source)
>       at 
> org.mifos.test.acceptance.framework.MifosPage.selectValueIfNotZero(MifosPage.java:67)
>       at 
> org.mifos.test.acceptance.framework.client.CreateClientEnterPersonalDataPage.create(CreateClientEnterPersonalDataPage.java:177)
>       at 
> org.mifos.test.acceptance.util.TestDataSetup.createClient(TestDataSetup.java:58)
>       at 
> org.mifos.test.acceptance.loanproduct.VariableInstalmentLoanProductTest.setUp(VariableInstalmentLoanProductTest.java:68)
> </failure>
> </testcase>

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues

Reply via email to