File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -600,7 +600,7 @@ def run_all_test_steps_in_a_test_case(
600600 sTestStepStartTime = datetime .fromtimestamp (TestStepStartTime , tz = pytz .UTC ).strftime ("%Y-%m-%d %H:%M:%S.%f" )
601601 WinMemBegin = CommonUtil .PhysicalAvailableMemory () # get available memory
602602
603- if StepSeq in CommonUtil .disabled_step :
603+ if StepSeq in CommonUtil .disabled_step or not all_step_info [ StepSeq - 1 ][ 'step_enable' ] :
604604 CommonUtil .ExecLog (sModuleInfo , "STEP-%s is disabled" % StepSeq , 2 )
605605 sStepResult = "skipped"
606606 else :
Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ def read_steps(steps_pb) -> List[Dict]:
5050 "automatablity" : step ["stepInfo" ]["stepType" ],
5151 "always_run" : step ["stepInfo" ]["alwaysRun" ],
5252 "run_on_fail" : step ["stepInfo" ]["runOnFail" ],
53+ "step_enable" : step ["stepInfo" ]["stepEnable" ],
5354 "step_function" : "Sequential Actions" ,
5455 "step_driver" : step ["stepInfo" ]["driver" ],
5556 "type" : step ["type" ],
You can’t perform that action at this time.
0 commit comments