From b2b20dfc98e04ced0fe90d7b11df2a5dd013fa71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20El-Saig?= Date: Sat, 24 Jun 2023 13:51:55 +0200 Subject: [PATCH 1/2] Updated third party package references. --- .../Lombiq.Tests.UI.Samples.csproj | 2 +- Lombiq.Tests.UI/Lombiq.Tests.UI.csproj | 24 +++++++++---------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/Lombiq.Tests.UI.Samples/Lombiq.Tests.UI.Samples.csproj b/Lombiq.Tests.UI.Samples/Lombiq.Tests.UI.Samples.csproj index e03abda3b..9f3b8b9a1 100644 --- a/Lombiq.Tests.UI.Samples/Lombiq.Tests.UI.Samples.csproj +++ b/Lombiq.Tests.UI.Samples/Lombiq.Tests.UI.Samples.csproj @@ -23,7 +23,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/Lombiq.Tests.UI/Lombiq.Tests.UI.csproj b/Lombiq.Tests.UI/Lombiq.Tests.UI.csproj index 92b446477..ec3ffc057 100644 --- a/Lombiq.Tests.UI/Lombiq.Tests.UI.csproj +++ b/Lombiq.Tests.UI/Lombiq.Tests.UI.csproj @@ -51,25 +51,25 @@ - - - + + + - + - - - - - - + + + + + + - - + + From 2cf627db3b2a2634e852186184a84fe37ca11cdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20El-Saig?= Date: Sat, 24 Jun 2023 14:13:29 +0200 Subject: [PATCH 2/2] Post-update fixup. --- Lombiq.Tests.UI/Extensions/ScreenshotUITestContextExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lombiq.Tests.UI/Extensions/ScreenshotUITestContextExtensions.cs b/Lombiq.Tests.UI/Extensions/ScreenshotUITestContextExtensions.cs index 77adc3298..b448e76a9 100644 --- a/Lombiq.Tests.UI/Extensions/ScreenshotUITestContextExtensions.cs +++ b/Lombiq.Tests.UI/Extensions/ScreenshotUITestContextExtensions.cs @@ -144,7 +144,7 @@ public static Image TakeElementScreenshot(this UITestContext context, IWebElemen public static Image TakeElementScreenshot(this UITestContext context, By elementSelector) => context.TakeElementScreenshot(context.Get(elementSelector)); - private static string AsDimensions(IImageInfo image) => + private static string AsDimensions(Image image) => $"{image.Width.ToTechnicalString()} x {image.Height.ToTechnicalString()}"; private static string AsDimensions(Size size) =>