test(portal-frontend): add failing spec for case-actions mode-driven rendering

Red: case-actions has no template yet. Encodes the legacy-vs-owned
actions contract from CaseDetailResponseFactory - record-assessment
renders as a link only in redirect mode, take/release-ownership
buttons follow presence of their optional action key.
This commit is contained in:
eho
2026-07-31 08:48:41 +02:00
parent 3ed130de25
commit 754086226b
4 changed files with 65 additions and 0 deletions
@@ -0,0 +1,13 @@
import { Component, input } from '@angular/core';
import { CaseDetailActions } from '../case-detail.types';
@Component({
selector: 'app-case-actions',
imports: [],
templateUrl: './case-actions.html',
styleUrl: './case-actions.css',
})
export class CaseActions {
readonly actions = input.required<CaseDetailActions>();
}