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:
@@ -6,7 +6,7 @@ using Xunit;
|
||||
namespace ZB.MOM.WW.ScadaBridge.CentralUI.PlaywrightTests.Design;
|
||||
|
||||
/// <summary>
|
||||
/// Browser-level coverage for the M9 design surfaces, run against the live dev cluster:
|
||||
/// Browser-level coverage for the design surfaces, run against the live dev cluster:
|
||||
/// <list type="bullet">
|
||||
/// <item>the <c>/design/templates</c> tree search filter (TemplateFolderTree pruning),</item>
|
||||
/// <item>the <c>/design/schema-library</c> page (render-smoke + UI create→delete round-trip),</item>
|
||||
@@ -22,6 +22,8 @@ public class M9SurfaceTests
|
||||
{
|
||||
private readonly PlaywrightFixture _pw;
|
||||
|
||||
/// <summary>Initializes a new instance of the test class.</summary>
|
||||
/// <param name="pw">The shared Playwright fixture.</param>
|
||||
public M9SurfaceTests(PlaywrightFixture pw)
|
||||
{
|
||||
_pw = pw;
|
||||
@@ -34,6 +36,7 @@ public class M9SurfaceTests
|
||||
/// DOM. The filter rebuilds <c>_visibleRoots</c> from matches only — non-matches are gone,
|
||||
/// not CSS-hidden — so a <c>ToHaveCountAsync(0)</c> on the non-match is the correct assertion.
|
||||
/// </summary>
|
||||
/// <returns>A task that represents the asynchronous operation.</returns>
|
||||
[SkippableFact]
|
||||
public async Task TemplateSearch_FiltersTree()
|
||||
{
|
||||
@@ -90,6 +93,7 @@ public class M9SurfaceTests
|
||||
/// the SchemaBuilder editor, and the success/delete toasts all render with no circuit crash.
|
||||
/// The DB safety-net <c>finally</c> only fires if the UI delete failed mid-flow.
|
||||
/// </summary>
|
||||
/// <returns>A task that represents the asynchronous operation.</returns>
|
||||
[SkippableFact]
|
||||
public async Task SchemaLibrary_CreateDelete_RoundTrips()
|
||||
{
|
||||
@@ -157,6 +161,7 @@ public class M9SurfaceTests
|
||||
/// sites exist on the live cluster, so the picker (rather than the "no other site" fallback)
|
||||
/// renders.
|
||||
/// </summary>
|
||||
/// <returns>A task that represents the asynchronous operation.</returns>
|
||||
[SkippableFact]
|
||||
public async Task MoveConnectionDialog_OpensWithSitePicker()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user