docs: correct Wave 2 Task 7 Test-D description to the shipped move-under-area scenario
This commit is contained in:
@@ -838,10 +838,15 @@ public async Task RenameArea_Escape_RevertsToOriginalLabel()
|
|||||||
`button.btn.btn-secondary.btn-sm:has-text('Close')`. `ShowDiff` computes the comparison
|
`button.btn.btn-secondary.btn-sm:has-text('Close')`. `ShowDiff` computes the comparison
|
||||||
centrally (no site relay), so it is deterministic for a deployed instance.
|
centrally (no site relay), so it is deterministic for a deployed instance.
|
||||||
|
|
||||||
**Step 1 — Test D: move a sub-area to the site root.** Create a parent area and a child area
|
**Step 1 — Test D: move one area under another area.** Create two root areas (parent, child)
|
||||||
under it via CLI; in the UI, right-click the child → "Move to Area…" → pick "(Site root)" →
|
via CLI; in the UI, right-click the child → "Move to Area…" → select the **parent area** in
|
||||||
Move; assert one toast; CLI read-back optional (the move toast + no error is sufficient;
|
the dialog → Move; assert one toast. (This exercises the reparenting path
|
||||||
prefer asserting the area still exists). Cleanup deletes both areas in `finally`.
|
`_targetParentId = <non-null int>`, which is richer than the `null` site-root path; the move
|
||||||
|
success toast fires only inside `SubmitMoveArea`'s `IsSuccess` branch, so toast-count-1 is
|
||||||
|
itself persistence evidence — CLI read-back is optional and omitted.) Cleanup deletes the
|
||||||
|
child then the parent in `finally` (child first, since after the move it is nested under the
|
||||||
|
parent and the parent's delete would fail while it has a sub-area). Method name:
|
||||||
|
`MoveArea_UnderAnotherArea_ShowsMovedToast`.
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
[SkippableFact]
|
[SkippableFact]
|
||||||
|
|||||||
Reference in New Issue
Block a user