You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rave.apache.org by "Daniel Gornstein (JIRA)" <ji...@apache.org> on 2013/07/17 22:45:46 UTC

[jira] [Updated] (RAVE-983) new-user integration test fails after require merge

     [ https://issues.apache.org/jira/browse/RAVE-983?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Gornstein updated RAVE-983:
----------------------------------

    Attachment: fixIntegrationTests.diff

Fixes the requireJs error with the create user page, which fixes integration tests. All run successfully now.
                
> new-user integration test fails after require merge
> ---------------------------------------------------
>
>                 Key: RAVE-983
>                 URL: https://issues.apache.org/jira/browse/RAVE-983
>             Project: Rave
>          Issue Type: Bug
>          Components: rave-portal
>            Reporter: Chris Geer
>            Assignee: Erin Noe-Payne
>         Attachments: fixIntegrationTests.diff
>
>
> And A message appears "Account successfully created"
> [INFO] [talledLocalContainer] WARN : org.springframework.security.web.authentication.session.SessionFixationProtectionStrategy - Your servlet container did not change the session ID when a new session was created. You will not be adequately protected against session-fixation attacks
> When I fill in the login form with username "newuser" password "password"
> Then I see my portal page with the new user widget page (FAILED)
> (org.openqa.selenium.NoSuchElementException: Unable to locate element: {"method":"class name","selector":"columns_3_newuser_static"}
> Command duration or timeout: 12 milliseconds
> For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
> Build info: version: '2.31.0', revision: '1bd294d185a80fa4206dfeab80ba773c04ac33c0', time: '2013-02-27 13:51:26'
> System info: os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.8.4', java.version: '1.6.0_51'
> Session ID: af1c7633-536e-764e-9ca7-1a243e310432
> Driver info: org.openqa.selenium.firefox.FirefoxDriver
> Capabilities [{platform=MAC, acceptSslCerts=true, javascriptEnabled=true, browserName=firefox, rotatable=false, locationContextEnabled=true, version=21.0, cssSelectorsEnabled=true, databaseEnabled=true, handlesAlerts=true, browserConnectionEnabled=true, nativeEvents=false, webStorageEnabled=true, applicationCacheEnabled=true, takesScreenshot=true}])
> org.openqa.selenium.NoSuchElementException: Unable to locate element: {"method":"class name","selector":"columns_3_newuser_static"}
> Command duration or timeout: 12 milliseconds
> For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
> Build info: version: '2.31.0', revision: '1bd294d185a80fa4206dfeab80ba773c04ac33c0', time: '2013-02-27 13:51:26'
> System info: os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.8.4', java.version: '1.6.0_51'
> Session ID: af1c7633-536e-764e-9ca7-1a243e310432
> Driver info: org.openqa.selenium.firefox.FirefoxDriver
> Capabilities [{platform=MAC, acceptSslCerts=true, javascriptEnabled=true, browserName=firefox, rotatable=false, locationContextEnabled=true, version=21.0, cssSelectorsEnabled=true, databaseEnabled=true, handlesAlerts=true, browserConnectionEnabled=true, nativeEvents=false, webStorageEnabled=true, applicationCacheEnabled=true, takesScreenshot=true}]
> 	(reflection-construct)
> 	at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:187)
> 	at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:145)
> 	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:554)
> 	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:307)
> 	at org.openqa.selenium.remote.RemoteWebDriver.findElementByClassName(RemoteWebDriver.java:388)
> 	at org.openqa.selenium.By$ByClassName.findElement(By.java:371)
> 	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:299)
> 	at org.jbehave.web.selenium.WebDriverPage.findElement(WebDriverPage.java:54)
> 	at org.apache.rave.integrationtests.pages.Portal.delayedFindElement(Portal.java:99)
> 	at org.apache.rave.integrationtests.pages.Portal.delayedFindElement(Portal.java:109)
> 	at org.apache.rave.integrationtests.pages.Portal.delayedFindElement(Portal.java:109)
> 	at org.apache.rave.integrationtests.pages.Portal.findElement(Portal.java:92)
> 	at org.apache.rave.integrationtests.steps.NewUserSteps.iSeeMyNewUserPortalPage(NewUserSteps.java:94)
> 	(reflection-invoke)
> 	at org.jbehave.core.steps.StepCreator$ParameterisedStep.perform(StepCreator.java:550)
> 	at org.jbehave.core.embedder.StoryRunner$FineSoFar.run(StoryRunner.java:499)
> ...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira