Skip to content

Commit

Permalink
no need to create ScreenShotManager twice
Browse files Browse the repository at this point in the history
  • Loading branch information
anandbagmar committed Dec 9, 2021
1 parent 59c6961 commit 9020555
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main/java/com/znsio/e2e/steps/RunCukes.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,11 @@
public class RunCukes extends AbstractTestNGCucumberTests {
private static final Logger LOGGER = Logger.getLogger(RunCukes.class.getName());
private final TestExecutionContext context;
private final ScreenShotManager screenShotManager;

public RunCukes () {
long threadId = Thread.currentThread().getId();
LOGGER.info("RunCukes constructor: ThreadId: " + threadId);
context = SessionContext.getTestExecutionContext(threadId);
screenShotManager = new ScreenShotManager();
}

@Override
Expand Down

0 comments on commit 9020555

Please sign in to comment.