12 references to MetricTable
Aspire.Dashboard.Components.Tests (12)
Pages\MetricsTests.cs (12)
93
: cut.FindComponent<
MetricTable
>().Instance.InstrumentViewModel;
114
Assert.True(cut.FindComponent<
MetricTable
>().Instance.InstrumentViewModel.ShowCount);
115
Assert.Equal(["Time", "Count"], cut.FindComponent<
MetricTable
>().FindAll("th").Select(column => column.TextContent.Trim()));
213
cut.WaitForState(() => cut.FindComponents<
MetricTable
>().Count == 1);
214
var table = cut.FindComponent<
MetricTable
>();
355
Assert.Empty(cut.FindComponents<
MetricTable
>());
363
Assert.Single(cut.FindComponents<
MetricTable
>());
374
Assert.Empty(cut.FindComponents<
MetricTable
>());
472
cut.WaitForState(() => cut.FindComponents<
MetricTable
>().Count == 1);
473
var table = cut.FindComponent<
MetricTable
>();
481
var updatedTable = cut.FindComponent<
MetricTable
>();
560
cut.WaitForAssertion(() => Assert.Single(cut.FindComponents<
MetricTable
>()));