File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ export class TestRunsService {
9797
9898 // Try auto approve
9999 if ( project . autoApproveFeature ) {
100- this . tryAutoApprove ( testVariation , testRunWithResult ) ;
100+ testRunWithResult = await this . tryAutoApprove ( testVariation , testRunWithResult ) ;
101101 }
102102 return new TestRunResultDto ( testRunWithResult , testVariation ) ;
103103 }
Original file line number Diff line number Diff line change @@ -269,8 +269,11 @@ export class TestVariationsService {
269269 async cloneToBranch ( testVariation : TestVariation , branchName : string ) : Promise < TestVariation > {
270270 return this . prismaService . testVariation . create ( {
271271 data : {
272- ...testVariation ,
272+ ...getTestVariationUniqueData ( testVariation ) ,
273273 branchName : branchName ,
274+ baselineName : testVariation . baselineName ,
275+ ignoreAreas : testVariation . ignoreAreas ,
276+ comment : testVariation . comment ,
274277 project : { connect : { id : testVariation . projectId } } ,
275278 } ,
276279 } ) ;
You can’t perform that action at this time.
0 commit comments