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:
@@ -32,11 +32,15 @@ public class NavCollapseTests
|
||||
|
||||
private readonly PlaywrightFixture _fixture;
|
||||
|
||||
/// <summary>Initializes a new instance of the <c>NavCollapseTests</c> class.</summary>
|
||||
/// <param name="fixture">The fixture.</param>
|
||||
public NavCollapseTests(PlaywrightFixture fixture)
|
||||
{
|
||||
_fixture = fixture;
|
||||
}
|
||||
|
||||
/// <summary>Verifies that all nav sections are expanded by default after login.</summary>
|
||||
/// <returns>A task that represents the asynchronous operation.</returns>
|
||||
[Fact]
|
||||
public async Task Sections_AreExpandedByDefault_AfterLogin()
|
||||
{
|
||||
@@ -52,6 +56,8 @@ public class NavCollapseTests
|
||||
await Expect(page.Locator("a.rail-link:has-text('Topology')")).ToBeVisibleAsync();
|
||||
}
|
||||
|
||||
/// <summary>Verifies that clicking a section header toggles its items.</summary>
|
||||
/// <returns>A task that represents the asynchronous operation.</returns>
|
||||
[SkippableFact]
|
||||
public async Task ClickingSectionHeader_TogglesItsItems()
|
||||
{
|
||||
@@ -76,6 +82,8 @@ public class NavCollapseTests
|
||||
await Expect(topology).ToBeVisibleAsync();
|
||||
}
|
||||
|
||||
/// <summary>Verifies that the collapse state survives a page reload.</summary>
|
||||
/// <returns>A task that represents the asynchronous operation.</returns>
|
||||
[SkippableFact]
|
||||
public async Task CollapseState_SurvivesPageReload()
|
||||
{
|
||||
@@ -97,6 +105,8 @@ public class NavCollapseTests
|
||||
await Expect(page.Locator("a.rail-link:has-text('Topology')")).Not.ToBeVisibleAsync();
|
||||
}
|
||||
|
||||
/// <summary>Verifies that navigating into a collapsed section expands it automatically.</summary>
|
||||
/// <returns>A task that represents the asynchronous operation.</returns>
|
||||
[SkippableFact]
|
||||
public async Task NavigatingIntoCollapsedSection_AutoExpandsIt()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user