18 references to TestResource1
Aspire.Dashboard.Playwright.Tests (18)
Integration\Playwright\AspireMenuLayoutTests.cs (3)
34
Resource = CreateResource(name: MockDashboardClient.
TestResource1
.Name, instanceId: MockDashboardClient.
TestResource1
.Uid),
49
await page.GotoAsync($"/structuredlogs/resource/{MockDashboardClient.
TestResource1
.Name}?pane=telemetry");
Integration\Playwright\BrowserTokenAuthenticationTests.cs (5)
69
.Expect(page.GetByRole(AriaRole.Link, new() { Name = MockDashboardClient.
TestResource1
.DisplayName, Exact = true }).First)
98
.Expect(page.GetByRole(AriaRole.Link, new() { Name = MockDashboardClient.
TestResource1
.DisplayName, Exact = true }).First)
143
.Expect(page.GetByRole(AriaRole.Link, new() { Name = MockDashboardClient.
TestResource1
.DisplayName, Exact = true }).First)
277
.Expect(page.GetByText(MockDashboardClient.
TestResource1
.DisplayName))
283
.Expect(page.GetByText(MockDashboardClient.
TestResource1
.DisplayName))
Integration\Playwright\Infrastructure\PlaywrightFixture.cs (1)
46
.Expect(page.GetByText(MockDashboardClient.
TestResource1
.DisplayName).First)
Integration\Playwright\MobileNavMenuTests.cs (2)
35
await Assertions.Expect(page.GetByRole(AriaRole.Link, new() { Name = MockDashboardClient.
TestResource1
.DisplayName, Exact = true }).First).ToBeVisibleAsync();
72
await Assertions.Expect(page.GetByRole(AriaRole.Link, new() { Name = MockDashboardClient.
TestResource1
.DisplayName, Exact = true }).First).ToBeVisibleAsync();
Integration\Playwright\ResourcePaneFilterTests.cs (1)
164
protected override IReadOnlyList<ResourceViewModel>? Resources => [MockDashboardClient.
TestResource1
];
Integration\Playwright\ResourcePaneInteractionTests.cs (1)
450
var resourceName = MockDashboardClient.
TestResource1
.DisplayName;
Integration\Playwright\TemplateResourceAssertionsTests.cs (1)
71
MockDashboardClient.
TestResource1
,
Integration\Playwright\TracesLayoutTests.cs (3)
36
Resource = CreateResource(name: MockDashboardClient.
TestResource1
.Name, instanceId: MockDashboardClient.
TestResource1
.Uid),
54
await page.GotoAsync($"/traces/resource/{MockDashboardClient.
TestResource1
.Name}?pane=telemetry");
tests\Aspire.Dashboard.Tests\Shared\MockDashboardClient.cs (1)
89
[.. (_resources ?? [
TestResource1
])],