1 write to Page
Aspire.Templates.Tests (1)
tests\Shared\Playwright\WrapperForIPage.cs (1)
16Page = page;
10 references to Page
Aspire.Templates.Tests (10)
StarterTemplateRunTestsBase.cs (6)
93await pageWrapper.Page.RouteAsync("**", async route => await route.ContinueAsync()); 94await pageWrapper.Page.GotoAsync(url); 96await pageWrapper.Page.GetByRole(AriaRole.Link, new PageGetByRoleOptions { Name = "Weather" }).ClickAsync(); 98var tableLoc = pageWrapper.Page.Locator("//table[//thead/tr/th/text()='Date']"); 107await pageWrapper.Page.ReloadAsync(new PageReloadOptions { WaitUntil = WaitUntilState.Load }); 117await pageWrapper.Page.ScreenshotAsync(new PageScreenshotOptions { Path = screenshotPath });
TemplateTestsBase.cs (2)
167await dashboardPageWrapper.Page.ScreenshotAsync(new PageScreenshotOptions { Path = screenshotPath }); 206var rowsLocator = dashboardPageWrapper.Page.Locator("//tr[@class='fluent-data-grid-row hover resource-row']");
tests\Shared\Playwright\WrapperForIPage.cs (2)
34return Page.ReloadAsync(options); 40return Page.GotoAsync(url, options);