Commit Graph

36606 Commits

Author SHA1 Message Date
Niels Lyngsø
20f2917a0c Exit PreviewMode when all Preview Session are closed + translation 2020-10-09 16:05:53 +02:00
Bjarke Berg
2a4439e93a Migrated DocumentRepositoryTest 2020-10-09 13:08:23 +02:00
Bjarke Berg
f5437309c4 Migrated DataTypeDefinitionRepositoryTest 2020-10-09 11:50:47 +02:00
Bjarke Berg
15897f1736 Migrated ContentTypeRepositoryTest 2020-10-09 11:37:25 +02:00
Mole
79db8c2e99 Shorten password in members test 2020-10-09 10:53:23 +02:00
Niels Lyngsø
6009acdfbf updated wording 2020-10-09 10:46:36 +02:00
Mole
4485e76a28 Add forgotten indent 2020-10-09 10:44:52 +02:00
Mole
9039f3030b Fix content with contentpicker after renaming doctype 2020-10-09 10:39:20 +02:00
Mole
2fcab52e7e Indent nested builders
Makes it easier to see what calls belongs where
2020-10-09 10:07:04 +02:00
Mole
3e77457b81 Increase typing timeout in member tests and some minor cleaning 2020-10-09 09:49:09 +02:00
Bjarke Berg
424c3b821e Clean up 2020-10-09 09:35:30 +02:00
Bjarke Berg
e69f3d02de Clean up 2020-10-09 09:34:44 +02:00
Bjarke Berg
05d8b0aaf8 Changed to use a ReadOnlyRelation model 2020-10-09 09:32:32 +02:00
Mole
2418b616a6 Merge pull request #9102 from AndyButland/feature/7898-services-integration-tests-migration-3
NetCore: make use of builder classes for model creation in migrated tests
2020-10-08 17:03:23 +02:00
Niels Lyngsø
dc072293f9 New dialogs for asking about Preview mode 2020-10-08 16:36:25 +02:00
Mole
c8018ed00a Add a timeout when getting the progress percentage 2020-10-08 15:19:54 +02:00
Bjarke Berg
731a189fbe Removed uncommented code 2020-10-08 14:54:42 +02:00
Bjarke Berg
b7a0b0b457 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/migrate/relation-tests 2020-10-08 14:53:18 +02:00
Bjarke Berg
c7cdfaa775 Update nuget packages
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-08 14:49:24 +02:00
Bjarke Berg
55db973e82 Introduced IRelationRepository.SaveBulk to use internally when performance is important.
Fixed issue in RelationRepository.Save not populating Ids on LocalDB/SqlServer
2020-10-08 14:38:02 +02:00
Mole
3c986f403e Remove Entities and Objects from common testshelpers since they don't exist anymore
And fix a single typo
2020-10-08 14:36:30 +02:00
Mole
e0386ab0e6 Fix ContentServiceEventTests by clearing scoped events 2020-10-08 13:40:16 +02:00
Andy Butland
ff65788d38 Corrected comment.
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch>
2020-10-08 12:04:59 +02:00
Andy Butland
9838dbaf51 Corrected comment.
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch>
2020-10-08 12:04:40 +02:00
Andy Butland
9fc3546e67 Updated variable name.
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch>
2020-10-08 12:04:21 +02:00
Mole
3c29982c09 Don't expect a certain order from badges in rollback
The badge order is not deterministic which means we can't expect them to be in a certain order.
2020-10-08 10:35:05 +02:00
Mole
a511575784 Assert that error notification does not come up on create template
Had the test pass sometimes before the fix because the success notification appear, but the error notification appear at well, so the test shouldn't actually have passed
2020-10-08 10:06:56 +02:00
Niels Lyngsø
f380c221a5 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/confirm-website-preview-mode 2020-10-08 09:46:40 +02:00
Mole
030928f3a6 Unfocus and wait for save to be visible in templates 2020-10-08 09:35:16 +02:00
Bjarke Berg
3171cdda70 Migrated RelationServiceTests.cs
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-07 21:01:28 +02:00
Bjarke Berg
e7edbfeaa3 Migrated RelationRepositoryTest.cs + Minimized how many relations we create to test the code.
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-07 20:23:06 +02:00
Andy Butland
d81dda1909 Fixed further failing tests. 2020-10-07 18:00:25 +02:00
Andy Butland
2925d5e1db Fixed failing tests. 2020-10-07 16:24:36 +02:00
Andy Butland
31b2f1ec4f Combined test user/group test objects created for repository and service tests. 2020-10-07 15:47:26 +02:00
Mole
035b5beba7 Click the content area in create template test instead of making edit
Tests no longer fail with a weird The process cannot access the file, or well at least not in the 10 recurrent tries i just did.
2020-10-07 15:19:56 +02:00
Bjarke Berg
9feb79eb90 Update nuget packages
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-07 15:12:55 +02:00
Andy Butland
78c4a17503 Resolved issues after rebase from main branch.
Fixed failing tests where test model builders showing slightly different behaviour to those used from legacy tests.
2020-10-07 14:54:14 +02:00
Mole
3137c01ea1 Assert success notification after publishign content in rollback test 2020-10-07 13:04:23 +02:00
Andy Butland
a331e6db30 Removed Mocked entity static helpers from new test projects, so they are only used for legacy tests.
Created equivalent methods as static builder methods, that use the builders to construct the model objects.
2020-10-07 11:28:09 +02:00
Mole
17c68176e0 Merge pull request #9100 from umbraco/netcore/task/6964-legacy-password-format
Adds support for the super old password format so we can handle upgrades
2020-10-07 11:25:51 +02:00
Mole
df607dbef8 Make rollback test pass again 2020-10-07 11:20:40 +02:00
Mole
7a42a84f7d Merge remote-tracking branch 'origin/v8/dev' into v8/feature/acceptance-test-content-with-contentpicker
# Conflicts:
#	src/Umbraco.Tests.AcceptanceTest/package.json
2020-10-07 11:08:04 +02:00
Bjarke Berg
d31fbdf7bb Fix csproj
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-07 09:34:14 +02:00
Bjarke Berg
fa6b79eba7 post merge fixes Clean up after merge
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-10-07 09:32:15 +02:00
Bjarke Berg
b7e5d28584 Merge remote-tracking branch 'origin/v8/dev' into netcore/merge_umbraco_id_into_netcore_dev
# Conflicts:
#	src/SolutionInfo.cs
#	src/Umbraco.Core/Persistence/Factories/ExternalLoginFactory.cs
#	src/Umbraco.Core/Persistence/Repositories/IExternalLoginRepository.cs
#	src/Umbraco.Core/Services/IExternalLoginService.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/ExternalLoginRepository.cs
#	src/Umbraco.Infrastructure/Services/Implement/ExternalLoginService.cs
#	src/Umbraco.Tests/Services/ExternalLoginServiceTests.cs
#	src/Umbraco.Web.UI/Umbraco/Views/Default.cshtml
#	src/Umbraco.Web/Editors/AuthenticationController.cs
#	src/Umbraco.Web/Editors/BackOfficeController.cs
#	src/Umbraco.Web/Editors/BackOfficeServerVariables.cs
#	src/Umbraco.Web/Editors/UsersController.cs
#	src/Umbraco.Web/HtmlHelperBackOfficeExtensions.cs
#	src/Umbraco.Web/OwinExtensions.cs
#	src/Umbraco.Web/Security/AppBuilderExtensions.cs
#	src/Umbraco.Web/Security/AuthenticationManagerExtensions.cs
#	src/Umbraco.Web/Security/BackOfficeClaimsIdentityFactory.cs
#	src/Umbraco.Web/Security/BackOfficeUserManager.cs
#	src/Umbraco.Web/Security/BackOfficeUserStore.cs
#	src/Umbraco.Web/Security/ExternalSignInAutoLinkOptions.cs
#	src/Umbraco.Web/Security/MembershipProviderBase.cs
#	src/Umbraco.Web/UmbracoDefaultOwinStartup.cs
2020-10-07 09:06:40 +02:00
Bjarke Berg
c4cedceda1 Merge 2020-10-07 08:49:37 +02:00
Shannon
ed582eea58 removes test that is testing code that will be deleted 2020-10-07 17:07:20 +11:00
Shannon
eaa295095d Gets password roll forward working 2020-10-07 16:56:48 +11:00
Bjarke Berg
a3b32db41c Merge pull request #8892 from umbraco/netcore/feature/migrate-logging
Netcore: Migrate to use MS ILogger<T>
2020-10-07 06:44:55 +02:00
Shannon
e5c272b5d2 Adds support for the super old password format so we can handle upgrades 2020-10-07 15:20:43 +11:00