Skip to content

Commit daf4605

Browse files
committed
test(FR-2652): add E2E tests for admin model card deletion with folder option
- Add tests 5.7 and 5.8 to admin-model-card-delete.spec.ts - 5.7: delete model card + folder together, verify notification and Go to Trash URL with folder filter - 5.8: delete model card only, verify notification and Go to Trash URL without filter - Add getAlsoDeleteFolderCheckbox() and getFolderNameLinkInDeleteDialog() to AdminModelCardPage POM - Update E2E_COVERAGE_REPORT.md: Admin Model Store 22→26 features covered
1 parent 444c84b commit daf4605

4 files changed

Lines changed: 368 additions & 61 deletions

File tree

e2e/E2E_COVERAGE_REPORT.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# E2E Test Coverage Report
22

3-
> **Last Updated:** 2026-04-13
3+
> **Last Updated:** 2026-04-22
44
> **Router Source:** [`react/src/routes.tsx`](../react/src/routes.tsx)
55
> **E2E Root:** [`e2e/`](.)
66
>
@@ -12,7 +12,7 @@
1212

1313
**Scope:** Coverage metrics apply only to the routes listed below and do **not** include all entries from `react/src/routes.tsx`. Routes such as `/admin-dashboard` (not yet exposed in menu) and `/ai-agent` (experimental) are currently out of scope.
1414

15-
**Overall (in-scope routes): 261 / 408 features covered (64%)**
15+
**Overall (in-scope routes): 265 / 412 features covered (64%)**
1616

1717
| Page | Route | Features | Covered | Status |
1818
|------|-------|:--------:|:-------:|:------:|
@@ -27,7 +27,7 @@
2727
| Service Launcher | `/service/start` | 5 | 0 | ❌ 0% |
2828
| VFolder / Data | `/data` | 45 | 32 | 🔶 71% |
2929
| Model Store | `/model-store` | 6 | 6 | ✅ 100% |
30-
| Admin Model Store | `/admin-model-store` | 22 | 22 | ✅ 100% |
30+
| Admin Model Store | `/admin-model-store` | 26 | 26 | ✅ 100% |
3131
| Storage Host | `/storage-settings/:hostname` | 3 | 0 | ❌ 0% |
3232
| My Environment | `/my-environment` | 2 | 2 | ✅ 100% |
3333
| Environment | `/environment` | 27 | 21 | 🔶 78% |
@@ -47,7 +47,7 @@
4747
| Chat | `/chat/:id?` | 6 | 6 | ✅ 100% |
4848
| Plugin System | (config-based) | 12 | 12 | ✅ 100% |
4949
| RBAC Management | `/rbac` | 22 | 21 | 🔶 95% |
50-
| **Total** | | **408** | **261** | **64%** |
50+
| **Total** | | **412** | **265** | **64%** |
5151

5252
---
5353

@@ -420,14 +420,18 @@
420420
| Cancel edit modal || `admin-model-card-edit.spec.ts` |
421421
| Single delete with confirmation || `admin-model-card-delete.spec.ts` |
422422
| Cancel single delete || `admin-model-card-delete.spec.ts` |
423+
| Delete card + folder together (checkbox) || `admin-model-card-delete.spec.ts` |
424+
| Notification + Go to Trash with folder filter || `admin-model-card-delete.spec.ts` |
425+
| Delete card only, folder kept notification || `admin-model-card-delete.spec.ts` |
426+
| Go to Trash without folder filter || `admin-model-card-delete.spec.ts` |
423427
| Bulk select and delete || `admin-model-card-delete.spec.ts` |
424428
| Cancel bulk delete || `admin-model-card-delete.spec.ts` |
425429
| Clear selection || `admin-model-card-delete.spec.ts` |
426430
| Select all via header checkbox || `admin-model-card-delete.spec.ts` |
427431
| Non-admin access blocked || `admin-model-card-access-control.spec.ts` |
428432
| URL state persistence (filter/sort/pagination) || `admin-model-card-url-state.spec.ts` |
429433

430-
**Coverage: ✅ 22/22 features**
434+
**Coverage: ✅ 26/26 features**
431435

432436
---
433437

0 commit comments

Comments
 (0)