Skip to content
Open
Show file tree
Hide file tree
Changes from 52 commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
d206057
Update OC versions to preview.
sarahelsaig Jan 7, 2026
b14f10d
Merge remote-tracking branch 'origin/renovate/non-breaking-dependency…
sarahelsaig Jan 8, 2026
cdf4c90
Merge remote-tracking branch 'origin/renovate/browsers' into issue/OS…
sarahelsaig Jan 8, 2026
aef8ec9
Update "net8.0" references in UITT.
sarahelsaig Jan 8, 2026
46dea81
Fix HL warnings.
sarahelsaig Jan 8, 2026
0ba8718
Fix various errors.
sarahelsaig Jan 9, 2026
b0b3dd4
Fix remaining build errors.
sarahelsaig Jan 9, 2026
2fb9e7f
Fix miscileneous warnings.
sarahelsaig Jan 9, 2026
393342c
Remove System.Linq.Async package references, since that's now part of…
sarahelsaig Jan 9, 2026
08475ae
In UITT mark NotMediaCacheEntries as Obsolete and make sure it's not …
sarahelsaig Jan 9, 2026
f756f72
Merge remote-tracking branch 'origin/dev' into issue/OSOE-925
sarahelsaig Jan 9, 2026
e267d0a
Update all Microsoft packages.
sarahelsaig Jan 10, 2026
cd84c8d
Exclude error log "Skipping feature 'OrchardCore.Tenants' as it is al…
sarahelsaig Jan 11, 2026
fc4ff80
Fix ShuttingDownIdleTenantsShouldWork
sarahelsaig Jan 11, 2026
d1c6efa
Fix TimeShouldUpdate.
sarahelsaig Jan 11, 2026
047096b
Remove OrchardCore.Tenants from the recipes.
sarahelsaig Jan 11, 2026
aa18619
Fix BehaviorFeaturesGuardTests.
sarahelsaig Jan 11, 2026
449c8c6
Fix BehaviorMediaThemeTests.
sarahelsaig Jan 11, 2026
1a99979
Temporarily disable ElasticsearchShouldWork.
sarahelsaig Jan 12, 2026
ef6423f
Re-enable ElasticsearchTests.
sarahelsaig Jan 13, 2026
d6f3e24
Upgrade OC preview.
sarahelsaig Jan 14, 2026
9360e79
Reference search by name.
sarahelsaig Jan 14, 2026
fd71d24
Temporarily disabled.
sarahelsaig Jan 14, 2026
f6252b7
Switch from Swagger to Microsoft.AspNetCore.OpenApi.
sarahelsaig Jan 16, 2026
c16fe84
Merge remote-tracking branch 'origin/dev' into issue/OSOE-925
sarahelsaig Jan 16, 2026
adea444
Simplify GetClient.
sarahelsaig Jan 16, 2026
1acc397
Fix category.
sarahelsaig Jan 17, 2026
ce18ef3
Refactor ElasticsearchRunningContext.
sarahelsaig Jan 17, 2026
134898b
Update elasticsearchshouldwork recipe.
sarahelsaig Jan 17, 2026
5e362ec
Use Lock type.
sarahelsaig Jan 18, 2026
5cfbc84
Fix delete wildcard error.
sarahelsaig Jan 19, 2026
1d37bc3
Update branch selector.
sarahelsaig Jan 19, 2026
f32c02c
Update branch selectors.
sarahelsaig Jan 19, 2026
f41f028
Update "Lombiq.Tests" nuget.
sarahelsaig Jan 20, 2026
9b0115f
Update HL
sarahelsaig Jan 20, 2026
2956162
CompatibilitySuppressions.xml
sarahelsaig Jan 20, 2026
c3a3901
dummy
sarahelsaig Jan 20, 2026
5dc6976
Delete all CompatibilitySuppressions so we may start from scratch.
sarahelsaig Jan 20, 2026
da679d3
CompatibilitySuppressions.xml
sarahelsaig Jan 20, 2026
76f65ca
Merge remote-tracking branch 'origin/dev' into issue/OSOE-925
sarahelsaig Jan 20, 2026
d448bb1
Add and use HtmlValidationFilters.
sarahelsaig Jan 22, 2026
b0128be
Merge remote-tracking branch 'origin/dev' into issue/OSOE-925
sarahelsaig Jan 22, 2026
c0ad9c8
Upgrade OC preview.
sarahelsaig Jan 22, 2026
28cd4ec
Fix consolidation.
sarahelsaig Jan 22, 2026
95b6b12
Merge remote-tracking branch 'origin/issue/OSOE-925' into issue/OSOE-925
sarahelsaig Jan 22, 2026
a009f10
Use the new DeleteAllIndexesAsync extension method.
sarahelsaig Jan 22, 2026
0f6e4f6
HL nuget
sarahelsaig Jan 22, 2026
5b08041
Fix CA2263.
sarahelsaig Jan 22, 2026
c3b2903
Remove WithOC15222Filter.
sarahelsaig Jan 22, 2026
b35f708
Renames and minor fixes.
sarahelsaig Jan 22, 2026
e66980b
UC preview update.
sarahelsaig Jan 23, 2026
fac58b7
Update HL nuget.
sarahelsaig Jan 23, 2026
ee47f6c
Rewrite AssertHtmlValidationResultAsync
sarahelsaig Jan 26, 2026
31b45e5
Update OC preview.
sarahelsaig Jan 27, 2026
0ba3e39
Introducing TempDirectoryPath.
sarahelsaig Jan 28, 2026
57e1357
Rename JsonHtmlValidationError to HtmlValidationError.
sarahelsaig Jan 28, 2026
564efcc
Refactor AssertHtmlValidationResultAsync.
sarahelsaig Jan 28, 2026
4935c6d
Update HL NuGet.
sarahelsaig Jan 28, 2026
65f3368
Merge remote-tracking branch 'origin/dev' into issue/OSOE-925
sarahelsaig Jan 29, 2026
c641ba6
Add axe result filtering.
sarahelsaig Jan 31, 2026
e0c6b53
Fix a bug that breaks UI test in local only.
sarahelsaig Feb 1, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/publish-cloudsmith.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
publish-nuget:
name: Publish to Cloudsmith
uses: Lombiq/GitHub-Actions/.github/workflows/publish-nuget.yml@dev
uses: Lombiq/GitHub-Actions/.github/workflows/publish-nuget.yml@issue/OSOE-925
with:
source: https://nuget.cloudsmith.io/lombiq/open-source-orchard-core-extensions/v3/index.json
secrets:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ jobs:
publish-nuget:
name: Publish to NuGet
if: ${{ !contains(github.ref_name, '-preview.') }}
uses: Lombiq/GitHub-Actions/.github/workflows/publish-nuget.yml@dev
uses: Lombiq/GitHub-Actions/.github/workflows/publish-nuget.yml@issue/OSOE-925
secrets:
API_KEY: ${{ secrets.DEFAULT_NUGET_PUBLISH_API_KEY }}
2 changes: 1 addition & 1 deletion .github/workflows/validate-nuget-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ on:
jobs:
validate-nuget-publish:
name: Validate NuGet Publish
uses: Lombiq/GitHub-Actions/.github/workflows/validate-nuget-publish.yml@dev
uses: Lombiq/GitHub-Actions/.github/workflows/validate-nuget-publish.yml@issue/OSOE-925
8 changes: 8 additions & 0 deletions Lombiq.Tests.UI.AppExtensions/CompatibilitySuppressions.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- https://learn.microsoft.com/dotnet/fundamentals/package-validation/diagnostic-ids -->
<Suppressions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Suppression>
<DiagnosticId>PKV006</DiagnosticId>
<Target>net8.0</Target>
</Suppression>
</Suppressions>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<IsPublishable>false</IsPublishable>
<DefaultItemExcludes>$(DefaultItemExcludes);.git*</DefaultItemExcludes>
</PropertyGroup>
Expand All @@ -28,9 +28,9 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="OrchardCore" Version="2.1.0" />
<PackageReference Include="OrchardCore.Email.Abstractions" Version="2.1.0" />
<PackageReference Include="OrchardCore.Liquid" Version="2.1.0" />
<PackageReference Include="OrchardCore" Version="3.0.0-preview-18892" />
<PackageReference Include="OrchardCore.Email.Abstractions" Version="3.0.0-preview-18892" />
<PackageReference Include="OrchardCore.Liquid" Version="3.0.0-preview-18892" />
</ItemGroup>

<ItemGroup Condition="'$(NuGetBuild)' != 'true'">
Expand All @@ -39,6 +39,6 @@


<ItemGroup Condition="'$(NuGetBuild)' == 'true'">
<PackageReference Include="Lombiq.HelpfulLibraries.OrchardCore" Version="12.5.0" />
<PackageReference Include="Lombiq.HelpfulLibraries.OrchardCore" Version="12.5.1-alpha.7.osoe-925" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion Lombiq.Tests.UI.Samples/Lombiq.Tests.UI.Samples.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<IsPackable>false</IsPackable>
<OutputType>Exe</OutputType>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,25 +29,119 @@
"Indices": [
{
"elasticsearchshouldwork": {
"AnalyzerName": "standard",
"IndexLatest": false,
"IndexedContentTypes": [
"BlogPost"
],
"Culture": "any",
"StoreSourceData": true
"Id": "elasticsearchshouldwork000",
"ProviderName": "Elasticsearch",
"Type": "Content",
"CreatedUtc": "2026-01-17T19:21:17Z",
"Properties": {
"ContentIndexMetadata": {
"IndexLatest": false,
"IndexedContentTypes": [
"BlogPost"
],
"Culture": "any"
},
"ElasticsearchIndexMetadata": {
"StoreSourceData": true,
"AnalyzerName": "standard",
"IndexMappings": {
"KeyFieldName": "ContentItemId",
"Mapping": {
"dynamic_templates": [
{
"*.Inherited": {
"mapping": {
"type": "keyword"
},
"match_mapping_type": "string",
"path_match": "*.Inherited"
}
},
{
"*.Ids": {
"mapping": {
"type": "keyword"
},
"match_mapping_type": "string",
"path_match": "*.Ids"
}
},
{
"*.Location": {
"mapping": {
"type": "geo_point"
},
"match_mapping_type": "object",
"path_match": "*.Location"
}
}
],
"properties": {
"ContentItemId": {
"type": "keyword"
},
"ContentItemVersionId": {
"type": "keyword"
},
"Content.ContentItem.Owner": {
"type": "keyword"
},
"Content.ContentItem.FullText": {
"type": "text"
},
"Content.ContentItem.ContainedPart": {
"properties": {
"Ids": {
"type": "keyword"
},
"Order": {
"type": "float"
}
},
"type": "object"
},
"Content.ContentItem.DisplayText": {
"properties": {
"Analyzed": {
"type": "text"
},
"Normalized": {
"type": "keyword"
},
"Keyword": {
"type": "keyword"
}
},
"type": "object"
},
"Content.ContentItem.ContentType": {
"type": "keyword"
}
},
"_source": {
"enabled": true,
"excludes": [
"Content.ContentItem.DisplayText.Analyzed"
]
}
}
}
},
"ElasticsearchDefaultQueryMetadata": {
"QueryAnalyzerName": "standard",
"DefaultSearchFields": [
"Content.ContentItem.FullText"
]
}
}
}
}
]
},
{
"name": "Settings",
"ElasticSettings": {
"SearchIndex": "elasticsearchshouldwork",
"DefaultSearchFields": [
"Content.ContentItem.FullText"
],
"AllowElasticQueryStringQueryInSearch": false
"SearchSettings": {
"DefaultIndexProfileName": "elasticsearchshouldwork"
}
},
{
Expand Down
1 change: 0 additions & 1 deletion Lombiq.Tests.UI.Samples/Tests/ElasticsearchTests.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using Lombiq.Tests.UI.Extensions;
using Lombiq.Tests.UI.Samples.Helpers;
using OpenQA.Selenium;
using System;
using System.Threading.Tasks;
using Xunit;

Expand Down
4 changes: 4 additions & 0 deletions Lombiq.Tests.UI.Samples/Tests/ShiftTimeTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,14 @@ public Task TimeShouldUpdate() =>
await context.GoToAdminRelativeUrlAsync(
"/Contents/ContentTypes/LiquidWidget/Create?returnUrl=%2FAdmin%2FLayers&" +
"LayerMetadata.Zone=Content&LayerMetadata.Position=1");
await context.FillInWithRetriesAsync(By.Id("LayerMetadata_Title"), "Current Time Widget");
await context.SetDropdownByValueAsync(By.Id("LayerMetadata_LayerMetadata_Layer"), "Always");
await context.FillInCodeMirrorEditorWithRetriesAsync(
By.CssSelector(".CodeMirror.cm-s-default"),
"<div id=\"now\">{{ \"now\" | utc | date: \"%Y-%m-%d %H:%M\" }}</div>");
await context.ClickReliablyOnAsync(By.ClassName("publish"));
context.ShouldBeSuccess();
context.Missing(By.CssSelector(".validation-summary-errors ul li"));

var now = await GetNowAsync(context);

Expand Down
1 change: 1 addition & 0 deletions Lombiq.Tests.UI.Samples/Tests/TenantTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ public Task CreatingTenantShouldWork() =>
await context.SignInDirectlyAsync();

// Create the tenant with a custom admin user.
await context.EnableTenantsFeatureDirectlyAsync();
await context.CreateAndSwitchToTenantAsync(
TestTenantName,
TestTenantUrlPrefix,
Expand Down
8 changes: 8 additions & 0 deletions Lombiq.Tests.UI.Shortcuts/CompatibilitySuppressions.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- https://learn.microsoft.com/dotnet/fundamentals/package-validation/diagnostic-ids -->
<Suppressions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Suppression>
<DiagnosticId>PKV006</DiagnosticId>
<Target>net8.0</Target>
</Suppression>
</Suppressions>
24 changes: 13 additions & 11 deletions Lombiq.Tests.UI.Shortcuts/Lombiq.Tests.UI.Shortcuts.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Razor">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<IsPublishable>false</IsPublishable>
<AddRazorSupportForMvc>true</AddRazorSupportForMvc>
<DefaultItemExcludes>$(DefaultItemExcludes);.git*</DefaultItemExcludes>
Expand Down Expand Up @@ -29,15 +29,17 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="OrchardCore.Module.Targets" Version="2.1.0" />
<PackageReference Include="OrchardCore.Themes" Version="2.1.0" />
<PackageReference Include="OrchardCore.Users" Version="2.1.0" />
<PackageReference Include="OrchardCore.Media.Abstractions" Version="2.1.0" />
<PackageReference Include="OrchardCore.Recipes.Abstractions" Version="2.1.0" />
<PackageReference Include="OrchardCore.Abstractions" Version="2.1.0" />
<PackageReference Include="OrchardCore.ResourceManagement.Abstractions" Version="2.1.0" />
<PackageReference Include="OrchardCore.Workflows" Version="2.1.0" />
<PackageReference Include="OrchardCore.Search.Elasticsearch.Core" Version="2.1.0" />
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="10.0.2" />
<PackageReference Include="OrchardCore.Module.Targets" Version="3.0.0-preview-18892" />
<PackageReference Include="OrchardCore.Tenants" Version="3.0.0-preview-18892" />
<PackageReference Include="OrchardCore.Themes" Version="3.0.0-preview-18892" />
<PackageReference Include="OrchardCore.Users" Version="3.0.0-preview-18892" />
<PackageReference Include="OrchardCore.Media.Abstractions" Version="3.0.0-preview-18892" />
<PackageReference Include="OrchardCore.Recipes.Abstractions" Version="3.0.0-preview-18892" />
<PackageReference Include="OrchardCore.Abstractions" Version="3.0.0-preview-18892" />
<PackageReference Include="OrchardCore.ResourceManagement.Abstractions" Version="3.0.0-preview-18892" />
<PackageReference Include="OrchardCore.Workflows" Version="3.0.0-preview-18892" />
<PackageReference Include="OrchardCore.Search.Elasticsearch.Core" Version="3.0.0-preview-18892" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="10.1.0" />
</ItemGroup>

Expand All @@ -46,7 +48,7 @@
</ItemGroup>

<ItemGroup Condition="'$(NuGetBuild)' == 'true'">
<PackageReference Include="Lombiq.HelpfulLibraries.OrchardCore" Version="12.5.0" />
<PackageReference Include="Lombiq.HelpfulLibraries.OrchardCore" Version="12.5.1-alpha.7.osoe-925" />
</ItemGroup>

</Project>
6 changes: 3 additions & 3 deletions Lombiq.Tests.UI.Shortcuts/Manifest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@
)]

[assembly: Feature(
Id = Swagger,
Name = "Swagger - Shortcuts - Lombiq UI Testing Toolbox",
Id = OpenApi,
Name = "OpenAPI - Shortcuts - Lombiq UI Testing Toolbox",
Category = "Development",
Description = DescriptionUiTestWarning + "Provides a Swagger endpoint to generate a JSON OpenAPI definition for " +
Description = DescriptionUiTestWarning + "Provides an endpoint to generate a JSON OpenAPI definition for " +
"the web APIs available in the app. Used in security scanning."
)]

Expand Down
2 changes: 1 addition & 1 deletion Lombiq.Tests.UI.Shortcuts/ShortcutsFeatureIds.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ public static class ShortcutsFeatureIds
public const string FeatureToggleTestBench = $"{Default}.{nameof(FeatureToggleTestBench)}";
public const string MediaCachePurge = $"{Default}.{nameof(MediaCachePurge)}";
public const string ShiftTime = $"{Default}.{nameof(ShiftTime)}";
public const string Swagger = $"{Default}.{nameof(Swagger)}";
public const string OpenApi = $"{Default}.{nameof(OpenApi)}";
public const string Workflows = $"{Default}.{nameof(Workflows)}";
}
9 changes: 4 additions & 5 deletions Lombiq.Tests.UI.Shortcuts/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,14 @@ public override void Configure(IApplicationBuilder app, IEndpointRouteBuilder ro
app.UseMiddleware<ExceptionContextLoggingMiddleware>();
}

[Feature(ShortcutsFeatureIds.Swagger)]
public sealed class SwaggerStartup : StartupBase
[Feature(ShortcutsFeatureIds.OpenApi)]
public sealed class OpenApiSetup : StartupBase
{
public override void ConfigureServices(IServiceCollection services) =>
services.AddSwaggerGen(swaggerGenOptions =>
swaggerGenOptions.SwaggerDoc("v1", new OpenApiInfo { Title = "Orchard Core API", Version = "v1" }));
services.AddOpenApi(options => options.OpenApiVersion = OpenApiSpecVersion.OpenApi3_1);

public override void Configure(IApplicationBuilder app, IEndpointRouteBuilder routes, IServiceProvider serviceProvider) =>
app.UseSwagger();
routes.MapOpenApi();
}

[Feature(ShortcutsFeatureIds.ShiftTime)]
Expand Down
2 changes: 1 addition & 1 deletion Lombiq.Tests.UI.Tests.UI/Lombiq.Tests.UI.Tests.UI.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion Lombiq.Tests.UI/Attributes/AllBrowsersAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public sealed class AllBrowsersAttribute : DataAttribute
{
public override ValueTask<IReadOnlyCollection<ITheoryDataRow>> GetData(MethodInfo testMethod, DisposalTracker disposalTracker)
{
var browsers = (IEnumerable<Browser>)Enum.GetValues(typeof(Browser));
var browsers = Enum.GetValues<Browser>();
var dataRows = new List<ITheoryDataRow>();

foreach (var browser in browsers)
Expand Down
8 changes: 8 additions & 0 deletions Lombiq.Tests.UI/CompatibilitySuppressions.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- https://learn.microsoft.com/dotnet/fundamentals/package-validation/diagnostic-ids -->
<Suppressions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Suppression>
<DiagnosticId>PKV006</DiagnosticId>
<Target>net8.0</Target>
</Suppression>
</Suppressions>
2 changes: 1 addition & 1 deletion Lombiq.Tests.UI/Docs/Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Note also that some projects' _xunit.runner.json_ files may include the flag [`s

Certain test execution parameters can be configured externally too, the ones retrieved via the `TestConfigurationManager` class. All configuration options are basic key-value pairs and can be provided in one of the two ways:

- Key-value pairs in a _TestConfiguration.json_ file. Note that this file needs to be in the folder where the UI tests execute. By default this is the build output folder of the given test project, i.e. where the projects's DLL is generated (e.g. _bin/Debug/net6.0_).
- Key-value pairs in a _TestConfiguration.json_ file. Note that this file needs to be in the folder where the UI tests execute. By default this is the build output folder of the given test project, i.e. where the projects's DLL is generated (e.g. _bin/Debug/net10.0_).
- Environment variables: Their names should be prefixed with `Lombiq_Tests_UI`, followed by the config with a `__` as it is with [(ASP).NET configuration](https://learn.microsoft.com/en-us/aspnet/core/fundamentals/configuration/), e.g. `Lombiq_Tests_UI__OrchardCoreUITestExecutorConfiguration__MaxRetryCount` (instead of the double underscore you can also use a `:` on certain platforms like Windows). Keep in mind that you can set these just for the current session too. Configuration in environment variables will take precedence over the _TestConfiguration.json_ file. When you're setting environment variables while trying out test execution keep in mind that you'll have to restart the app after changing any environment variable.

Here's a full _TestConfiguration.json_ file example, something appropriate during development when you have a fast machine (probably faster then the one used to execute these tests) and want tests to fail fast instead of being reliable:
Expand Down
2 changes: 1 addition & 1 deletion Lombiq.Tests.UI/Docs/Troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## General tips

- When a test fails it'll create a dump in the test execution's folder (usually something like _bin/Debug/net8.0_ under your test project), in a new _TestDumps_ folder. (Though succeeding tests may also provide some output files there.) This should help you pinpoint where the issue is even if the test was run in a CI environment, and you can't reproduce it locally. The dump contains the following:
- When a test fails it'll create a dump in the test execution's folder (usually something like _bin/Debug/net10.0_ under your test project), in a new _TestDumps_ folder. (Though succeeding tests may also provide some output files there.) This should help you pinpoint where the issue is even if the test was run in a CI environment, and you can't reproduce it locally. The dump contains the following:
- The Orchard application's folder, including settings files, the SQLite or SQL Server DB, logs, etc. that you can utilize to see log entries and to run the app from that state.
- Browser logs, i.e. the developer console output.
- Screenshots of each page in order the test visited them, as well as when the test failed (Windows Photo Viewer won't be able to open it though, use something else like the Windows 10 Photos app).
Expand Down
Loading
Loading