File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed
src/pages/scientificServices/pipelines Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -116,6 +116,7 @@ describe('RunJob Component', () => {
116116 expect ( screen . getByText ( 'Enter minimum imputation quality for inclusion' ) ) . toBeInTheDocument ( ) ;
117117 expect ( screen . getByText ( / E n t e r d e s c r i p t i o n / ) ) . toBeInTheDocument ( ) ;
118118 expect ( screen . getByText ( 'Select a multi-sample VCF file' ) ) . toBeInTheDocument ( ) ;
119+ expect ( screen . getByText ( 'Allow chunk failures' ) ) . toBeInTheDocument ( ) ;
119120
120121 // Wait for pipeline options to load
121122 await waitFor ( ( ) => {
@@ -162,6 +163,12 @@ describe('RunJob Component', () => {
162163 await user . type ( descriptionTextArea , 'Test description for pipeline run' ) ;
163164
164165 expect ( descriptionTextArea ) . toHaveValue ( 'Test description for pipeline run' ) ;
166+
167+ // Toggle allowChunkFailures
168+ const allowChunkFailuresCheckbox = screen . getByLabelText ( 'allow chunk failures' ) ;
169+ await user . click ( allowChunkFailuresCheckbox ) ;
170+
171+ expect ( allowChunkFailuresCheckbox ) . toBeChecked ( ) ;
165172 } ) ;
166173
167174 it ( 'handles file selection and triggers upload process' , async ( ) => {
Original file line number Diff line number Diff line change @@ -33,6 +33,13 @@ export function mockPipelineWithDetails(name: string): PipelineWithDetails {
3333 minValue : 0 ,
3434 maxValue : 1 ,
3535 } ,
36+ {
37+ name : 'allowChunkFailures' ,
38+ displayName : 'allow chunk failures' ,
39+ description : 'If true, allow up to 10% chunk failure rate. Default false.' ,
40+ type : 'BOOLEAN' ,
41+ isRequired : false ,
42+ } ,
3643 {
3744 name : 'multiSampleVcf' ,
3845 displayName : 'multi-sample VCF file' ,
You can’t perform that action at this time.
0 commit comments