Skip to content

Commit

Permalink
update wait timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
Mpdreamz committed Feb 23, 2024
1 parent 542d3da commit 790b18b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/Elastic.OpenTelemetry.EndToEndTests/ServiceTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ public async Task LatencyShowsAGraph()
_page.SetDefaultTimeout((float)TimeSpan.FromSeconds(30).TotalMilliseconds);

Check failure on line 29 in tests/Elastic.OpenTelemetry.EndToEndTests/ServiceTests.cs

View workflow job for this annotation

GitHub Actions / test

Elastic.OpenTelemetry.EndToEndTests.EndToEndTests.LatencyShowsAGraph

Microsoft.Playwright.PlaywrightException : Locator expected to be visible Call log: - LocatorAssertions.ToBeVisibleAsync with timeout 5000ms - waiting for GetByRole(AriaRole.Heading, new() { Name = "Latency", Exact = true })
var uri = new Uri(fixture.ApmUI.KibanaAppUri, $"/app/apm/services/{fixture.ServiceName}/overview").ToString();
await _page.GotoAsync(uri);
_page.SetDefaultTimeout((float)TimeSpan.FromSeconds(30).TotalMilliseconds);
await Expect(_page.GetByRole(AriaRole.Heading, new() { Name = "Latency", Exact = true })).ToBeVisibleAsync();
}

Expand Down

0 comments on commit 790b18b

Please sign in to comment.