func GetCustomTestCases(discoReader *discovery.CustomTest, ctx *model.Context, headlessTokenAcquisition bool) SpecificationTestCases {
	spec := discovery.ModelAPISpecification{Name: discoReader.Name}
	specTestCases := SpecificationTestCases{Specification: spec}
	testcases := []model.TestCase{}
	for _, testcase := range discoReader.Sequence {
		if !headlessTokenAcquisition {
			showReplacementErrors := false
			testcase.ProcessReplacementFields(ctx, showReplacementErrors)
		}
		testcases = append(testcases, testcase)
	}
	specTestCases.TestCases = testcases
	return specTestCases
}
// GetCustomTestCases retrieves custom tests from the discovery file
GetCustomTestCases retrieves custom tests from the discovery file
// GetCustomTestCases retrieves custom tests from the discovery file
func GetCustomTestCases(discoReader *discovery.CustomTest, ctx *model.Context, headlessTokenAcquisition bool) SpecificationTestCases {
	spec := discovery.ModelAPISpecification{Name: discoReader.Name}
	specTestCases := SpecificationTestCases{Specification: spec}
	testcases := []model.TestCase{}
	for _, testcase := range discoReader.Sequence {
		if !headlessTokenAcquisition {
			showReplacementErrors := false
			testcase.ProcessReplacementFields(ctx, showReplacementErrors)
		}
		testcases = append(testcases, testcase)
	}
	specTestCases.TestCases = testcases
	return specTestCases
}
func GetCustomTestCases ( discoReader * discovery . CustomTest , ctx * model . Context , headlessTokenAcquisition bool ) SpecificationTestCases { spec := discovery . ModelAPISpecification { Name : discoReader . Name } specTestCases := SpecificationTestCases { Specification : spec } testcases := [ ] model . TestCase { } for _ , testcase := range discoReader . Sequence { if ! headlessTokenAcquisition { showReplacementErrors := false testcase . ProcessReplacementFields ( ctx , showReplacementErrors ) } testcases = append ( testcases , testcase ) } specTestCases . TestCases = testcases return specTestCases }
GetCustomTestCases retrieves custom tests from the discovery file
GetCustomTestCases retrieves custom tests from the discovery file