File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
tests/PrompterOne.App.UITests/Support Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff 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 ;
Original file line number Diff line number Diff 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 ) ;
You can’t perform that action at this time.
0 commit comments