Commit Graph

506 Commits

Author SHA1 Message Date
Praburaj 11a71e950d Adding some more test scenarios to MusicStore and moving the scenarios in methods. 2014-05-23 16:11:56 -07:00
Praburaj 8409e9518b Catching up MusicStore app with code generated with latest templates 2014-05-23 14:35:08 -07:00
Praburaj d4303238e9 Fixing a log which was not printing the user name instead printed {0} 2014-05-23 11:54:00 -07:00
Praburaj 01210af151 Adding more logging for the test
Adding some helper methods for hosting variation
Divided the Utility class by the purpose of the helpers.
2014-05-23 11:27:42 -07:00
Praburaj 523ac1c091 Adding some logging for test failure investigation 2014-05-22 12:17:44 -07:00
Praburaj 273c252db0 Adding some tests for MusicStore
It executes a set of scenarios:
1. Launches the app in Helios and navigates to the home page and verifies
2. Make a request to a protected resource and verifies that request is redirected to the login page
3. Registers a user with a dynamically generated user name and verifies the user is created and logged in by verifying the cookies and display name in the home page.
4. Go back to the StoreManager controller which requires a specific permission and verifies that still we are being redirected to Login page.
5. Logoff of the current user session and verify the user is logged off and cookie cleared.
6. Login this time with Administrator user who has permission to manage store and verify successfully logged in
7. Verify that this time the user can access the StoreManager controller
8. Create an album and verify that album is successfully created.
9. Logout of the app and verify.
2014-05-22 11:55:02 -07:00