Ребят,не завалялся у кого пример прикрепления к Allure видео? У меня вот так:
public void startRecordVideo() {
general.DriverManager.
getDriver().startRecordingScreen();
} - вызывается в начале теста
@Attachment(value =
"FAILED STEP", type =
"video/mp4")
public byte[] stopRecordVideoRefact()
throws IOException, InterruptedException {
String base64String = DriverManager.
getDriver().stopRecordingScreen();
byte[] data = Base64.
decodeBase64(base64String);
System.
outout.println(base64String);
String destinationPath=
"target/filename.mp4";
Path path = Paths.
get(destinationPath);
Files.
write(path, data);
return data;
} - вызывается в конце теста