Skip to content

Commit d2fa9aa

Browse files
committed
tets
1 parent e0e7c82 commit d2fa9aa

File tree

6 files changed

+7
-4
lines changed

6 files changed

+7
-4
lines changed

AGENTS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,7 @@ Local `AGENTS.md` files may tighten these values, but they must not loosen them
304304
- Hardcoded values are forbidden.
305305
- String literals are forbidden in implementation code. Declare them once as named constants, enums, configuration entries, or dedicated value objects, then reuse those symbols.
306306
- Avoid magic literals. Extract shared values into constants, enums, configuration, or dedicated types.
307+
- Backlog metadata does not belong in product code: issue numbers, PR numbers, review language, and planning terminology must never appear in production runtime models, diagnostics, or user-facing text unless the feature explicitly exposes source-control metadata.
307308
- Design boundaries so real behaviour can be tested through public interfaces.
308309
- For `.NET`, the repo-root `.editorconfig` is the source of truth for formatting, naming, style, and analyzer severity.
309310
- Use nested `.editorconfig` files when they serve a clear subtree-specific purpose. Do not let IDE defaults, pipeline flags, and repo config disagree.
@@ -362,6 +363,7 @@ Ask first:
362363
- Installing stale, non-canonical, or non-`mcaf-*` skills into the repo-local agent skill directory.
363364
- Moving root governance out of the repository root.
364365
- Mixing multiple `.NET` test frameworks in the active solution without a documented migration plan.
366+
- Running build, test, or verification commands for file-only structural reorganizations when the user explicitly asked for folder cleanup without behavior changes.
365367
- Adding fallback paths or alternate harnesses that only make failures disappear in tests while the primary product path remains broken.
366368
- Switching desktop Uno pages into stacked or mobile-style responsive layouts during resize work unless the user explicitly asks for a different composition; desktop pages must stay desktop-first and protect geometry through sizing constraints instead.
367369
- Adding extra UI-test orchestration complexity when the actual goal is simply to run the tests and get an honest pass or fail result.

DotPilot.UITests/AGENTS.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ Stack: `.NET 10`, `NUnit`, `Uno.UITest`, browser-driven UI tests
1111
## Entry Points
1212

1313
- `DotPilot.UITests.csproj`
14-
- `Harness/*`
15-
- `Features/*`
14+
- `Harness/Constants.cs`
15+
- `Harness/TestBase.cs`
16+
- `Features/ApplicationShell/Given_MainPage.cs`
1617

1718
## Boundaries
1819

@@ -21,7 +22,7 @@ Stack: `.NET 10`, `NUnit`, `Uno.UITest`, browser-driven UI tests
2122
- Treat browser-driver setup and app-launch prerequisites as part of the harness, not as assumptions inside individual tests.
2223
- The harness must make `dotnet test DotPilot.UITests/DotPilot.UITests.csproj` runnable without manual driver-path export and must fail loudly instead of silently skipping coverage.
2324
- Keep the harness direct and minimal; prefer the smallest deterministic setup needed to run the suite and return a real result.
24-
- Organize files by feature slice and harness boundary: browser/bootstrap infrastructure under harness folders, feature-flow tests under the slice they verify.
25+
- Keep the file layout explicit: browser harness code belongs under `Harness/`, harness self-tests under `Harness/Tests/`, end-to-end slice coverage under `Features/<Slice>/`, and cross-slice operator flows under `Journeys/`.
2526
- Use the official `Uno` MCP documentation as the source of truth for `Uno.UITest` browser behavior, and align selectors with the documented WebAssembly automation mapping before changing the harness.
2627
- Do not manually launch the app or a standalone `browserwasm` host while working on this project; browser-path reproduction and debugging must go through `dotnet test` and the real `DotPilot.UITests` harness only.
2728
- UI tests must cover each feature's interactive elements, expected behaviors, and full operator flows instead of only a top-level smoke path.
@@ -40,5 +41,5 @@ Stack: `.NET 10`, `NUnit`, `Uno.UITest`, browser-driven UI tests
4041
## Local Risks Or Protected Areas
4142

4243
- The harness targets a browser flow and auto-starts the `net10.0-browserwasm` head on a loopback URI resolved by the harness; any driver discovery or bootstrap logic must stay deterministic across local and agent environments.
43-
- `Constants.cs` and `TestBase.cs` define environment assumptions for every UI test; update them carefully and only when the automation target actually changes.
44+
- `Harness/Constants.cs` and `Harness/TestBase.cs` define environment assumptions for every UI test; update them carefully and only when the automation target actually changes.
4445
- Every new UI capability should arrive with assertions for the visible controls it adds and at least one complete end-to-end flow through the affected surface.

DotPilot.UITests/Features/Workbench/Given_WorkbenchShell.cs renamed to DotPilot.UITests/Features/ApplicationShell/Given_MainPage.cs

File renamed without changes.
File renamed without changes.

DotPilot.UITests/Harness/BrowserAutomationBootstrapTests.cs renamed to DotPilot.UITests/Harness/Tests/BrowserAutomationBootstrapTests.cs

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)