Uploaded image for project: 'JBoss Enterprise Portal Platform'
  1. JBoss Enterprise Portal Platform
  2. JBEPP-80

Fix Test case failures when run locally and in other platform other than linux

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.3.0.GA_CP1
    • Fix Version/s: 4.3.0.GA_CP2
    • Component/s: None
    • Labels:

      Description

      [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]

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                mageshbk Magesh Bojan
                Reporter:
                mageshbk Magesh Bojan
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: