Bug 1311443 - Error while executing tests on RichFaces-Showcase sample application
Summary: Error while executing tests on RichFaces-Showcase sample application
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: RichFaces
Version: 6.3.2
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: ---
Assignee: jboss-set
QA Contact: Marek Schmidt
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-24 09:36 UTC by deepalic
Modified: 2016-06-17 21:09 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-24 12:37:26 UTC
Type: Bug


Attachments (Terms of Use)
Test Case error log (380.82 KB, text/plain)
2016-02-24 09:36 UTC, deepalic
no flags Details
RichFaces-ShowCasesTestFailurePPC (5.22 MB, text/plain)
2016-02-24 09:38 UTC, deepalic
no flags Details

Description deepalic 2016-02-24 09:36:52 UTC
Created attachment 1130113 [details]
Test Case error log

Description of problem:
While xecuting tests on RichFaces-showcase application, 2 tests are failing in x86 environment. 


Version-Release number of selected component (if applicable):
EAP v6.3.2
RichFaces showcase sample extracted from jboss-wfk-2.7.0-richfaces-demo.zip

How reproducible:
consistent

Steps to Reproduce:
1.Download and extract jboss-wfk-2.7.0-richfaces-demo.zip
2. Configure required maven repo and Start EAP.
3. Execute the command mvn verify -Dintegration=jbosseap63-remote from the richfaces-showcases sample folder. 
4. The tests show failure. 

Actual results:
Two tests fail. The test case log is like:
-------------------------------------------------------------------------------
Test set: org.richfaces.showcase.inplaceInput.ITestInplaceInput
-------------------------------------------------------------------------------
Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 20.949 sec <<< FAILURE! - in org.richfaces.showcase.inplaceInput.ITestInplaceInput
testEnterSomethingToNameInput(org.richfaces.showcase.inplaceInput.ITestInplaceInput)  Time elapsed: 8.348 sec  <<< FAILURE!
org.junit.ComparisonFailure: The value in the input is not what have been typed there! expected:<[Test string]> but was:<[click to enter your name]>
        at org.junit.Assert.assertEquals(Assert.java:115)
        at org.richfaces.showcase.inplaceInput.ITestInplaceInput.enterSomethingToInputAndCheck(ITestInplaceInput.java:66)
        at org.richfaces.showcase.inplaceInput.ITestInplaceInput.testEnterSomethingToNameInput(ITestInplaceInput.java:49)

testEnterSomethingToEmail(org.richfaces.showcase.inplaceInput.ITestInplaceInput)  Time elapsed: 2.714 sec  <<< FAILURE!
org.junit.ComparisonFailure: The value in the input is not what have been typed there! expected:<[Test string]> but was:<[click to enter your email]>
        at org.junit.Assert.assertEquals(Assert.java:115)
        at org.richfaces.showcase.inplaceInput.ITestInplaceInput.enterSomethingToInputAndCheck(ITestInplaceInput.java:66)
        at org.richfaces.showcase.inplaceInput.ITestInplaceInput.testEnterSomethingToEmail(ITestInplaceInput.java:54)


Expected results:
All tests should pass.

Additional info:
I have also tried executing tests on RHEL PPC machine, and almost all tests fail on it. Attaching the log taken on PPC as well.

Comment 1 deepalic 2016-02-24 09:38:08 UTC
Created attachment 1130114 [details]
RichFaces-ShowCasesTestFailurePPC

Comment 2 Ivo Studensky 2016-02-24 12:37:26 UTC
Please don't file issues for EAP in Red Hat Bugzilla directly. Contact our Support team instead. Thanks.


Note You need to log in before you can comment on or make changes to this bug.