13 references to GetValue
Aspire.Dashboard.Tests (13)
Integration\FrontendBrowserTokenAuthTests.cs (13)
175Assert.Equal("Aspire version: {Version}", GetValue(w.State, "{OriginalFormat}")); 179Assert.Equal("Now listening on: {DashboardUri}", GetValue(w.State, "{OriginalFormat}")); 181var uri = new Uri((string)GetValue(w.State, "DashboardUri")!); 186Assert.Equal("OTLP/gRPC listening on: {OtlpEndpointUri}", GetValue(w.State, "{OriginalFormat}")); 188var uri = new Uri((string)GetValue(w.State, "OtlpEndpointUri")!); 193Assert.Equal("OTLP/HTTP listening on: {OtlpEndpointUri}", GetValue(w.State, "{OriginalFormat}")); 195var uri = new Uri((string)GetValue(w.State, "OtlpEndpointUri")!); 200Assert.Equal("OTLP server is unsecured. Untrusted apps can send telemetry to the dashboard. For more information, visit https://go.microsoft.com/fwlink/?linkid=2267030", GetValue(w.State, "{OriginalFormat}")); 205Assert.Equal("Login to the dashboard at {DashboardLoginUrl}", GetValue(w.State, "{OriginalFormat}")); 207var uri = new Uri((string)GetValue(w.State, "DashboardLoginUrl")!, UriKind.Absolute); 235var loginLinkLog = l.Single(w => "Login to the dashboard at {DashboardLoginUrl}" == (string?)GetValue(w.State, "{OriginalFormat}")); 237var uri = new Uri((string)GetValue(loginLinkLog.State, "DashboardLoginUrl")!, UriKind.Absolute); 262Assert.Single(l.Where(w => "Login to the dashboard at {DashboardLoginUrl}. The URL may need changes depending on how network access to the container is configured." == (string?)GetValue(w.State, "{OriginalFormat}")));