Skip to content

Commit

Permalink
call & callonce functions fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ümit Özdemir committed Nov 27, 2024
1 parent 547c624 commit 70f2719
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,10 @@ public boolean beforeStep(final Step step,
return true;
}

if (step.getText().startsWith("call") || step.getText().startsWith("callonce")) {
return true;
}

final String uuid = parentUuid + "-" + step.getIndex();
final io.qameta.allure.model.StepResult stepResult = new io.qameta.allure.model.StepResult()
.setName(step.getText());
Expand All @@ -190,6 +194,10 @@ public void afterStep(final StepResult result,
return;
}

if (step.getText().startsWith("call") || step.getText().startsWith("callonce")) {
return;
}

final Step step = result.getStep();
final String uuid = parentUuid + "-" + step.getIndex();

Expand Down

0 comments on commit 70f2719

Please sign in to comment.