Skip to content

Commit 13e3906

Browse files
committed
fix: skip setting isLastStep if testRun
1 parent 4022435 commit 13e3906

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/backend/src/services/action.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export const processAction = async (options: ProcessActionOptions) => {
9393

9494
const { forEachStepIndex, stepPositions, lastStepId } =
9595
getForEachContext(flow)
96-
if (forEachStepIndex > -1 && lastStepId === stepId) {
96+
if (!testRun && forEachStepIndex > -1 && lastStepId === stepId) {
9797
metadata.isLastStep = true
9898
}
9999

0 commit comments

Comments
 (0)