Commit Graph

10 Commits

Author SHA1 Message Date
Praburaj fdfaeacbf1 Adding a scenario to login with latest password after a password change
Removed init of class member variables to null per a CR feedback.
2014-05-28 10:42:40 -07:00
Praburaj de955c6d90 Adding some more logging for DB clean up
Added a scenario to verify the created album.
2014-05-27 17:27:48 -07:00
Praburaj ba2afd923b Renaming some variables
Renaming some variables
Moving the httpClient and httpClientHandler variables to class level variables to avoid passing them in for every method call.
2014-05-27 16:29:50 -07:00
Praburaj 0afe8ad557 Fixing the test code to create a db for every test run
This also includes the cleanup code. I inject the new DB connection string overrides as environment variables.
2014-05-27 13:55:26 -07:00
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