public static void Initialize()
    {
        // remove some noise from the html snapshot

        VerifierSettings.ScrubEmptyLines();
        VerifierSettings.ScrubLinesWithReplace(s => s.Replace("<!--!-->", ""));
        HtmlPrettyPrint.All();
        VerifierSettings.ScrubLinesContaining("<script src=\"_framework/dotnet.");

        VerifyPlaywright.Enable();
    }
示例#2
0
 public static void Initialize()
 {
     // remove some noise from the html snapshot
     #region scrubbing
     VerifierSettings.ScrubEmptyLines();
     VerifierSettings.ScrubLinesWithReplace(s => s.Replace("<!--!-->", ""));
     HtmlPrettyPrint.All();
     VerifierSettings.ScrubLinesContaining("<script src=\"_framework/dotnet.");
     #endregion
     VerifyPlaywright.Enable();
     VerifyImageMagick.Initialize();
     VerifyImageMagick.RegisterComparers(.01);
 }