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