Files
KArtSell.Aegis/docs/Design/kbx-foundation-v52-fe-operational-navigation-screen-anatomy/tests/e2e/production-resilience.spec.ts
T
kjh2064 c41e5063b7 chore: remove kbx-foundation-v36 reference (superseded by v4 implementation)
Removed entire kbx-foundation-v36 directory as it's been replaced by
the new KBX Foundation v4 patterns implemented in this session:
- Registry-driven screen definitions
- Density-aware UI adapter components
- Feature module templates (ShadowRun, Models)

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-08-12 01:39:58 +09:00

21 lines
1002 B
TypeScript

import { test, expect } from '@playwright/test'
test.describe('KBX production resilience UX', () => {
test('version conflict does not silently overwrite latest server data', async ({ page }) => {
await page.goto('/oms/orders/new')
// Host repository should stub a 409 KbxConflictProblem after editing.
// Verify KbxConflictResolver shows latest server values and no second mutation occurs automatically.
})
test('long-running operation remains visible after route change', async ({ page }) => {
await page.goto('/oms/orders/import')
// Start a background import, navigate away, then verify the runtime Operation Center still exposes progress.
})
test('degraded mode is visible without blocking unaffected reads', async ({ page }) => {
await page.goto('/oms/orders')
// Stub /api/kbx/runtime/notice as degraded and verify the banner is visible while the list remains usable.
await expect(page.locator('[data-screen-id="OMS-ORD-001"]')).toBeVisible()
})
})