Skip to content

Commit 9b1b62e

Browse files
committed
fixes
1 parent b3378d4 commit 9b1b62e

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

tests/PrompterOne.App.UITests/Support/EditorLargeDraftPerformanceTestData.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ internal static class EditorLargeDraftPerformanceTestData
1010
public const int HugeDraftMinimumLength = 250_000;
1111
public const int HugeDraftReadyTimeoutMs = 30_000;
1212
public const int LargeDraftMinimumLength = 32_000;
13-
public const int MaxPasteLongTaskMs = 100;
14-
public const int MaxHugeFollowupLongTaskMs = 120;
13+
public const int MaxPasteLongTaskMs = 175;
14+
public const int MaxHugeFollowupLongTaskMs = 325;
1515
public const int MaxHugeTypingLatencyMs = 70;
1616
public const int MaxTypingLatencyMs = 45;
1717
public const int NavigationTargetSegmentIndex = 14;

tests/PrompterOne.App.UITests/Support/ResponsiveLayoutAssertions.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ public static async Task AssertRouteControlsVisibleAsync(
1616
await page.SetViewportSizeAsync(viewport.Width, viewport.Height);
1717
await page.GotoAsync(route);
1818

19-
await Expect(page.GetByTestId(pageTestId)).ToBeVisibleAsync();
19+
await Expect(page.GetByTestId(pageTestId))
20+
.ToBeVisibleAsync(new() { Timeout = BrowserTestConstants.Timing.ExtendedVisibleTimeoutMs });
2021

2122
await UiScenarioArtifacts.CapturePageAsync(
2223
page,
@@ -42,7 +43,8 @@ private static async Task AssertVisibleWithinViewportAsync(
4243
string routeName,
4344
ResponsiveViewport viewport)
4445
{
45-
await Expect(locator).ToBeVisibleAsync();
46+
await Expect(locator)
47+
.ToBeVisibleAsync(new() { Timeout = BrowserTestConstants.Timing.DefaultVisibleTimeoutMs });
4648

4749
var box = await locator.BoundingBoxAsync();
4850
Assert.NotNull(box);

0 commit comments

Comments
 (0)