diff --git a/src/modules/fancyzones/UITests-FancyZones/LayoutApplyHotKeyTests.cs b/src/modules/fancyzones/UITests-FancyZones/LayoutApplyHotKeyTests.cs index 0e0156fd21..dd57088687 100644 --- a/src/modules/fancyzones/UITests-FancyZones/LayoutApplyHotKeyTests.cs +++ b/src/modules/fancyzones/UITests-FancyZones/LayoutApplyHotKeyTests.cs @@ -543,7 +543,7 @@ namespace Microsoft.FancyZones.UITests UITestBase.NativeMethods.ChangeDispalyResolution(width, height); this.AttachPowertoySetting(); this.AttachFancyZonesEditor(); - Session.Find(By.AccessibilityId("Monitors")).Find("Monitor 1").Find(width + " x " + height); + Session.Find(By.AccessibilityId("Monitors")).Find("Monitor 1").Find($"{width} x {height}"); this.CloseFancyZonesEditor(); UITestBase.NativeMethods.ChangeDispalyResolution(nowWidth, nowHeight); }