docs(tests): fix CommentChecker findings across tests/ — 13,392 → 0 (repo-wide scan clean)
Comment/XML-doc changes only: - add summaries to ~10k test methods, fixtures, fakes and helpers (+ <param> on theories, <returns> on async Task methods, <inheritdoc/> on interface implementations the checker can resolve) - strip ~2.6k project-tracking references (WP*, P*-*, row-NN, Task N, #NN, Component-0NN) from comments, keeping the explanatory text; reword false positives in comments only - real docs on fakes implementing BCL/library interfaces (IDisposable, ILogger, IOptionsMonitor, IAsyncLifetime) - reword the last 5 src/ false positives (CWE-1236, failures-1, year-0001, M365) Only non-comment edits: four one-line nested classes split across lines so members can carry docs. Build 0 errors / 0 warnings.
This commit is contained in:
@@ -50,12 +50,17 @@ public class DebugViewTests : IClassFixture<DeploymentFixture>
|
||||
private readonly PlaywrightFixture _pw;
|
||||
private readonly DeploymentFixture _cluster;
|
||||
|
||||
/// <summary>Initializes the test class with the shared Playwright and cluster fixtures.</summary>
|
||||
/// <param name="pw">The shared Playwright browser fixture.</param>
|
||||
/// <param name="cluster">The shared deployment cluster fixture.</param>
|
||||
public DebugViewTests(PlaywrightFixture pw, DeploymentFixture cluster)
|
||||
{
|
||||
_pw = pw;
|
||||
_cluster = cluster;
|
||||
}
|
||||
|
||||
/// <summary>Verifies that the Debug View controls render and the Connect button is gated on an instance selection.</summary>
|
||||
/// <returns>A task that represents the asynchronous operation.</returns>
|
||||
[SkippableFact]
|
||||
public async Task DebugView_ControlsRender_ConnectGatedOnSelection()
|
||||
{
|
||||
@@ -66,7 +71,7 @@ public class DebugViewTests : IClassFixture<DeploymentFixture>
|
||||
await page.WaitForLoadStateAsync(LoadState.NetworkIdle);
|
||||
|
||||
await Assertions.Expect(page.Locator("h4:has-text('Debug View')")).ToBeVisibleAsync();
|
||||
// The data-test hooks from Task 4 must be served (proves the rebuild took).
|
||||
// The data-test hooks must be served (proves the rebuild took).
|
||||
await Assertions.Expect(page.Locator("[data-test='debug-site-select']")).ToHaveCountAsync(1);
|
||||
await Assertions.Expect(page.Locator("[data-test='debug-instance-picker']")).ToHaveCountAsync(1);
|
||||
|
||||
@@ -77,6 +82,8 @@ public class DebugViewTests : IClassFixture<DeploymentFixture>
|
||||
.ToBeVisibleAsync();
|
||||
}
|
||||
|
||||
/// <summary>Verifies that a connect-enabled instance resolves and can be disconnected.</summary>
|
||||
/// <returns>A task that represents the asynchronous operation.</returns>
|
||||
[SkippableFact]
|
||||
public async Task DebugView_ConnectEnabledInstance_ResolvesAndDisconnect()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user