public void VideoGenerated(object sender, VideoPluginEventArgs args) { if (!string.IsNullOrEmpty(args.VideoPath)) { TestContext.AddTestAttachment(args.VideoPath); } }
public void VideoGenerated(object sender, VideoPluginEventArgs e) { if (File.Exists(e.VideoPath)) { _allureLifecycle.AddAttachment("video on fail", "video/mpg", e.VideoPath); } }
public void VideoGenerated(object sender, VideoPluginEventArgs args) { if (!string.IsNullOrEmpty(args.VideoPath)) { try { TestContext?.AddResultFile(args.VideoPath); } catch { // ignore } } }
public void VideoGenerated(object sender, VideoPluginEventArgs e) { _filesToBeAttached.Add(e.VideoPath); }