Files
canina/frontend/admin-panel/src/components/OrchestrationPresentation.test.tsx
T
devops 65a6fe1f0c
Deploy Canina / deploy (push) Successful in 2m1s
Repair Persian RTL orchestration panel and honest unavailable states
Preserve bounded command safety and snapshot provenance; render structured Persian records without translating human evidence. Validated app/node TypeScript, Vite build and 394 tests across 64 files in private Node 22 runner.
2026-10-23 20:48:52 +00:00

11 lines
643 B
TypeScript

import {render,screen} from '@testing-library/react';
import {expect,it} from 'vitest';
import {Records} from './OrchestrationPresentation';
it('preserves human scope, criteria and immutable identifiers while translating protocol enums',()=>{
render(<Records value={{metadata:{scope:'READY',acceptanceCriteria:['SUCCEEDED'],commitSha:'READY'},operationMode:'PREPARE',status:'SUCCEEDED'}}/>);
expect(screen.getAllByText('READY')).toHaveLength(2);
expect(screen.getByText('SUCCEEDED')).toBeInTheDocument();
expect(screen.getByText('آماده‌سازی')).toBeInTheDocument();
expect(screen.getByText('موفق')).toBeInTheDocument();
});