16 references to TestResource1
Aspire.Dashboard.Playwright.Tests (16)
Integration\Playwright\AspireMenuLayoutTests.cs (2)
37
var resource = CreateResource(name: MockDashboardClient.
TestResource1
.Name);
59
await page.GotoAsync($"/structuredlogs/resource/{MockDashboardClient.
TestResource1
.Name}");
Integration\Playwright\BrowserTokenAuthenticationTests.cs (5)
71
.Expect(page.GetByRole(AriaRole.Link, new() { Name = MockDashboardClient.
TestResource1
.DisplayName, Exact = true }).First)
101
.Expect(page.GetByRole(AriaRole.Link, new() { Name = MockDashboardClient.
TestResource1
.DisplayName, Exact = true }).First)
146
.Expect(page.GetByRole(AriaRole.Link, new() { Name = MockDashboardClient.
TestResource1
.DisplayName, Exact = true }).First)
351
.Expect(page.GetByText(MockDashboardClient.
TestResource1
.DisplayName))
357
.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)
525
var resourceName = MockDashboardClient.
TestResource1
.DisplayName;
Integration\Playwright\TemplateResourceAssertionsTests.cs (1)
81
MockDashboardClient.
TestResource1
,
Integration\Playwright\TracesLayoutTests.cs (2)
39
var resource = CreateResource(name: MockDashboardClient.
TestResource1
.Name);
64
await page.GotoAsync($"/traces/resource/{MockDashboardClient.
TestResource1
.Name}");
tests\Aspire.Dashboard.Tests\Shared\MockDashboardClient.cs (1)
89
[.. (_resources ?? [
TestResource1
])],