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 cf8c7d5 commit 60faaf4Copy full SHA for 60faaf4
src/main/java/com/frameworkium/tests/internal/BaseTest.java
@@ -114,6 +114,9 @@ public static void setUserAgent() {
114
public void initialiseNewScreenshotCapture(Method testMethod) {
115
if (ScreenshotCapture.isRequired()) {
116
String testID = "n/a";
117
+ try {
118
+ testID = testMethod.getName();
119
+ } catch (NullPointerException e) {}
120
try {
121
testID = testMethod.getAnnotation(Issue.class).value();
122
} catch (NullPointerException e) {}
@@ -168,4 +171,4 @@ public SauceOnDemandAuthentication getAuthentication() {
168
171
public static ScreenshotCapture getCapture() {
169
172
return capture.get();
170
173
}
-}
174
+}
0 commit comments