Chris Geer created RAVE-812:
-------------------------------
Summary: OpenID Integration Test is failing
Key: RAVE-812
URL: https://issues.apache.org/jira/browse/RAVE-812
Project: Rave
Issue Type: Bug
Affects Versions: 0.17
Reporter: Chris Geer
There seem to be two issues.
1) Sometimes the login fails and I get this error:
Scenario: User with OpenID logs into the portal
When I go to "http://localhost:8080/portal"
Then I see the login page
When I provide my OpenID identity "http://rave2011.myopenid.com/"
Then I see the OpenID authentication page (FAILED)
(org.openqa.selenium.NoSuchElementException: Unable to locate element:
{"method":"link text","selector":"myOpenID - The free, secure OpenID server"}
Command duration or timeout: 14 milliseconds
For documentation on this error, please visit:
http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: '2.25.0', revision: '17482', time: '2012-07-18 22:18:01'
System info: os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.8.2',
java.version: '1.6.0_35'
Driver info: driver.version: RemoteWebDriver
Session ID: 1ee3b110-c62f-654a-961c-f59c63c93ce4)
When I provide my OpenID password "rave2011" (NOT PERFORMED)
Then I see the message "Hello http://rave2011.myopenid.com/, welcome to Rave!"
for the user "http://rave2011.myopenid.com/" (NOT PERFORMED)
When I log out (NOT PERFORMED)
Then I see the Rave login page (NOT PERFORMED)
2) Most of the time the login succeeds and I get this error:
When I provide my OpenID password "rave2011"
Then I see the message "Hello http://rave2011.myopenid.com/, welcome to Rave!"
for the user "http://rave2011.myopenid.com/" (FAILED)
(java.lang.AssertionError:
Expected: "Hello http://rave2011.myopenid.com/, welcome to Rave!"
got: "Hello rave2011.myopenid.com, welcome to Rave!"
)
When I log out (NOT PERFORMED)
Then I see the Rave login page (NOT PERFORMED)
--
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