@@ -21,12 +21,12 @@ describe('MockDataGeneratorModal', () => {
2121 async function renderModal ( {
2222 isOpen = true ,
2323 currentStep = MockDataGeneratorStep . SCHEMA_CONFIRMATION ,
24- enableGenAISampleDocumentPassing = false ,
24+ enableGenAISampleDocumentPassingOnAtlasProject = false ,
2525 mockServices = createMockServices ( ) ,
2626 connectionInfo,
2727 } : {
2828 isOpen ?: boolean ;
29- enableGenAISampleDocumentPassing ?: boolean ;
29+ enableGenAISampleDocumentPassingOnAtlasProject ?: boolean ;
3030 currentStep ?: MockDataGeneratorStep ;
3131 mockServices ?: any ;
3232 connectionInfo ?: ConnectionInfo ;
@@ -69,7 +69,7 @@ describe('MockDataGeneratorModal', () => {
6969 connectionInfo ,
7070 {
7171 preferences : {
72- enableGenAISampleDocumentPassing ,
72+ enableGenAISampleDocumentPassingOnAtlasProject ,
7373 } ,
7474 }
7575 ) ;
@@ -223,7 +223,9 @@ describe('MockDataGeneratorModal', () => {
223223 } ) ;
224224
225225 it ( 'uses the appropriate copy when Generative AI sample document passing is enabled' , async ( ) => {
226- await renderModal ( { enableGenAISampleDocumentPassing : true } ) ;
226+ await renderModal ( {
227+ enableGenAISampleDocumentPassingOnAtlasProject : true ,
228+ } ) ;
227229 expect ( screen . getByText ( 'Sample Documents Collected' ) ) . to . exist ;
228230 expect (
229231 screen . getByText (
0 commit comments