We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88262f1 commit e1c38d6Copy full SHA for e1c38d6
src/test/java/io/github/tahanima/e2e/login/LoginE2ETest.java
@@ -37,7 +37,7 @@ public void createBrowserContextAndPage() {
37
}
38
39
@AfterMethod(alwaysRun = true)
40
- public void captureScreenshotAndCloseBrowserContext(ITestResult result) {
+ public void captureScreenshotOnFailureAndCloseBrowserContext(ITestResult result) {
41
ITestNGMethod method = result.getMethod();
42
43
if (ITestResult.FAILURE == result.getStatus()) {
0 commit comments