Skip to content

Commit

Permalink
Merge pull request #64 from Lombiq/issue/OSOE-859
Browse files Browse the repository at this point in the history
OSOE-859: Update HL and UITT NuGet versions
  • Loading branch information
Piedone authored May 22, 2024
2 parents 4340d22 + 1fc941d commit 2545068
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
</ItemGroup>

<ItemGroup Condition="'$(NuGetBuild)' == 'true'">
<PackageReference Include="Lombiq.Tests.UI" Version="10.0.1-alpha.1.osoe-835" />
<PackageReference Include="Lombiq.Tests.UI" Version="10.0.1" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
</ItemGroup>

<ItemGroup Condition="'$(NuGetBuild)' == 'true'">
<PackageReference Include="Lombiq.HelpfulLibraries.OrchardCore" Version="9.1.0" />
<PackageReference Include="Lombiq.HelpfulLibraries.OrchardCore" Version="10.0.0" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,22 @@ namespace Lombiq.Hosting.MediaTheme.Tests.UI.Extensions;

public static class TestCaseUITestContextExtensions
{
public static async Task TestMediaThemeDeployedBehaviorAsync(this UITestContext context, string tenantPrefix = null)
// Separate shortcut method is used instead of a default value to avoid error CP0002.
public static Task TestMediaThemeDeployedBehaviorAsync(this UITestContext context) =>
context.TestMediaThemeDeployedBehaviorAsync(tenantPrefix: null);

public static async Task TestMediaThemeDeployedBehaviorAsync(this UITestContext context, string tenantPrefix)
{
await context.ExecuteMediaThemeSampleRecipeDirectlyAsync();
await context.GoToMediaThemeTestContentPageAsync();
AssertElements(context, "v", tenantPrefix);
}

public static async Task TestMediaThemeLocalBehaviorAsync(this UITestContext context, string tenantPrefix = null)
// Separate shortcut method is used instead of a default value to avoid error CP0002.
public static Task TestMediaThemeLocalBehaviorAsync(this UITestContext context) =>
context.TestMediaThemeLocalBehaviorAsync(tenantPrefix: null);

public static async Task TestMediaThemeLocalBehaviorAsync(this UITestContext context, string tenantPrefix)
{
await context.SetThemeDirectlyAsync("Lombiq.Hosting.MediaTheme.Tests.Theme");
await context.GoToHomePageAsync(onlyIfNotAlreadyThere: false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
</ItemGroup>

<ItemGroup Condition="'$(NuGetBuild)' == 'true'">
<PackageReference Include="Lombiq.Tests.UI" Version="9.0.0" />
<PackageReference Include="Lombiq.Tests.UI" Version="10.0.1" />
</ItemGroup>

</Project>

0 comments on commit 2545068

Please sign in to comment.