E
Size: a a a
E
E
E
Configuration.screenshots = false;
E
AV
AV
AV
E
AV
E
AV
A
AV
@After
public void tearDown() throws IOException {
screenshot();
}
@Attachment(type = "image/png")
public byte[] screenshot() throws IOException {
File screenshot = Screenshots.getLastScreenshot();
return screenshot == null ? null : Files.toByteArray(screenshot);
}
E
E
AV
AV