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