mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-04 20:21:18 +08:00
[Tests]Increase WebView2 loading timeout (#29760)
This commit is contained in:
parent
889de94fa2
commit
534b9673cd
@ -17,7 +17,7 @@ namespace MarkdownPreviewHandlerUnitTests
|
||||
public class MarkdownPreviewHandlerTest
|
||||
{
|
||||
// A long timeout is needed. WebView2 can take a long time to load the first time in some CI systems.
|
||||
private static readonly int HardTimeoutInMilliseconds = 30000;
|
||||
private static readonly int HardTimeoutInMilliseconds = 60000;
|
||||
private static readonly int SleepTimeInMilliseconds = 200;
|
||||
|
||||
[TestMethod]
|
||||
|
@ -4,9 +4,7 @@
|
||||
|
||||
using System;
|
||||
using System.Drawing;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Runtime.InteropServices.ComTypes;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
using System.Windows.Forms;
|
||||
using Microsoft.PowerToys.PreviewHandler.Svg;
|
||||
@ -22,7 +20,7 @@ namespace SvgPreviewHandlerUnitTests
|
||||
public class SvgPreviewControlTests
|
||||
{
|
||||
// A long timeout is needed. WebView2 can take a long time to load the first time in some CI systems.
|
||||
private static readonly int HardTimeoutInMilliseconds = 30000;
|
||||
private static readonly int HardTimeoutInMilliseconds = 60000;
|
||||
private static readonly int SleepTimeInMilliseconds = 200;
|
||||
|
||||
[TestMethod]
|
||||
|
Loading…
Reference in New Issue
Block a user