Bug 793000 (JBEPP-80) - Fix Test case failures when run locally and in other platform other than linux
Summary: Fix Test case failures when run locally and in other platform other than linux
Keywords:
Status: CLOSED NEXTRELEASE
Alias: JBEPP-80
Product: JBoss Enterprise Portal Platform 4
Classification: JBoss
Component: unspecified
Version: 4.3.0.GA_CP1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.3.0.GA_CP2
Assignee: Magesh Bojan
QA Contact:
URL: http://jira.jboss.org/jira/browse/JBE...
Whiteboard: QA
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-05-13 07:51 UTC by Magesh Bojan
Modified: 2012-02-28 16:35 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-05-13 07:58:00 UTC
Type: Task


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBEPP-80 0 None None None Never

Description Magesh Bojan 2009-05-13 07:51:24 UTC
project_key: JBEPP

[testng]
   [testng] PASSED: testCreateRole
   [testng] Creation of new role.
   [testng] PASSED: testDisableUser
   [testng] Creating and disabling a user.
   [testng] PASSED: testEnableUser
   [testng] Enabling disabled user.
   [testng] PASSED: testCreateUser
   [testng] Creation of new user.
   [testng] PASSED: testAssignRole2User
   [testng] Assigning of the role to the user.
   [testng] PASSED: testCreateExistingUser
   [testng] Creation of already existing user.
   [testng] PASSED: testRoleEdit
   [testng] Creation of new role.
   [testng] PASSED: testDeleteUser
   [testng] Creating and deteling a user.
   [testng] PASSED: testRoleMembers
   [testng] Managing members of role.
   [testng] PASSED: testEditUser
   [testng] Editing a user.
   [testng] PASSED: testEditUserChangePassword
   [testng] Editing a user - changing of password.
   [testng] FAILED: testSearchUserCount
   [testng] Altering the number of rows in user search
   [testng] java.lang.AssertionError: Wrong number of row in user table #4. expected:<95> but was:<50>
   [testng] at org.jboss.portal.test.selenium.IdentityAdminTestCase.testSearchUserCount(IdentityAdminTestCase.java:460)
   [testng] ... Removed 26 stack frames
   [testng]
   [testng] ===============================================
   [testng] org.jboss.portal.test.selenium.IdentityAdminTestCase - MultipleLogins
   [testng] Tests run: 12, Failures: 1, Skips: 0
   [testng] ===============================================
   [testng]
   [testng] PASSED: testFileUploadCancel
   [testng] canceling of file upload
   [testng] FAILED: testFileUpload
   [testng] File upload test
   [testng] com.thoughtworks.selenium.SeleniumException: ERROR: Element //div[@id='center']/div/div/ul/li[3] not found
   [testng] at com.thoughtworks.selenium.HttpCommandProcessor.throwAssertionFailureExceptionOrError(HttpCommandProcessor.java:90)
   [testng] at com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:84)
   [testng] at com.thoughtworks.selenium.HttpCommandProcessor.getString(HttpCommandProcessor.java:252)
   [testng] at com.thoughtworks.selenium.DefaultSelenium.getText(DefaultSelenium.java:419)
   [testng] at org.jboss.portal.test.selenium.cms.CMSFileUploadTestCase.testFileUpload(CMSFileUploadTestCase.java:101)
   [testng] ... Removed 22 stack frames
   [testng]
   [testng] ===============================================
   [testng] org.jboss.portal.test.selenium.cms.CMSFileUploadTestCase
   [testng] Tests run: 2, Failures: 1, Skips: 0
   [testng] ===============================================
   [testng]
   [testng] [Selenium debug] : [selenium] : testBigArchiveUpload archive path: I:\svn\portal\branches\Enterprise_Portal_Platform_4_3_GA_CP01_JBEPP-78\testsuite\ui-tests\build.xml/test_files/big_archive.zip
   [testng] [Selenium debug] : [selenium] : testManyFilesArchiveUpload archive path: I:\svn\portal\branches\Enterprise_Portal_Platform_4_3_GA_CP01_JBEPP-78\testsuite\ui-tests\build.xml/test_files/many_files.zip
   [testng] [Selenium debug] : [selenium] : testArchiveUpload archive path: I:\svn\portal\branches\Enterprise_Portal_Platform_4_3_GA_CP01_JBEPP-78\testsuite\ui-tests\build.xml/test_files/archive.zip
   [testng] [Selenium debug] : [selenium] : testArchiveUpload archive path2: I:\svn\portal\branches\Enterprise_Portal_Platform_4_3_GA_CP01_JBEPP-78\testsuite\ui-tests\build.xml/test_files/archive.zip
   [testng] FAILED: testBigArchiveUpload
   [testng] Test archive consisting of 21MB file upload.
   [testng] java.lang.AssertionError: expected:<Your archive has been accepted for processing. The resources will appear in your Folder once the processing is finished> but was:<The archive being uploaded is not a valid archive file>
   [testng] at org.jboss.portal.test.selenium.cms.CMSArchiveUploadTestCase.testBigArchiveUpload(CMSArchiveUploadTestCase.java:173)
   [testng] ... Removed 27 stack frames
   [testng] FAILED: testManyFilesArchiveUpload
   [testng] Test archive consisting of > 100 files upload.
   [testng] java.lang.AssertionError: expected:<Your archive has been accepted for processing. The resources will appear in your Folder once the processing is finished> but was:<The archive being uploaded is not a valid archive file>
   [testng] at org.jboss.portal.test.selenium.cms.CMSArchiveUploadTestCase.testManyFilesArchiveUpload(CMSArchiveUploadTestCase.java:131)
   [testng] ... Removed 27 stack frames
   [testng] FAILED: testArchiveUpload
   [testng] Test archive consisting of two files upload.
   [testng] java.lang.AssertionError: expected:<Your archive has been accepted for processing. The resources will appear in your Folder once the processing is finished> but was:<The archive being uploaded is not a valid archive file>
   [testng] at org.jboss.portal.test.selenium.cms.CMSArchiveUploadTestCase.testArchiveUpload(CMSArchiveUploadTestCase.java:90)
   [testng] ... Removed 27 stack frames
   [testng]
   [testng] ===============================================
   [testng] org.jboss.portal.test.selenium.cms.CMSArchiveUploadTestCase
   [testng] Tests run: 3, Failures: 3, Skips: 0
   [testng] ===============================================
   [testng]
   [testng]
   [testng] ===============================================
   [testng] SeleniumTest
   [testng] Total tests run: 128, Failures: 5, Skips: 0
   [testng] ===============================================
   [testng]

Comment 1 hfnukal@redhat.com 2012-02-16 00:49:53 UTC
QA

Comment 2 hfnukal@redhat.com 2012-02-16 00:49:53 UTC
Labels: Added: QA



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