Skip to content

Commit

Permalink
fix:changed teardown
Browse files Browse the repository at this point in the history
  • Loading branch information
1dson committed Jan 13, 2025
1 parent f12336a commit 1a4c2b3
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,12 @@ public void takeScreenShotAfterFailure(Scenario scenario) {
}
}
}
}

@AfterAll
public static void tearDown() {
if (Browser.isBrowserOpen()) {
Browser.getDriver().close();
Browser.getDriver().quit();
Browser.removeLocalDriverThread();
}
}
Expand Down

0 comments on commit 1a4c2b3

Please sign in to comment.