Commit Graph

29 Commits

Author SHA1 Message Date
David Fowler efd225a9cd Renamed configurations to frameworks in project.json 2014-07-13 22:31:03 -07:00
David Fowler ff9e21b647 Use runtime APIs to locate AspNet.Loader.dll 2014-07-13 12:03:09 -07:00
Ryan Nowak 42b5aac1b1 fixing a broken link in musicstore. 2014-07-08 17:18:39 -07:00
Praburaj 0b0b5837fd A few changes with this checkin
1. Fixed the delete album action
2. Added a test for add to cart, checkout & delete an album scenarios.

With this the scenario set becomes complete.
2014-07-03 16:05:58 -07:00
Praburaj 3fdb2e3e57 Adding some verifications for static file serving. 2014-07-03 13:51:49 -07:00
Praburaj 974bfcab7a Adding kestrel variation of the MusicStore tests
Variation added for both Desktop & CoreCLR.
Added some more diagnostics to help better trouble shoot with more variations.
2014-07-02 17:32:31 -07:00
Praburaj ecbf6e27fa Adding more diagnostics to the test
Adding logic to throw and stop the tests if the response from the server is not OK.
2014-06-27 13:00:33 -07:00
David Fowler ba24762ab2 Removed invalid reference from e2e tests 2014-06-19 22:18:44 -07:00
Brice Lambson b41abcffa6 React to version bumps and renames 2014-06-19 16:00:13 -07:00
Praburaj 1ca9e25e54 Fixing an invalid 'And' condition while checking for process exited already 2014-06-11 13:31:55 -07:00
Praburaj 6b1a61f208 Checking if the host process is actually running before attempting to kill
adding some more diagnostics in case of host process failed to start.
2014-06-11 13:20:24 -07:00
Praburaj e2b4842680 Adding some more diagnostic logs for cleanup
This is to confirm that the host process started by the tests are cleaned up at the end of the test.
2014-06-10 12:17:17 -07:00
Praburaj a4ae444594 Enabling CoreCLR variation of the test
Value of the KRE_DEFAULT_LIB of the 'k test' process was flowing into Helios resulting in an exception. As the test is always running on desktop clr, the value of this variable always points to the desktop KRE path resulting in the exception. This fix will fix the issue.
2014-06-09 20:18:55 -07:00
Praburaj 022ff067ad Moving the host start process into the try block
To make sure the host process is not left unkilled after a failure in host start complete.
2014-06-08 13:54:07 -07:00
Praburaj c5f2b4054f Fixing a test bug resulting in a null reference
After starting the klr.exe process, Process.MainModule.FileName returns null if checked soon. Adding a thread sleep to solve this issue.
2014-06-08 12:06:37 -07:00
Praburaj 59fad3bbb3 Adding CoreCLR variation of test on selfhost 2014-06-06 17:34:12 -07:00
Praburaj 6d50b397c0 The cookie name pointed by DefaultAuthenticationTypes.ApplicationCookie changed
This was changed with a recent identity checkin. Fixing this in test which was expecting a different cookie name.
2014-06-04 12:45:38 -07:00
Praburaj 516251a1c3 Enabling self-host variation of the MusicStore tests
With this change the tests run on Helios+DesktopCLR and Self-Host+DesktopCLR.
2014-06-02 12:17:57 -07:00
Praburaj c356d8e824 Printing out cold start time, test runtime and total time 2014-05-28 11:08:33 -07:00
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