From 69af054e4e20b3c588078fae3b302e82fc6b078d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roland=20M=C3=A1rkus?= Date: Fri, 21 Jun 2024 16:38:29 +0200 Subject: [PATCH] Updating Selenium --- Lombiq.Tests.UI/Exceptions/AccessibilityAssertionException.cs | 2 +- ...heckingOrchardCoreUITestExecutorConfigurationExtensions.cs | 3 ++- .../AccessibilityCheckingUITestContextExtensions.cs | 4 +++- Lombiq.Tests.UI/Extensions/AxeResultItemExtensions.cs | 2 +- Lombiq.Tests.UI/Lombiq.Tests.UI.csproj | 4 +++- .../Services/AccessibilityCheckingConfiguration.cs | 3 ++- Lombiq.Tests.UI/Services/UITestExecutionSession.cs | 2 +- 7 files changed, 13 insertions(+), 7 deletions(-) diff --git a/Lombiq.Tests.UI/Exceptions/AccessibilityAssertionException.cs b/Lombiq.Tests.UI/Exceptions/AccessibilityAssertionException.cs index e31925d0a..0c148fabe 100644 --- a/Lombiq.Tests.UI/Exceptions/AccessibilityAssertionException.cs +++ b/Lombiq.Tests.UI/Exceptions/AccessibilityAssertionException.cs @@ -1,4 +1,4 @@ -using Selenium.Axe; +using Deque.AxeCore.Commons; using System; namespace Lombiq.Tests.UI.Exceptions; diff --git a/Lombiq.Tests.UI/Extensions/AccessibilityCheckingOrchardCoreUITestExecutorConfigurationExtensions.cs b/Lombiq.Tests.UI/Extensions/AccessibilityCheckingOrchardCoreUITestExecutorConfigurationExtensions.cs index dd2a83e0a..9506688b1 100644 --- a/Lombiq.Tests.UI/Extensions/AccessibilityCheckingOrchardCoreUITestExecutorConfigurationExtensions.cs +++ b/Lombiq.Tests.UI/Extensions/AccessibilityCheckingOrchardCoreUITestExecutorConfigurationExtensions.cs @@ -1,5 +1,6 @@ +using Deque.AxeCore.Commons; +using Deque.AxeCore.Selenium; using Lombiq.Tests.UI.Services; -using Selenium.Axe; using System; using System.Threading.Tasks; diff --git a/Lombiq.Tests.UI/Extensions/AccessibilityCheckingUITestContextExtensions.cs b/Lombiq.Tests.UI/Extensions/AccessibilityCheckingUITestContextExtensions.cs index 04f7c4cfa..9da2527d3 100644 --- a/Lombiq.Tests.UI/Extensions/AccessibilityCheckingUITestContextExtensions.cs +++ b/Lombiq.Tests.UI/Extensions/AccessibilityCheckingUITestContextExtensions.cs @@ -1,8 +1,10 @@ +using Deque.AxeCore.Commons; +using Deque.AxeCore.Selenium; using Lombiq.Tests.UI.Exceptions; using Lombiq.Tests.UI.Services; -using Selenium.Axe; using System; using System.IO; +using TWP.Selenium.Axe.Html; namespace Lombiq.Tests.UI.Extensions; diff --git a/Lombiq.Tests.UI/Extensions/AxeResultItemExtensions.cs b/Lombiq.Tests.UI/Extensions/AxeResultItemExtensions.cs index 83d8b397d..adfd68179 100644 --- a/Lombiq.Tests.UI/Extensions/AxeResultItemExtensions.cs +++ b/Lombiq.Tests.UI/Extensions/AxeResultItemExtensions.cs @@ -1,5 +1,5 @@ +using Deque.AxeCore.Commons; using Lombiq.Tests.UI.Services; -using Selenium.Axe; using Shouldly; using System.Collections.Generic; diff --git a/Lombiq.Tests.UI/Lombiq.Tests.UI.csproj b/Lombiq.Tests.UI/Lombiq.Tests.UI.csproj index d3413dbde..4f6fa4cca 100644 --- a/Lombiq.Tests.UI/Lombiq.Tests.UI.csproj +++ b/Lombiq.Tests.UI/Lombiq.Tests.UI.csproj @@ -66,6 +66,8 @@ + + @@ -77,9 +79,9 @@ - + diff --git a/Lombiq.Tests.UI/Services/AccessibilityCheckingConfiguration.cs b/Lombiq.Tests.UI/Services/AccessibilityCheckingConfiguration.cs index 3e9f80c13..cfad38e62 100644 --- a/Lombiq.Tests.UI/Services/AccessibilityCheckingConfiguration.cs +++ b/Lombiq.Tests.UI/Services/AccessibilityCheckingConfiguration.cs @@ -1,6 +1,7 @@ +using Deque.AxeCore.Commons; +using Deque.AxeCore.Selenium; using Lombiq.Tests.UI.Extensions; using Lombiq.Tests.UI.Helpers; -using Selenium.Axe; using System; using System.Collections.Generic; using System.Linq; diff --git a/Lombiq.Tests.UI/Services/UITestExecutionSession.cs b/Lombiq.Tests.UI/Services/UITestExecutionSession.cs index f23f35074..8327af530 100644 --- a/Lombiq.Tests.UI/Services/UITestExecutionSession.cs +++ b/Lombiq.Tests.UI/Services/UITestExecutionSession.cs @@ -11,13 +11,13 @@ using Microsoft.VisualBasic.FileIO; using Mono.Unix; using Newtonsoft.Json.Linq; -using Selenium.Axe; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; +using TWP.Selenium.Axe.Html; using Xunit.Abstractions; using Xunit.Sdk;