Commit Graph

196 Commits

Author SHA1 Message Date
Troy Dai daaeca8681 Skip a few CoreCLR tests temporarily 2015-02-13 00:27:07 -08:00
Praburaj 2c881cf6a6 Adding verification for openIdconnect logout flow
As well removed the logic to wait for the creation of the db file in userprofile folder
as we now have retry logic.
2015-02-06 12:09:11 -08:00
Praburaj c635116278 Changing some more logger usage to use structured logging. 2015-02-05 10:38:49 -08:00
Praburaj d78932d927 Using structure logging strings. 2015-02-04 17:29:04 -08:00
Suhas Joshi 1165ba363e Increasing time out for mono 2015-02-04 12:00:15 -08:00
Praburaj 8617bdc223 Printing the runtime information at the beginning of the test 2015-02-04 11:10:53 -08:00
Praburaj 5df0d884aa Removing a fixed waittime of 25 seconds on mono
Setting an increased retry wait time. Now test will wait for 42 seconds before giving up.
2015-02-03 15:09:26 -08:00
Praburaj e26705e2de Changing codeplex -> github.com/aspnet/musicstore 2015-02-02 17:39:09 -08:00
Praburaj b48c46ee7d Reenabling the open idconnect test
Bug # https://github.com/aspnet/Security/issues/144 is fixed.
Reenabling the test to run on CI.
2015-02-02 13:59:28 -08:00
Praburaj 7783c36856 Disabling the openIdc test to enable coherence
Seems like the External cookie is null though openidc successfully created the identity and tries to signin. Before this is investigated to unblock the build disabling the test.
2015-01-30 17:02:01 -08:00
Wei Wang 7da71fc5ee Fix Open ID test case 2015-01-29 18:35:12 -08:00
Wei Wang 4277bb75b1 Merge remote-tracking branch 'origin/release' into dev 2015-01-29 16:30:59 -08:00
Wei Wang 3bf675f343 React to runtime renaming revert 2015-01-29 00:01:52 -08:00
Praburaj c3b4b6369e Some cleanup 2015-01-28 10:18:30 -08:00
Praburaj 4f32cb95fa Fixing some issues with OpenIdconnect E2E test
1. Adding notifications and verification for them.
2015-01-28 10:12:27 -08:00
Praburaj 3ec5584c8c Adding an E2E flow for OpenIDC 2015-01-27 17:40:16 -08:00
Praburaj e3637924ee Adding a basic smoke test for OpenIdConnect
Currently the mono variation is failing.
2015-01-26 17:03:34 -08:00
Praburaj c82cda4a78 Fixing the openIdconnect Startup class to add loggerfactory
Also adding a placeholder startup class for openid e2etesting.
2015-01-26 11:11:25 -08:00
Praburaj d29f24f4ad Using session to store the cart details instead of cookies. 2015-01-26 10:51:20 -08:00
Wei Wang 117c910f3b React to kpm subcommand renaming 2015-01-23 10:22:55 -08:00
Suhas Joshi eabe6b1aa7 Fixing start mono processstartinfo 2015-01-22 22:43:25 -08:00
Praburaj c8bbfb15e8 Pointing to wwwroot for NtlmAuth test 2015-01-20 16:42:10 -08:00
Praburaj c3a6095bf1 Pointing IIS Express to the wwwroot folder instead of app base. 2015-01-20 15:23:04 -08:00
Praburaj ce72c2fc7e Renaming klr.exe => dotnet.exe 2015-01-20 06:57:29 -08:00
Praburaj 5e3eb96b12 Fixing a regression in dotnet path. 2015-01-20 06:48:36 -08:00
Praburaj 71c171c052 Renaming KRE -> Dotnet 2015-01-20 06:38:06 -08:00
Praburaj 7847fb8257 Increasing the retry count
To fix flakiness
2015-01-18 20:48:23 -08:00
Hao Kung 464438862a Fix music store policies 2015-01-16 15:15:19 -08:00
Praburaj 86ab6b7256 Changing an error string in the tests due to identity change. 2015-01-16 11:31:05 -08:00
Praburaj 9e68b43069 Adding authorization policy for the missed startup class. 2015-01-16 10:05:53 -08:00
Praburaj ad5cfb9e6e Reacting to namespace changes PipelineCore => Http.Core V2 2015-01-15 13:32:28 -08:00
Praburaj c9d0a4d9da Reacting to namespace changes PipelineCore => Http.Core 2015-01-15 13:27:17 -08:00
Suhas Joshi b46bec1a7e Increase wait time for server to start 2015-01-14 16:09:07 -08:00
Praburaj 8864111f5b Increasing wait time out on mono tests
Right now since console logger is enabled there seems more delay in app start.
2015-01-13 16:28:54 -08:00
Praburaj cc38726ec8 LoggerExtensions can take in param objects[] instead of param string[] 2015-01-13 14:06:09 -08:00
Praburaj 2df24fd02a Creating a helper to retry a piece of code. 2015-01-13 11:32:34 -08:00
Praburaj fdfe88f8e0 Using Console logger to print logs instead of using Console.WriteLine 2015-01-09 16:44:08 -08:00
Praburaj a6bf0e16aa Adding console logger to the sample 2015-01-09 15:12:53 -08:00
Praburaj ce178243fc Fixing a test regression
Deleted a boolean flag passed to ignore login/register links in the home page.
2015-01-09 13:54:30 -08:00
Praburaj 56d6dfeb1b Adding a retry logic for NtlmAuth test
The other two tests already have this.
2015-01-09 13:39:30 -08:00
Chris Ross 76017af97c Handle Form and helpers breaking changes. 2015-01-07 16:15:41 -08:00
Praburaj 6407ff0adc Cleanup : Moving the mock code to the test project
This is to make the sample code cleaner. Moved the mock code to the test project.
Also fixed some intendation issues in some cshtml files.
2015-01-02 17:13:31 -08:00
Hao Kung 14ec7960a1 React to identity changes 2014-12-30 14:59:07 -08:00
Praburaj a4d2d185e1 Fixing tests on mono
kestrel command is now lowercased. Passing the right case from tests.
2014-12-30 13:30:36 -08:00
Praburaj e609602f2f Clean up and refactoring
1. Removed some console logging statements from code
2. Used database error page like templates.
3. Renamed the command `WebListener` to `web` with all lower case to be consistent with templates.
4. Lowercased `Kestrel` => `kestrel` to be consistent with remaining samples.
2014-12-30 13:16:08 -08:00
Praburaj d9148bd6f7 Fixing KRE_ENV to ASPNET_ENV 2014-12-22 19:04:55 -08:00
Praburaj 9e62865dd9 Fixing code to pass KRE folder path not including bin 2014-12-22 13:14:02 -08:00
Praburaj a9ea8a87c8 Fixing the KRE name issue on mono
On mono with a recent change --runtime <value> for kpm pack is null as the value is not populated.
2014-12-19 13:45:51 -08:00
Suhas Joshi e5a92daa51 Corrected json for mono 2014-12-19 11:59:12 -08:00
Praburaj 2dae44a607 Disabling IIS variation test as CI machine does not have IIS installed. 2014-12-19 10:53:33 -08:00
Praburaj 68102b8786 Enabling IIS variation of the test
Also organizing some test code.
2014-12-18 20:01:47 -08:00
Praburaj 3c49e439c9 Removing an incorrect test variation. 2014-12-18 19:25:59 -08:00
Praburaj 9c442e97ff Using the latest xunit skip condition attributes to skip tests
Also moved all the helper code into sub-directories.
2014-12-18 19:25:51 -08:00
Suhas Joshi 368e96ad32 Fixes teamcity issue with Console.ReadLine() 2014-12-17 11:50:33 -08:00
Brennan 2df9d8f098 Update tests to use official xunit 2014-12-16 10:44:13 -08:00
Praburaj 51f60d5fd5 Enabling native module variations.
These do no run unless a machine has native module setup done and an environment variable named IIS_NATIVE_MODULE_SETUP=true. So the test will get skipped on pretty much on all machines except the ones where we want to run on.
2014-12-16 10:23:14 -08:00
Praburaj 50b756a776 Clean up - removing work arounds for bugs
1. Removed worked arounds that were previously applied for bugs as they are fixed now.
2. Sorted all using statements. Moved System.* to the top.
3. Fixed some of the code to follow engineering guidelines.
2014-12-15 11:48:24 -08:00
Praburaj 0c59794996 A few changes
1. Adding helpers to install an app on IIS and run on top of native module
2. Enabled CoreCLR + Ntlm tests.
2014-12-12 16:07:49 -08:00
Praburaj a67bd6820c Adding some coverage for the .Include EF statements 2014-12-04 14:35:32 -08:00
Suhas Joshi 2286b14290 Add retry logic for Publishtests 2014-12-03 17:00:28 -08:00
Suhas Joshi 681327f396 Fixed tests to run on Mono 2014-12-01 17:49:16 -08:00
Victor Hurdugaci 1120863c84 Add schema version to kproj files 2014-11-25 11:15:15 -08:00
Hao Kung 0edfde8e20 Revert "Disable tests for now"
This reverts commit 0d7c28413f.
2014-11-21 10:52:16 -08:00
Hao Kung 0d7c28413f Disable tests for now
Filed https://github.com/aspnet/MusicStore/issues/292
2014-11-20 18:38:39 -08:00
Praburaj 5ae536fe0a Some fixes
1. Updating some startup classes like templates
2. Update a test that runs on mono with right CLR.
2014-11-20 16:04:48 -08:00
Praburaj f72b23c871 Test flakiness - Moving the first request into a retry block
Sometimes the first request to the application results in exceptions like 'No connection could be made because the target machine actively refused it'. Adding a retry to mitigate that.
2014-11-19 13:35:55 -08:00
Chris Ross 6a4f49a188 Fix facebook endpoint tests. 2014-11-15 08:13:56 -08:00
Victor Hurdugaci 2970af14b1 Update KProj to the latest format 2014-11-12 15:56:14 -08:00
Suhas Joshi 73d3e2fa2e Uncomment assert for delete cookie test 2014-10-16 11:12:56 -07:00
Wei Wang 8d0c6052a7 Change 'pack-exclude' to 'packExclude' 2014-10-14 16:15:20 -07:00
Pranav K acac2802db Removing version token from framework assemblies node 2014-10-10 12:53:35 -07:00
Pranav K 0a49dc08df Reacting to CLR package versioning changes 2014-10-10 10:33:38 -07:00
Praburaj ae91663eb7 Fixing a few things
1. Changing the SigninAsAuthenticationType to a variable to avoid failures when the value changes.
2. Adding a Scripts folder like default VS projects.
3. Adding version numbers to GAC assemblies in the test project.
4. Adding a check for pack-exclude.
2014-10-09 16:11:38 -07:00
Chris Ross f35dd45ea6 HTML decode URL. 2014-10-09 15:49:27 -07:00
Brice Lambson e370c974e1 Remove framework assembly versions 2014-10-06 14:52:48 -07:00
David Fowler e50cb5262a Fixup references 2014-10-05 18:59:43 -07:00
Praburaj 424de094f3 Removing the single line comment in a project.json 2014-10-02 13:20:58 -07:00
Praburaj 0288c790b0 Cleanup
1. Moving framework assembly references to frameworkassemblies node.
Moving the framework references Removing the RunOnMono flag on Ntlm tests as it never runs on mono
2. Deleted a space from the batch file
3. Adding some pack-exclude items
4. Some general test cleanup.
2014-10-02 12:38:54 -07:00
Praburaj f16a0c0f19 Adding some mocks for MicrosoftAccount 2014-09-29 14:41:43 -07:00
Praburaj 6d9bc21e83 Disabled tests by mistake
Enabling them back.
2014-09-25 11:58:11 -07:00
Praburaj 42e23bd261 Enabling the E2E automation for social logins. 2014-09-25 11:48:58 -07:00
Praburaj 647a5b6031 Enabling account validation, 2FA, Forgot password in the sample
Some identity helpers are still missing. Work arounds are applied to enable them working. Will clean it up as soon as identity helpers are available.
2014-09-24 15:13:28 -07:00
Praburaj 1867d11a43 Using QueryHelpers.ParseQuery for parsing query string.
Removed the helpers implemented in the test project.
2014-09-23 20:08:59 -07:00
Praburaj 7eb78b8dd1 Adding ability to add a Helios native module based test
Native module is still not fully working with automation. Will be avilable shortly.

The test project will undergo a little bit of refactoring and cleanup as well shortly.
2014-09-18 14:48:48 -07:00
Praburaj aadcdf715f Adding a variation to start weblistener from kpm pack output 2014-09-17 16:19:57 -07:00
Praburaj f400550b5b Adding a variation that does a kpm pack and starts the application
Currently adding only for Helios & X86 desktop CLR. Will add a few more interesting variations in future.
2014-09-15 17:10:06 -07:00
Praburaj 7c917a760a Enabling the Ntlm+WebListener combination back as the issue is fixed.
bbb2a29a99 fixes the issue.
2014-09-15 12:22:54 -07:00
Praburaj db78efda4f Disabling Ntlm+WebListener test combination
For some reason the KRE_ENV value being set is not honored. Disabling the test alone to unblock build.
2014-09-14 21:45:06 -07:00
Praburaj 8c1bf38211 Reacting to a change in the environment variable from ENV -> KRE_ENV 2014-09-11 16:36:54 -07:00
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