Commit Graph

57 Commits

Author SHA1 Message Date
Praburaj e63d4f95d2 Adding an Ntlm variation of the test
Modified the helpers to take in an application host config file to accomodate future needs.
2014-09-11 11:10:25 -07:00
Praburaj bb9934a565 Fixing KRE name for mono in deployment utility 2014-09-09 13:15:38 -07:00
Praburaj 093caaae7e Adding some mocks for Google, Facebook and Twitter for E2Evalidation
Social mock tests are not executed right now due to 2 issues:
1. Identity extensions related to Social are not in yet.
2. Helios currently does not support loading of environment based startup class.
2014-09-08 18:02:03 -07:00
Praburaj 90d0ad969d Adding some diagnostics to the Win32Exception
Kestrel variation seems to be failing for some reason. Adding some diagnostics.
2014-09-05 08:36:13 -07:00
David Fowler bb08bdd1e8 Fixed bitness and removed 50 2014-09-05 02:20:22 -07:00
David Fowler 2471d21d93 Fixed CLR switching behavior in tests 2014-09-05 02:12:00 -07:00
Praburaj 1b6ee846ed Some cleanup
1. Removing a bug # from code which is fixed.
2. Removing a piece of test that was added while testing.
2014-09-04 13:13:17 -07:00
David Fowler c299a13927 Updated to use the new target framework in project.json 2014-09-04 02:30:32 -07:00
Praburaj f04921a26a Fixing the name of the APP_BASE environment variable to KRE_APPBASE (mono) 2014-09-03 17:05:10 -07:00
Praburaj b054f392f5 Adding a what's new in the store signalr announcement panel in the sample
When a new album is created in the store a notification is posted to all the connected browsers using SignalR.
Also added automation for the signalR hubs.

There is still some UI formatting improvements required in the way new arrivals are displayed. Will fix it in future checkins.
2014-09-03 15:40:01 -07:00
Praburaj b56cecc817 Refactoring the test code a little bit to enable adding more scenarios
And some general cleanup.
2014-08-29 16:35:02 -07:00
Praburaj 45406bf082 Moving the admin into a separate area
Using areas in the sample
2014-08-29 13:06:50 -07:00
David Fowler 94258eba8a Updated to use the new target framework in project.json 2014-08-29 00:13:02 -07:00
Praburaj 9f4d46714b Updating the sample to use VS 2013 Update 3 templates for Identity
1. This contains the new manage controller with a bunch of features like 2 factor auth

Some of the features are not enabled yet. But this is to set a baseline with update3 templates.

Automation to come up in future as more identity extensions are available.
2014-08-28 16:57:43 -07:00
Praburaj 05cd84667a Enabling X64/CoreClr based test variations as the CLR issues are resolved 2014-08-28 11:55:51 -07:00
Praburaj 963c76f770 Updating deployment helpers to start the host on mono. 2014-08-26 16:48:39 -07:00
Praburaj fd5f081cb6 Increasing the wait timeout after the application deployment
I'm starting to see that tests start running too soon before the application started. Increasing the wait time to a bigger number.

It will increase the test runtime of each selfhost variation by a couple more seconds, but it will increase the reliability.
2014-08-22 11:59:58 -07:00
Praburaj 5878f8ccb8 Increasing the wait time out to 3 seconds after the db file is created.
A couple of selfhost variations are failing on some of the new CI machines. While trying to reproduce I see that the klr.exe processes are lauching fine. But the tests fail for a couple of self-host variations. Only suspicion is this time out as the client gets a socket exception. It is possible that client is making a request before the server is ready.
2014-08-21 12:48:03 -07:00
Praburaj df3d56be5e Enabling the test code to run on mono
This does not include the deployment helper on mono. So the test needs to point to a statically deployed application url to run.
There are some bugs in mono Httpclient like in case of 302's RequestMessage's Uri not modified, cookies not cleared in cookie container etc. I will file bugs in mono on those and this is a work around until then.

There is still more work and refactoring. This is a first step.
2014-08-20 17:46:53 -07:00
Praburaj 644c45ae5c Adding a _ViewStart page to define the Layoutpage
Removing the Layout page reference from individual cshtml files.
Added some tests to verify layout getting rendered in every view.
Added a couple of verifications to verify that title of the page is set appropriately.
2014-07-30 14:56:20 -07:00
Praburaj 75d9ef5e0d Changing the tests to use Dev14 connection string
Currently to run the tests we need to have Dev12 localdb installed on the machine.
For this to run successfully we need to have Dev14 installed on CI.
2014-07-30 12:45:21 -07:00
Suhas Joshi 907f05acf5 Added try catch around logging statement 2014-07-24 16:17:24 -07:00
Suhas Joshi ae7fae0bce Formatted document and added bug numbers 2014-07-24 15:40:02 -07:00
Suhas Joshi 77a9885118 Handled starting IISExpress based on architecture 2014-07-24 15:39:55 -07:00
Suhas Joshi 759eee9734 Added support for kre architecture 2014-07-24 15:39:51 -07:00
Praburaj 863888bfb4 Fixing a test failure due to a recent change.
Adding some delay for the selfhost tests. With the recent change of merging the dbs selfhost based tests start even before the data is populated into the db & application start. Adding a slight delay to allow the setup finish.
And fixing a test bug that was not surfacing. Was checking with a fixed album id. This worked before as the id created was always 453.
2014-07-22 17:23:17 -07:00
Praburaj 3c0eefe12e Merging the MusicStore & MusicStoreIdentity Db into one.
This has been a feedback from identity team for a while. Just got time to do it now.
2014-07-22 16:44:23 -07:00
David Fowler 30df49535c Fixed project.json casing 2014-07-13 22:49:42 -07:00
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