From c98a78d6425cfb01251720a27198cfb1d0cf1809 Mon Sep 17 00:00:00 2001 From: jheaps Date: Wed, 24 Sep 2025 14:20:13 -0600 Subject: [PATCH] Use config options --- JoshHeaps.Net.UiTests/ChessGameTests.cs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/JoshHeaps.Net.UiTests/ChessGameTests.cs b/JoshHeaps.Net.UiTests/ChessGameTests.cs index 4556199..e934d97 100644 --- a/JoshHeaps.Net.UiTests/ChessGameTests.cs +++ b/JoshHeaps.Net.UiTests/ChessGameTests.cs @@ -11,14 +11,7 @@ public class ChessGameTests : PageTest public override BrowserNewContextOptions ContextOptions() { - return new BrowserNewContextOptions - { - ViewportSize = new ViewportSize - { - Width = Config.Playwright.Viewport.Width, - Height = Config.Playwright.Viewport.Height - } - }; + return Config.GetBrowserContextOptions(); } [OneTimeSetUp]