Skip to content

Commit

Permalink
Adding comment and using new way of UI testing
Browse files Browse the repository at this point in the history
  • Loading branch information
DemeSzabolcs committed Dec 20, 2023
1 parent 5b32e65 commit 3d2c178
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
using Lombiq.Tests.UI.Pages;
using System;
using Shouldly;
using Lombiq.Tests.UI.Services;

namespace Lombiq.OSOCE.Tests.UI.Tests.ModuleTests;

Expand All @@ -19,7 +18,7 @@ public BehaviorWalkthroughsTests(ITestOutputHelper testOutputHelper)
{
}

[Theory, Chrome]
[Fact]
public Task WalkthroughsShouldWorkCorrectly(Browser browser) =>
ExecuteTestAsync(
async context =>
Expand All @@ -35,8 +34,8 @@ await context.GoToSetupPageAndSetupOrchardCoreAsync(

await context.TestWalkthroughsBehaviorAsync();
},
browser,
// Could be removed if https://github.com/shepherd-pro/shepherd/issues/2555 is fixed.
// Or could be made simpler if this is fixed https://github.com/atata-framework/atata-htmlvalidation/issues/8.
changeConfiguration: configuration => configuration.HtmlValidationConfiguration.AssertHtmlValidationResultAsync =
validationResult =>
{
Expand Down

0 comments on commit 3d2c178

Please sign in to comment.