Skip to content

Commit

Permalink
skip all auth e2e tests, they're not reliable
Browse files Browse the repository at this point in the history
  • Loading branch information
NielsPilgaard committed Jul 31, 2024
1 parent e6b7d71 commit 191cc6c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion tests/web/Jordnaer.E2E.Tests/ScreenResolutionTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 191cc6c

Please sign in to comment.