Skip to content

Commit

Permalink
#593: restore neoload in LogAction
Browse files Browse the repository at this point in the history
  • Loading branch information
bhecquet committed Feb 14, 2024
1 parent b43cac2 commit ec14c9b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions core/src/main/java/com/seleniumtests/core/aspects/LogAction.java
Original file line number Diff line number Diff line change
Expand Up @@ -542,9 +542,9 @@ private Object commonLogTestStep(ProceedingJoinPoint joinPoint, String stepNameP
SeleniumTestsContextManager.getThreadContext().getSeleniumGridConnector(),
videoRecorder);
}
// if (neoloadDriver != null) {
// neoloadDriver.startTransaction(currentStep.getName());
// }
if (neoloadDriver != null) {
neoloadDriver.startTransaction(currentStep.getName());
}



Expand Down Expand Up @@ -575,9 +575,9 @@ private Object commonLogTestStep(ProceedingJoinPoint joinPoint, String stepNameP
TestStepManager.getCurrentRootTestStep().updateDuration();
TestStepManager.logTestStep(TestStepManager.getCurrentRootTestStep());

// if (neoloadDriver != null) {
// neoloadDriver.stopTransaction();
// }
if (neoloadDriver != null) {
neoloadDriver.stopTransaction();
}
} else {
TestStepManager.setParentTestStep(previousParent);
}
Expand Down

0 comments on commit ec14c9b

Please sign in to comment.