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:
@@ -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>();
|
||||
}
|
||||
Reference in New Issue
Block a user