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]