diff --git a/tests/web/Jordnaer.E2E.Tests/AuthenticatedTests/AuthenticatedTopBarTests.cs b/tests/web/Jordnaer.E2E.Tests/AuthenticatedTests/AuthenticatedTopBarTests.cs index 11230804..99c4f0a3 100644 --- a/tests/web/Jordnaer.E2E.Tests/AuthenticatedTests/AuthenticatedTopBarTests.cs +++ b/tests/web/Jordnaer.E2E.Tests/AuthenticatedTests/AuthenticatedTopBarTests.cs @@ -10,6 +10,7 @@ namespace Jordnaer.E2E.Tests.AuthenticatedTests; [TestFixture] [Category(nameof(TestCategory.UI))] [Category(nameof(TestCategory.Authenticated))] +[Category(nameof(TestCategory.SkipInCi))] public class TopBarTests : BrowserTest { [Test] diff --git a/tests/web/Jordnaer.E2E.Tests/ScreenResolutionTests.cs b/tests/web/Jordnaer.E2E.Tests/ScreenResolutionTests.cs index 1c727b10..daaaded1 100644 --- a/tests/web/Jordnaer.E2E.Tests/ScreenResolutionTests.cs +++ b/tests/web/Jordnaer.E2E.Tests/ScreenResolutionTests.cs @@ -41,7 +41,7 @@ await page.Locator("img#landing-page-center-image") .WaitForAsync(new LocatorWaitForOptions { State = WaitForSelectorState.Visible }); var path = $"{Constants.ScreenshotFolder}/{width}x{height}.png"; - await page.ScreenshotAsync(new PageScreenshotOptions { Path = path }); + await page.ScreenshotAsync(new PageScreenshotOptions { Path = path, FullPage = true }); Console.WriteLine($"Saved image to path '{Path.GetFullPath(path)}'"); await page.CloseAsync();