fixing bug

This commit is contained in:
marat 2021-05-07 16:07:01 +03:00
parent 6e74272258
commit 0de420d7c4
2 changed files with 2 additions and 2 deletions

View file

@ -125,7 +125,7 @@ public class Screenshooter {
@SneakyThrows
private byte[] imgToBytes(String filename) {
BufferedImage bImage2 = ImageIO.read(new File(filename));
ByteArrayOutputStream bos2 = new ByteArrayOutputStream();
var bos2 = new ByteArrayOutputStream();
ImageIO.write(bImage2, "png", bos2);
return bos2.toByteArray();
}

View file

@ -9,7 +9,7 @@ import org.junit.jupiter.api.Test;
public class SmokeTests extends BaseTest {
@Disabled
@Test
@SneakyThrows
@DisplayName("main page should load")
@Issue("380")