Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSOE-859: Update HL and UITT NuGet versions #64

Merged
merged 3 commits into from
May 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
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>
Loading