16 references to TestResource1
Aspire.Dashboard.Playwright.Tests (16)
Integration\Playwright\AspireMenuLayoutTests.cs (2)
37var resource = CreateResource(name: MockDashboardClient.TestResource1.Name); 59await 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)
35await Assertions.Expect(page.GetByRole(AriaRole.Link, new() { Name = MockDashboardClient.TestResource1.DisplayName, Exact = true }).First).ToBeVisibleAsync(); 72await Assertions.Expect(page.GetByRole(AriaRole.Link, new() { Name = MockDashboardClient.TestResource1.DisplayName, Exact = true }).First).ToBeVisibleAsync();
Integration\Playwright\ResourcePaneFilterTests.cs (1)
164protected override IReadOnlyList<ResourceViewModel>? Resources => [MockDashboardClient.TestResource1];
Integration\Playwright\ResourcePaneInteractionTests.cs (1)
525var resourceName = MockDashboardClient.TestResource1.DisplayName;
Integration\Playwright\TemplateResourceAssertionsTests.cs (1)
81MockDashboardClient.TestResource1,
Integration\Playwright\TracesLayoutTests.cs (2)
39var resource = CreateResource(name: MockDashboardClient.TestResource1.Name); 64await page.GotoAsync($"/traces/resource/{MockDashboardClient.TestResource1.Name}");
tests\Aspire.Dashboard.Tests\Shared\MockDashboardClient.cs (1)
89[.. (_resources ?? [TestResource1])],